I think it could also be that the display driver overrides your settings. Try to check the display driver settings for anti-aliasing/multi sampling.
Guy. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Thursday, May 22, 2008 12:32 PM To: OpenSceneGraph Users Subject: Re: [osg-users] can't change the multisamples Hi Martin, You should set the multi-sample hint before you create the viewer, it only uses these values when the viewer creates its graphics contexts via the osgViewer::View::setUpView*() methods. The DisplaySettings multi sample values aren't used after this initialization. Also if you are creating you own GraphicsWindow's manually (i.e. like osgwindow/osgcamera) then you'll need to set the samples directly in the Traits structure. Robert. On Thu, May 22, 2008 at 11:16 AM, "Martin Großer" <[EMAIL PROTECTED]> wrote: > Hello, > > I would like set up the multisamples for my viewer. > First I create a object DisplaySettings and after this I call the function > setNumMultiSamples. > > osg::DisplaySettings* ds = new osg::DisplaySettings(); > ds->setNumMultiSamples( 8 ); > > But nothing was happened. The Viewer still use the global settings. How can I > change this? > > Thanks, Martin > -- > GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! > Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] > _______________________________________________ > 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 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org