Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Graphics > OpenGL 3D API > rotate around l...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4799 of 5017
Post > Topic >>

rotate around local axes

by "Gernot Frisch" <me@[EMAIL PROTECTED] > Jun 17, 2008 at 01:40 PM

Hi,

I have 3 rotation angles for a global orientation of a ****p. From that I
can 
create a transformation matrix.

Now I want to have a function to rotate that _rotated_ ****p around it's 
local axes.

Something like:
mat1 = Mak*****Matrix(rx,ry,rz)
mat2 = Mak*****Matrix(deltax, deltay, deltaz)
mat = MultMatrix(mat, mat2) // or the other way round!?
GetEulerAngles(mat, &rx, &ry, &rz)

I don't know if that is right. Can someone shed light, please?



-- 
------------------------------------
Gernot Frisch
http://www.glbasic.com
 




 3 Posts in Topic:
rotate around local axes
"Gernot Frisch"  2008-06-17 13:40:56 
Re: rotate around local axes
"Gernot Frisch"  2008-06-17 16:03:36 
Re: rotate around local axes
Paul Geisler <paul.gei  2008-06-27 01:58:38 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Nov 21 4:40:22 CST 2008.