[osg-users] multisampling antialiasing in OSG

Gianluca Natale gianluca.natale at adstorino.it
Mon Mar 30 03:16:45 PDT 2009

Thank you so much, I’ll try.



From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of Ümit Uzun
Sent: lunedì 30 marzo 2009 11.55
To: OpenSceneGraph Users
Subject: Re: [osg-users] multisampling antialiasing in OSG


Hi Gianluca;

I recommend you to use multisampling to implement antialiasing.
You can enable multisample while creating GraphicsContext.

    // Init the GraphicsContext Traits.
    osg::ref_ptr<osg::GraphicsContext::Traits> traits = new

    // Setup the traits parameters.
    traits->samples                       = 4; // to make anti-aliased.

HTH. Best Regards.

2009/3/30 Gianluca Natale <gianluca.natale at adstorino.it>

Hi all.
I’m using OSG 2.8, I’d like to know if it supports multisampling
and how I can enable it.



Gianluca Natale


P.S.= I tried to search for GL_MULTISAMPLE in the whole OSG source code, but
I couldn’t find it.


osg-users mailing list
osg-users at lists.openscenegraph.org

Ümit Uzun

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.0.238 / Virus Database: 270.11.31/2029 - Release Date: 03/29/09

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20090330/1256abc3/attachment-0003.htm>

More information about the osg-users mailing list