Hm. This seems to work fine for me. I've never encountered any problems
setting the view direction. Do you have a camera manipulator set that is
overriding your matrix?

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
+1 303 859 9466

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Martin
Beckett
Sent: Friday, May 01, 2009 4:10 PM
To: [email protected]
Subject: [osg-users] Set view direction

I am trying to switch the current view to show th emodel from top/front/side
etc.
I'm trying both getCamer()->setViewMatrix() and trackballmanipulator
setRotation() but I can't seem to work out the correct angle and X/Y/Z_AXIS

Martin

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





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

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

Reply via email to