Hi,

I'm trying to use the frame number of the FrameStamp in osg::State for a double 
buffering implementation in my custom drawImplementation() method.

However, the frameStamp in osg::State is just a pointer so when the frame 
advances, it will be increased. The problem is that in DrawThreadPerContext 
mode, osg can advance the frame before the draw has completed, so the frame 
number seen in drawImplementation() could be one frame ahead in some cases.

Any idea what to do? Do you think OSG should be changed to produce an accurate 
frame number for osg::State?

Thank you!

Cheers,
Jannik

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70086#70086





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to