Re: disable depth
Posted by
Demoscene Passivist on
Mar 04, 2012; 1:17pm
URL: https://forum.jogamp.org/disable-depth-tp3797369p3798035.html
I think with "depth perception" u mean the "perspective projection" and not the depth test I guess ...
So to setup ur matrices correct for "non perspective rendering" u do stg like this:
inGL.glMatrixMode(GL_PROJECTION);
inGL.glLoadIdentity();
inGL.glOrtho(0, XRESf, YRESf, 0, -1, 1);
inGL.glMatrixMode(GL_MODELVIEW);
inGL.glLoadIdentity();
The applied projection is called "orthographic" and completely eliminates any perspective effect ... guess thats was u are longing for