I know the code:

vec3 worldPos = gl_ModelViewMatrix * gl_Vertex; 

is worng, if i rotate the view so does this position. i need the world position 
and not the modelview position.

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





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

Reply via email to