If you are referring to things like GL_POINT_SMOOTH etc,, you can simply
enable these using StateSet::setMode() like you would any other OpenGL
feature.
 
However, you should note that GL_POLYGON_SMOOTH was never really a decent
solution in OpenGL to begin with. OpenGL now provides a much better
solution, multisample or full scene antialiasing. As Robert mentioned, you
can set this in the Traits class, or, as Guillaume mentioned, some drivers
allow you to enable this globally in the device driver control panel.
   -Paul
 


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Yi Wang
Sent: Wednesday, October 24, 2007 9:08 PM
To: [email protected]
Subject: [osg-users] Is antialising supported by OSG?


Is antialising or point/line/polygon smoothing supported in OSG?
I did not find any implementation for ANTIALIS StateAttribute type in the
code. Can anyone tell me know how to do it? Call gl functions before the
draw traversal in the main loop? Thanks.
 
yi

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to