Hi, Jason Thanks for your answer.
I use NV 8800GTS( is it weird ? ) and I have turned on all the options, but it changed nothing. And there is another clew I found. If I run the osg example osgViewer with --samples 8 my_scene_file, it seems more smooth. 2008-05-30 Leeten 发件人: Jason 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( 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 Mode of scene group with "GL_MULTISAMPLE_ARB"; 2) using osg:: DisplaySetting->insence()->setSampleNum( 4 or 8 or 16 ); 3) set the Attribute of scece root with "osg::Hint" or "osg::MultiSample"; all above occured nothing change of the jagged edges and lines. Could someone hits me a little? Your hardware has to support multisample anti-aliasing for the above code to work. What hardware are you running? (If we know what you have, we might be able to give you more specific help). Try looking in the display properties. If you've got Nvidia hardware, look in the "Manage 3D Settings" panel of Nvidia Control Panel and try changing the "Antialiasing - Setting" property. --"J"
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

