OpenGL merges the concepts of the model and view transformations into a
single ModelView matrix.  In OSG we're able to split those roles, thus
OSG offers the osg_ViewMatrix and osg_ViewMatrixInverse; with
gl_ModelViewMatrix you could isolate just the model xform.

Cheers
-- mew


Mike Weiblen -- Zebra Imaging -- Austin Texas USA --
http://www.zebraimaging.com/


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:osg-users-
> [EMAIL PROTECTED] On Behalf Of Wiedemann, Rudolf, OPS3
> Sent: Wednesday, July 25, 2007 12:28 PM
> To: [email protected]
> Subject: [osg-users] gl_ModelMatrix
> 
> Hi,
> 
> is there any possibility to get or calculate something like
> "gl_ModelMatrix" in a GLSL vertex shader?
> 
> Thanks in advance!
> Rudi
> _______________________________________________
> osg-users mailing list
> [email protected]
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to