Hey, thanks for the fast response... What you're suggesting I actually tried. The View matrix was intact, but the transformations were not. So far as I can tell, my understanding matches what you're telling me, but just to be sure, I've assumed the following:
1. The CullVisitor function, getModelViewMatrix() returns the accumulated matrix. 2. The CullVisitor callback must be added to the parent Transform node (PositionAttitudeTransform, MatrixTransform, etc.). 3. The CullVisitor can directly set the Uniform (whose pointer was passed in the CullVisitor constructor) with the return value of getModelViewMatrix(). (The Uniform lives in the stateset of the child node which has the shader program loaded, of course). Thanks, Joel ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=43127#43127 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

