[osg-users] Projecting a point given a camera

Michele Bosi michele.bosi at gmail.com
Mon Apr 21 09:19:08 PDT 2008


Hello,
I need to project the mouse coordinates in world coordinates given a
Camera*, how can I implement this? I expected some "project"/"unproject"
method similar to gluProject/Unproject in the Camera class or in the Viewer
or in Matrix but couldn't find anything. Can anyone point me in the right
direction before I start cut-and-pasting the sourcecode from MESA's
gluProject()? :)

Thanks,
Michele
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080421/5b1bc7ca/attachment.htm 


More information about the osg-users mailing list