Use an LOD node. Add child Group nodes and attach a different StateSet to each. Then attach your model as a child to each Group.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466



Rabbi Robinson wrote:
Hi,

What is the best approach to change stateset based on the distance between the object and the camera?

Thank you!

Cheers,
Rabbi

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





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


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

Reply via email to