|
-
Feb 21st, 2002, 04:35 AM
#1
Thread Starter
Lively Member
3D Rotation
I have used the idea that the end of a vector is a point on a sphere and the other end is the origin of the XYZ Axis of roation. I want to move the X-Axis DegX and the Y-Axis DegY and the Z-Axis DegZ.
How do I do the rotation calculation. I just can't get the new values of XYZ.
PS: Converting from 3D to 2D, I already have working, for plotting the vector, but the new XYZ coordinates of the Vector????????
-
Feb 21st, 2002, 11:07 AM
#2
Frenzied Member
as far as I understand you you just have to go like
sin(degx) to get the y component to add
and sin(degy) to get the x component to add
than you would have to do it for all 3 dimensions.
(every dimension can be seen as a 2 dimensional vector for itself)
I hope I made some sense
Sanity is a full time job
Puh das war harter Stoff!
-
Feb 21st, 2002, 02:35 PM
#3
Look up spherical coordinates, and conversion from spherical to rectangular coordinates. This should be what you are looking for(though a 3d vector can be described with only 2 angles, and a radius).
Z.
-
Feb 25th, 2002, 05:24 AM
#4
Thread Starter
Lively Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|