[osg-users] Realize callback in 2.x?

Robert Osfield robert.osfield at gmail.com
Thu Sep 27 06:20:48 PDT 2007


Hi Glenn,

You can pass do the equivalent of realize callback by setting the
RealizerOperation on the Viewer.  See the osgshaderterrain example.

Robert.


On 9/27/07, Glenn Waldron <gwaldron at gmail.com> wrote:
> I'm porting an app from 1.2 to 2.x, and it is not immediately obvious to me
> how to implement a callback I was setting with
> Producer::RenderSurface::addRealizeCallback. (The callback
> toggles VSYNC via the WGL_EXT_swap_control extension.) What is the preferred
> method for doing this under osgViewer? Thank you! -gw
>
> --
> Glenn Waldron : Pelican Mapping : http://pelicanmapping.com : 703-652-4791
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>



More information about the osg-users mailing list