Login  Register

Regarding active rendering of JOGL

Posted by xmly on May 26, 2011; 6:54pm
URL: https://forum.jogamp.org/Regarding-active-rendering-of-JOGL-tp2989970.html

Hi,

Is it possible for JOGLto perform active rendering? I mean, do not use passive rendering through
JComponet.repaint/ Component.repaint -> GLJPanel.paint()/GLCanvas.paint-> GLEventListener.display
we prefer the model like this,
while(true) {
    do rendering
}

I am going to implement a live image displayer at about 30 fps(frame per seconds). I am investigating whether it's possible to display continuous images inside a thread other than event dispatch thread. BTW, GLCanvas will be used in our demo.

If there is a way, does it violate the rule - always update GUI inside event dispatch thread?


Thanks and Best Regards,
Xmly