No, it will be (1,0,0) if the X axis is forwards, (0,1,0) if the Y axis
is forwards.
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of Sanat
Talmaki
Sent: 01 July 2010 13:46
To: osg-users@lists.openscenegra
I have bought some models of motor vehicles and found that some have the
X axis as "forwards" and some the Y axis, which can cause confusion when
you are tryiong to orient and move a model.
If you load up a model on its own in osgviewer you will see the rear of
the model if the Y axis is forwards,
osg::Vec3 Vector, RotatedVector;
Osg::Quat Q;
RotatedVector = Q*Vector;
-Original Message-
From: osg-users-boun...@lists.openscenegraph.org
[mailto:osg-users-boun...@lists.openscenegraph.org] On Behalf Of John
Galt
Sent: 29 June 2010 16:01
To: osg-users@lists.openscenegraph.org
Subject:
3 matches
Mail list logo