Re: Port to JOGL2 questions
Posted by Martin on Nov 07, 2010; 1:22am
URL: https://forum.jogamp.org/Port-to-JOGL2-questions-tp1845722p1855780.html
Hi again,
A little more explanations concerning the reshape() problem: Jzy3d repaints on demand, meaning I do not use an Animator. Scene change, or window size change, trigger a canvas repaint, but no rendering occurs when the screen is static.
I tried not starting the animator of Gear demo, and then the demo display nothing. I found many demos (e.g. gleem) not using an Animator that where not able to render anything in the Canvas. Is there something wrong with the AWT implementation? Would Newt/Nativewindow help with those problems?
For the moment I can cope by adding a ComponentListener to my canvas that queries canvas.forceRepaint(); when it is resized so I'm not lost!
Let me know if you have more info on GLJPanel!
Regards,
Martin