Login  Register

Re: synchronization issues

Posted by gouessej on May 09, 2013; 4:59pm
URL: https://forum.jogamp.org/synchronization-issues-tp4029115p4029134.html

ac wrote
But if I manually call canvas.display() from the drawing loop of the app, the playback is very choppy: http://pastebin.com/HpsgKQfn
You can use the FrameHandler framework of Ardor3D as an example if you really want to call canvas.display() directly without using any animator, look at the sub-project "ardor3d-jogl", especially the classes JoglNewtWindow, JoglCanvasRenderer and maybe JoglRenderer. You'll notice it contains some weird code to support some extremely crappy drivers (Intel, under Windows).
Julien Gouesse | Personal blog | Website