Login  Register

Re: PushMatrix/PopMatrix

Posted by Wade Walker on Apr 29, 2011; 1:09pm
URL: https://forum.jogamp.org/PushMatrix-PopMatrix-tp2874026p2879107.html

No reason to feel stupid -- I've been doing this a long time, and still it seems like every 3D program I ever write comes up with a black screen the first time I run it  And it's usually the same few issues:

- My camera is (behind/facing away from/inside of/too far from/too near) the scene
- The lights are off
- My vertices are clockwise instead of counter-clockwise
- I'm looking at the back side of single-sided polys
- My matrices/transforms are not set up right

I think 3D programs are just inherently hard to debug, since the graphics hardware is a black box that you can't see inside of.