Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2010-03-06 Thread Rohit Vijay Bapat
Hi, Can you explain in detail a bit what you want to run on windows ? ... Thank you! Cheers, Rohit -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=25295#25295 ___ osg-users mailing list

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-31 Thread Ümit Uzun
Hi Paul, Thanks for your reply. I need only one explanation about that; psudo code Matrix model= identity; Matrix matrix1= identity; matrix1-rotate( 10 degree on LOCAL X axis ) matrix1-rotate( 10 degree on LOCAL Y axis ) matrix1-rotate( -10 degree

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-31 Thread Simon Hammett
Not really following what you are after, but one point: 2009/12/31 Ümit Uzun umituzu...@gmail.com Hi Paul, Thanks for your reply. I need only one explanation about that; psudo code Matrix matrix1= identity; matrix1-rotate( 10 degree on

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-31 Thread Ümit Uzun
Hi Simon, Thanks for your advices, but I need to apply unordered rotation. And I don't want to think about rotation apply order. So I can't use direct invert function, rotation should be incremental order, not direct neutralization. Thanks for your advices again. Regards. Ümit Uzun 2009/12/31

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-31 Thread Paul Martz
Ümit Uzun wrote: As you said I hold different rotation Matrix for each Axis, No, what I said was to keep each axis rotation angle in a separate variable, then construct the matrices from the two values. float angleX( 0.f ), angleY( 0.f ); angleX += 10.f; mt-setMatrix( osg::Matrix::rotate(

[osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-30 Thread Ümit Uzun
Hi All, I have a problem about rotating one MatrixTransform node with 2 different Matrix which one of responsible for rotation on X by osg::X_AXIS and one of responsible for rotatin by osg::Y_AXIS. I have done some rotation to MT node but after this operations I am waiting to get Identity matrix

Re: [osg-users] Rotation 2 DOF node with 2 Different Matrix.

2009-12-30 Thread Paul Martz
I would store the x and y rotations as separate variables. Use them to compute a single Matrix when you need to update. Test for identity by checking to see if your x and y variables fall within an epsilon range of zero. Paul Martz Skew Matrix Software LLC _http://www.skew-matrix.com_