[osg-users] PositionAttitudeTransform - How do I make a rotation

2009-04-02 Thread Adrien Joly
Hi, I'm kind of newbie in 3D developpment and in openSceneGraph. I want to rotate a node using PositionAttitudeTransform::setAttitude but I don't know how to do that. I've tried to make it rotate according ti the fact that x, y and z of the Quat is the coordinate of the vector from the origin

Re: [osg-users] PositionAttitudeTransform - How do I make a rotation

2009-04-02 Thread J.P. Delport
Hi, have a look at the quaternion/Matrix member functions, e.g. makeRotate. Do not try to set the quat internal values directly. E.g. you can make a quat/Matrix from roll, pitch and yaw with three angles and 3 axes. go here: http://news.gmane.org/gmane.comp.graphics.openscenegraph.user and

Re: [osg-users] PositionAttitudeTransform - How do I make a rotation

2009-04-02 Thread Tomlinson, Gordon
-users] PositionAttitudeTransform - How do I make a rotation Hi, I'm kind of newbie in 3D developpment and in openSceneGraph. I want to rotate a node using PositionAttitudeTransform::setAttitude but I don't know how to do that. I've tried to make it rotate according ti the fact that x, y and z

Re: [osg-users] PositionAttitudeTransform - How do I make a rotation

2009-04-02 Thread Adrien Joly
Thank you for the answers. I finally found, thanks to you, how to make it work ! -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=9657#9657 ___ osg-users mailing list