Hi, when i'm drawing a transparent pyramid it is ok; but while i rotating via transformation matrix this pyramid outside this updating makes distortions in the pyramid just like the triangle primitives have patterns. I tried other blending modes else than GL_BLEND and mede stateattr protected etc. but didnt work. How i can overcome this? The little code that i wrote:
Code: pyramidGeometry->getOrCreateStateSet()->setMode(GL_BLEND, osg::StateAttribute::ON); pyramidGeometry->getOrCreateStateSet()->setRenderingHint(osg::StateSet::TRANSPARENT_BIN); Map3DFOVObject->addDrawable(pyramidGeometry.release()); FOVTransformMatrix->addChild(Map3DFOVObject.get()); [/code] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=44382#44382 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org