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





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

Reply via email to