Hi, Mukund
I think in your case problem might be that you draw your sphere without
backface culling and only front faces are set to transparent on material. Try
to enable backface culling or set alpha on material to FRONT_AND_BACK.
Cheers, Sergey.
22.04.2011, 23:49, Mukund Keshav
Hi Sergey,
Thanks a lot! that helped.
Thanks,
Mukund
--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=38894#38894
___
osg-users mailing list
osg-users@lists.openscenegraph.org
Hi Everyone,
i am trying blending in OSG and i tried this code:
Code:
osg::Geode* wireSphere = new osg::Geode();
osg::PolygonMode* polygonMode = new osg::PolygonMode();
osg::ref_ptrosg::ShapeDrawable sphere = new osg::ShapeDrawable(new
osg::Sphere(osg::Vec3(0,0,0), 3));
3 matches
Mail list logo