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 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?
PS: I'm not using osgViewer::Viewer directly, I'm using osgUtil::
SceneView to render my scene and developing on VC 2003.net.
3x.
2008-05-30
Leeten
<problem.JPG>_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org