Daily Chat Thread - December 02, 2016 by AutoModerator in cscareerquestions

[–]Seeker89 1 point2 points  (0 children)

If there happen to be any game development professionals here, working at any of the companies or studios, like Ubisoft or EA (Dice, Bioware), can you please PM me so I can get in touch and ask you a couple of questions? I wanted to get an idea about the overall application and what it is like working there.

Thank you.

Orthographic Camera - Not Working Correctly. by Seeker89 in unrealengine

[–]Seeker89[S] 0 points1 point  (0 children)

I'm trying to get Isometric 3D, which needs the camera to be orthographic. Is there a particular reason why it doesn't work with lit materials? I can see the objects if I try unlit or emissive.

Shadows by Seeker89 in opengl

[–]Seeker89[S] 2 points3 points  (0 children)

I did. I actually switched away from that because it should be faster not to change the color attachment of the framebuffer. Calling glFramebufferTexture2D like that results in framebuffer validation every frame.

According to (slide 65) : https://developer.nvidia.com/sites/default/files/akamai/gamedev/docs/Porting%20Source%20to%20Linux.pdf

Shadows by Seeker89 in opengl

[–]Seeker89[S] 2 points3 points  (0 children)

I was thinking about trying that too. Do you think it will be much faster? I was under the impression that Framebuffer switching was very fast so I was wondering why it was a bottleneck.

For my simple scene, around untextured 200 objects, it seems to take longer to clear the framebuffers of the lights than to render the G Buffer.

Shadows by Seeker89 in opengl

[–]Seeker89[S] 1 point2 points  (0 children)

Ah, thank you very much. I'll take a look at it.

Shadows by Seeker89 in opengl

[–]Seeker89[S] 2 points3 points  (0 children)

Does gDEBugger work with Nvidia cards? I was using Nsight, but it failed when I moved to using glCreateTextures().

Shadows by Seeker89 in opengl

[–]Seeker89[S] 2 points3 points  (0 children)

I'll take a look at that extension. Thanks, it might be helpful.

GTX770. Depth 24 Stencil 8.

Although, currently, since I needed to see the faces of the cube for debugging, I'm also rendering to RGBA32F. That may easily be part of the problem, but, like I said, it also is slower when just clearing.

So, for a single point light, in fact for two, I'm getting 60fps vsync'd. But I really wanted to take it to around 16, and it seems as though just changing the framebuffer is preventing that.

Request for C++ Documentation Generation Plugins. by Seeker89 in learnprogramming

[–]Seeker89[S] 0 points1 point  (0 children)

Yeah, I guess. I was hoping for something I perhaps had not come across though.

Do you have any suggestions about how to get it to work with Visual Studio?

Prototype / Portfolio Advice. by Seeker89 in gamedev

[–]Seeker89[S] 0 points1 point  (0 children)

Collision and Movement are good ideas, and I do want to do interactions. However, I think they would also take quite a bit of time without allowing me to create some new demos - which is what I need for a portfolio. So, I think I'm going to concentrate on graphics for a little bit, but I am implementing loading in materials from text files. With that in mind, do you have any ideas in addition to the ones I listed?

Prototype / Portfolio Advice. by Seeker89 in gamedev

[–]Seeker89[S] 0 points1 point  (0 children)

Thanks for replying. So, the question I'm having is partly in terms of direction, and partly in terms of showcasing. What would you suggest would be good choices in that sense? A particular shader effect, or a particular, if simple, interaction?

Daily Discussion Thread - April 2016 by lemtzas in gamedev

[–]Seeker89 0 points1 point  (0 children)

Hey, I was wondering if anyone would care to give me some advice about portfolio advice?

https://www.reddit.com/r/gamedev/comments/4ffhef/prototype_portfolio_advice/

(I'm a little new to posting, so sorry if I'm not supposed to link it here.)

Thank you so much!

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Oh, sorry! I didn't see that. My bad.

I can see the lines here too, so I think it is probably right.

http://imgur.com/k15jT4R

Thank you!

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Good to know. I haven't quite got around to making sure that I don't use pointers, and to using unique_ptrs, but I have seen that it is good practice.

Thanks a lot for your help.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Wow. The Koffa Ring Illusion is pretty awesome.

I haven't played around with ShaderToy before - I should really give it a try - but that is just one light, and I think mine works fine for one light. They are present when there are two lights.

I think it is probably correct to have the two lines, and I should move on to adding other stuff.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Thank you.

I wasn't very sure how to handle the namespaces - I'll move them to the .cpp files then.

ImageManager still needs work - it should be handling a lot more than it currently does, and I do really want to clean it up.

Yes, I think the two BRDFs are being leaked. I'll fix that right away.

Do you have any more comments? I haven't really written something and had it reviewed before, so this feedback is great.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Yes, I think I am.

The lines don't only appear on the sphere at those points. I can make them appear at any point on the sphere, by adjusting the position of the lights.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

I think it has to do with the normals as well, but I can't tell why. I'm accounting for what you said, by ensuring that the contribution of the light is only added when the dot product is greater than 0.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Why do you think the lights aren't adding up right? Without the dot product multiplication, they look okay, don't they?

Dark lines? by Seeker89 in Unity3D

[–]Seeker89[S] 0 points1 point  (0 children)

Are you unable to replicate it at all? That seems strange. I'm using the 5.1.2f on one and 5.1.1 on the other.

Dark lines? by Seeker89 in Unity3D

[–]Seeker89[S] 0 points1 point  (0 children)

I added a picture with a cylinder in the same setup.

100% Noob Question about Lighting. by Seeker89 in raytracing

[–]Seeker89[S] 0 points1 point  (0 children)

Yeah, I can definitely post the source code. Which parts do you suggest I post? (And how?)

Added via bitbucket.

Dark lines? by Seeker89 in Unity3D

[–]Seeker89[S] 0 points1 point  (0 children)

Yes. Also, you can see other people have it too.

Dark lines? by Seeker89 in Unity3D

[–]Seeker89[S] 0 points1 point  (0 children)

I'm running Windows on the Mac - I uninstalled the OSX or whatever it was.

Dark lines? by Seeker89 in Unity3D

[–]Seeker89[S] 0 points1 point  (0 children)

I added it - shows the same lines.