Re: [osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-30 Thread Peter Wraae Marino
Hi, I just tried the: osg::DisplaySettings::instance()-setNumMultiSamples( 4 ); and didn't get it to work either at first try. I found out that is must be called right after osg::ref_ptrosgViewer::Viewer viewer = new osgViewer::Viewer; then it worked just fine.. would have been nice with a

Re: [osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-30 Thread Robert Osfield
Hi Leeten, Full screen anti-aliasing is different the line and polygon smooth modes, for these you just do stateset-setMode(GL_LINE_SMOOTH, osg::StateAttribute::ON); etc. As for full screen anti-aliasing, the advice given so far won't help you, as it only works for osgViewer based apps that use

[osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-29 Thread Leeten
Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in my scene are jagged( shown in the attachment ), so I'm trying to find some antialiasing way. I've tried the fllowed way which seemed helped nothing. 1) set the

Re: [osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-29 Thread Jason Daly
Leeten wrote: Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in my scene are jagged(shownin the attachment), so I'm trying to find some antialiasing way. I've tried the fllowed way which seemed helped nothing.

Re: [osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-29 Thread Leeten
Daly 发送时间: 2008-05-30 10:06:44 收件人: OpenSceneGraph Users 抄送: 主题: Re: [osg-users] How can I archieve antialiasing in osg 2.4? Leeten wrote: Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in my scene are jagged

Re: [osg-users] How can I archieve antialiasing in osg 2.4?

2008-05-29 Thread Paul Martz
osgthirdpersonview turns on multisampling. Run it to see if your hardware is capable of multisampling. -Paul On May 29, 2008, at 7:05 PM, Leeten wrote: Hi, all I'm using OSG 2.4 and I can't find GL_LINE_SMOOTH or GL_POLYGON_SMOOTH something in it. The lines and edges of polygons in