Re: [osg-users] anti-aliasing

2006-10-07 Thread Stephan Huber
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

[osg-users] anti-aliasing

2006-10-07 Thread xiaoshuxing
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:

[osg-users] Anti-aliasing

2006-10-06 Thread Alan Harris
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 )

Re: [osg-users] Anti aliasing

2006-09-30 Thread Ivan Bolčina
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

Re: [osg-users] Anti aliasing

2006-09-22 Thread Stephan Huber
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

RE: [osg-users] Anti aliasing

2006-09-22 Thread Holtz, Corbin L
.  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

[osg-users] Anti aliasing

2006-09-22 Thread Ivan Bolčina
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