Hi Aurelien, Writing custom cull visitor is very unusual, and I think your request for using different cull visitors into two different views might be a first :-)
To implement I think the only way right now would be to get the osgView::Renderer from the osg::Camera, then from this get the osgUtil::SceneView, and then assign your own CullVisitor to the SceneView. Robert. On 24 October 2012 11:02, Aurelien Albert <[email protected]> wrote: > Hi, > > In my application, I use a custom CullVisitor, this way : > > osgUtil::CullVisitor::prototype() = new MyCustomCullVisitor(); > > But this affects all viewers in my application. > > Is there anyway to explicitly set a custom CullVisitor on a specific > osgViewer::Viewer ? > > I would like to use twos different CullVisitor for two different viewers. > > Thank you! > > Cheers, > Aurelien > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=50750#50750 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

