xiaoshuxing schrieb:
> Anyone who can tell me how to toggle anti-aliasing?
You can enable it with your video drivers or from code via:
osg::DisplaySettings * ds = osg::DisplaySettings::instance();
ds->setNumMultiSamples(numSamples); // numsamples 2, 4 or 8
before realizing your viewer.
> Is the
Anyone who can tell me how to toggle anti-aliasing?
Is there any special function or stateAttribute to
control anti-aliasing?
___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http:
Hi
I have set up anti-aliasing in the normal way:
Producer::VisualChooser *lvc = new Producer::VisualChooser;
lvc->setSimpleConfiguration();
lvc->addExtendedAttribute( WGL_SAMPLE_BUFFERS_ARB, GL_TRUE );
lvc->addExtendedAttribute( WGL_SAMPLES_ARB, level );
m_RenderSurface->setVisualChooser( lvc )
Thanks for info. Where can i read more about those attributes?
2006/9/22, Stephan Huber <[EMAIL PROTECTED]>:
Hi,Ivan Bolčina schrieb:> Hi. I have a question.>> 1. How to enable full screen anti aliasing
You can enable it with your video drivers or from code via:osg::DisplaySettings * ds = osg::Disp
Hi,
Ivan Bolčina schrieb:
Hi. I have a question.
1. How to enable full screen anti aliasing
You can enable it with your video drivers or from code via:
osg::DisplaySettings * ds = osg::DisplaySettings::instance();
ds->setNumMultiSamples(numSamples);
before realizing your viewer.
2. Is it
. Again, hopefully someone else will add more info.
Corbin
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of Ivan Bolcina
Sent: Friday, September 22, 2006
2:31 AM
To: osg-users@openscenegraph.net
Subject: [osg-users] Anti aliasing
Hi. I have a question.
1. How to
Hi. I have a question.1. How to enable full screen anti aliasing2. Is it possible to enable anti aliasing only on some object?Thanks
___
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.op