Re: [osg-users] How to scale rotations ?

2008-07-28 Thread J.P. Delport
Hi, I normally like to think about the heading, attitude and bank as just rotations about certain axes. In osg you can make a quat using e.g.: // angles in radians, yaw, pitch, roll double y,p,r; osg::Quat ori = osg::Quat(r, osg::Vec3(1,0,0), p, osg::Vec3(0,1,0),

[osg-users] How to scale rotations ?

2008-07-25 Thread Janusz
Dear all: Appreciate any answer on the topic: I am reading an orientation / rotation matrix info from a sensor, then visualizing the rotation of an object on screen with OSG. Given the matrix or the resulting quaternion I need to be able to scale the rotations independently, i.e.