Hi, gl_ModelViewProjectionMatrix and ftransform() are deprecated since GLSL Version 120 ( but still working ), in Version 150 not working at all. Is there a straight forward way to extract the current ModelView and Projection Matrices ( e.g. from StateSet ? ), without having to pass around the Camera through the SG, or extract osg::Transform World Matrix ?
Moreover, gl_Vertex is depreciated as well, so how to create a VBO ? Is it possible to use only VertexAttribArray, without VertexArray, NormalArray, etc. ? Thank you! Cheers, ParticlePeter ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=32198#32198 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

