[osg-users] How to Convert Lookat to Projection and View Matrices

Erik Hensens ehensens at hunter.com
Tue Sep 22 06:24:00 PDT 2015


Hi everyone!

How can I compute the view matrix and the projection matrix from a set of lookat parameters (eye, center, and up)?

I'm asking because I need to compute the MVPW for a given lookat before the camera is actually at that lookat.

I'm totally stumped and any help would be greatly appreciated!

Thank you!

Cheers,
Erik[/list]

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








More information about the osg-users mailing list