[osg-users] Antialising
Felix Goldberg
felix.goldberg at gmail.com
Wed Aug 12 06:36:31 PDT 2015
Hi,
I am using a MATLAB port of OSG (can't yet post urls so google "matlab 3d rendering", sorry) and am getting aliased images. So I'm looking for a way to modify the code to perform anti-aliasing and I thought I'd done the trick by adding the line
Code:
traits->samples=16;
right after
Code:
osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits;
inside the function EngineOSG::initCanvas. However, when I compile and run I get exactly the same aliased images. What am I doing wrong or neglecting to do?
Any help will be very much appreciated.
...
Thank you!
Cheers,
Felix
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64741#64741
More information about the osg-users
mailing list