Also, I think I set up the perspective wrong. If I draw the shapes further back in z, they do not appear to be any smaller. What is the best way to set up the perspective for glcontrol?
i was going to say, also if you see suddenly parts of it 'disappear' as its rotating or moving, the polygons could be going beyond the clipping plane, meaning they wont get rendered (this is set up when you make the ortho or perspective projections)
Comments
Re: New to OpenGL, My 3D shapes have invisible sides when ...
I assume that the depth buffer is not enabled.
You'll need something like this:
and make sure you set the depthbuffer bits on the GraphicsMode.
If you can't fix it please post your code so we can help you :-)
Re: New to OpenGL, My 3D shapes have invisible sides when ...
Thank you very much, that works. I really appreciate the help.
Re: New to OpenGL, My 3D shapes have invisible sides when ...
Also, I think I set up the perspective wrong. If I draw the shapes further back in z, they do not appear to be any smaller. What is the best way to set up the perspective for glcontrol?
Re: New to OpenGL, My 3D shapes have invisible sides when ...
i was going to say, also if you see suddenly parts of it 'disappear' as its rotating or moving, the polygons could be going beyond the clipping plane, meaning they wont get rendered (this is set up when you make the ortho or perspective projections)