Login  Register

Re: Empty Begin/End drawing things!!!

Posted by NickJPGeorge on Oct 15, 2010; 2:38pm
URL: https://forum.jogamp.org/Empty-Begin-End-drawing-things-tp1667610p1708352.html

The only solution I've found to this problem is to litter my code with blocks like

                gl.glPushMatrix();
                gl.glScalef( .001f , .001f, .001f);
                gl.glBegin( GL2.GL_QUADS );
                gl.glEnd();
                gl.glPopMatrix();

anytime I draw anything, making it draw these phantom objects really small somewhere I can't see them.  Obviously this is a very unsatisfactory solution.