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 <[EMAIL PROTECTED]> 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@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to