Login  Register

disable depth

Posted by stuntman on Mar 04, 2012; 4:30am
URL: https://forum.jogamp.org/disable-depth-tp3797369.html

Hi all!

I just got started with java and opengl. I wanted to create a simple rotating cube, which wasn't too hard using     glut.glutWireCube(0.15f);
However, I would like to disable the depth perception, such that the edges in the back are equally long as the ones in the front of the cube.
There is probably an easy trick to it but I can't figure it out. I hope somebody can help me out!

Thanks in advance.