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
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
-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
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
4 matches
Mail list logo