Hi Martin,
You can't both set the view matrix by hand and have a camera
manipulator running, you have to do one or other, otherwise the camera
manipulator will just overwrite your view matrix settings.
Robert.
On Fri, May 1, 2009 at 11:10 PM, Martin Beckett m...@mgbeckett.com wrote:
I am
So to switch to a view I should just derive from TrackBallManipulator and add
functions to modify the rotations matrix and then call home()?
I tried this but it needed changes to MatrixManipulator I posted in submission
- to allow calculatehomeposition to change _up.
--
Read
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:
...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Martin
Beckett
Sent: Friday, May 01, 2009 4:10 PM
To: osg-users@lists.openscenegraph.org
Subject: [osg-users] Set view direction
I am trying to switch the current view to show th emodel from top/front/side
4 matches
Mail list logo