Login  Register

Re: glClear issue

Posted by caderape on May 02, 2020; 7:59pm
URL: https://forum.jogamp.org/glClear-issue-tp4040576p4040583.html

GLG2D, this totally can do it for the 2D draw, but for the 3D ?

I can't store each draw made by each display, and repaint it everytime.

Or may be store the GL2 object in a global variable at the init() then get that objet in an external loop for draw.

the question is, can we draw outside of the display() method ?