Yep.

On 11/1/06, Jean-Sebastien Guay <[EMAIL PROTECTED]> wrote:
Hello Don,

> In good "Distilled" fashion, I'll support Pauls explanation, but would like
> to provde a couple more pieces of information that might help expound a
> little.

Thanks for the detailed explanation. It's very helpful.

> The View matrix, however, [...] moves the world to the eye point.
>
> The Model matrix is what is used to move objects from Model coordinate
> space to world coordinate space.

So if I want to emulate OpenGL's view parameters in a raytracer (which is my
goal here), using the current camera I can get the parameters needed to create
a View matrix, and the Model matrix would just be a given node's "LocalToWorld"
matrix (as given by osg::computeLocalToWorld() with the node's path in a
NodeVisitor, for example)? Does that sound right?

Thanks for your help,

J-S
--
______________________________________________________
Jean-Sebastien Guay     [EMAIL PROTECTED]
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to