Hi,

Sorry, I wasn't able to retrieve this old piec of code...

The state can be obtained from the viewer's graphics context, and the 
RenderInfo can be created using the state and the viewer.

Before running the visitor, you should make sure that the viewer's OpenGL 
context is current (makeCurrent).


Cheers,
Aurelien

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





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to