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 <[email protected]>

>  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
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>


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

Reply via email to