Hi, I am trying to enable multisampling in an embedded viewer, with no luck so far. It works great on stand alone Viewer though.
Here is what I do: Create an OpenGL buffer with multisampling enabled. Then, this: osg::DisplaySettings * ds = osg::DisplaySettings::instance(); ds->setNumMultiSamples(4); _osgViewData->window = _osgViewData->viewer->setUpViewerAsEmbeddedInWindow(100,100,bounds.width, bounds.height); But this doesn't make it. I also tried this: ref_ptr< DisplaySettings > displaySettings = new DisplaySettings; displaySettings->setNumMultiSamples(4); _osgViewData->viewer->setDisplaySettings( displaySettings.get() ); _osgViewData->window = _osgViewData->viewer->setUpViewerAsEmbeddedInWindow(100,100,bounds.width, bounds.height); Same result. Do you have any recommendation on what to check to make multisampling anti-aliasing work? Thank you, Raphael
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

