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

2007-09-27 Thread Glenn Waldron
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?

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

2007-09-27 Thread Robert Osfield
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