[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.

Gianluca

 

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
osg::GraphicsContext::Traits;

    // 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
antialiasing,
and how I can enable it.

 

Thanks,

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
http://lists.openscenegraph.org/listinfo.cgi/osg-users-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
16:56:00

-------------- 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