Re: Couple of questions
Posted by
Martin on
Nov 17, 2010; 11:53am
URL: https://forum.jogamp.org/Couple-of-questions-tp1889246p1916778.html
When designing Jzy3d [0], I have also relied on the "repaint-on-demand" model as you wish to do for your project.
As mentionned in an earlier post [1], when porting to JOGL 2, all calls to GLAutoDrawable.reshape() (that should be performed when you either hide/show your window, resize it, or uncover it with another window) are locked somewhere, and mysteriously unlocked by a mouse click.
I don't really know if it is a synchronization issue in Jzy3d, but it did not happen with Jogl1.1.1-rc3. Since I haven't found working demos not using the Animator, I have added an Animator for the AWT canvas. Since I still encounter bugs with Swing canvas, I can't say that much about it.
Martin
[0]
http://code.google.com/p/jzy3d[1]
http://jogamp.762907.n3.nabble.com/Port-to-JOGL2-questions-td1845722.html, see point (5)