Well, that disables the depth test, but disabling the depth test versus setting the test to ALWAYS should be the same net effect as far as this particular test is concerned.
   -Paul

David Glenn wrote:
O.K. Paul!

Just for clarification:
When you ask "setting the depth test to GL_ALWAYS on the lines"
I assume that you want me to go line stateset and do

Code:

stateset->setMode(GL_DEPTH_TEST, osg::StateAttribute::OFF);




to all the lines in my grid?

...
D Glenn

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

Reply via email to