The point is that if I simply use:

Code:
   osg::Material* material = new osg::Material;
   stateset->setMode(GL_LIGHTING, osg::StateAttribute::OVERRIDE | 
osg::StateAttribute::OFF);
   stateset->setAttributeAndModes(material, osg::StateAttribute::OVERRIDE | 
osg::StateAttribute::ON);




then, I get the wireframe of the same color of the surface but when I rotate 
the 3D object the wireframe disappears at a certain position.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=70554#70554



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

Reply via email to