Re: rotation matrices



bob@xxxxxxxxxxxxxx wrote:
i did try it.  it seems to work out.

Try again. It doesn't work out:

Assume that the two rotation have "generic" angles,
e.g. the amount of rotation is not an integer multiple
of 90 degrees or something special like that.

Let's look at a point P on the y-axis. If you first
rotate about the x-axis, then P moves to another point
P' on the yz-plane (its x-coordinate is still = 0),
Observe that P' is no longer on the y-axis, so
when you rotate about the y-axis, P' will then move
to a point P'' off the yz-plane.

If you reverse the order of rotations and first rotate
about the y-axis, the point P won't move at all (being
on the axis of rotation). When you follow up with the
rotation about the x-axis P will move to P' (= the same
point as above), but that is different from P''. Changing
the order of the two rotations thus makes a difference
for at least for the point P (it makes a difference for
most of the points actually).

Or did you mean something else?

Cheers,

Jyrki
.



Relevant Pages

  • Re: Newbie looking for info on basic graphics with Delphi.
    ... The wireframe itself is of course three-dimensional; for rendering ... \y/ over an angle phi is done by ... Even knowing *why* it can't really do anything else than rotate ... since rotation is about the model's origin, ...
    (comp.lang.pascal.delphi.misc)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)
  • Re: newbie: rotating meshes
    ... The problems I noticed, were if you for example rolled the ship, then tried ... not the rolled x axis, which says to me that the math for matrix ... concatenation doesnt rotate the values of the matrix correctly is some ... which meant the y roation rotated the models x axis whereas the z rotation ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: translation and rotation in Euclidean space
    ... In the second place a single rotation only requires a 2x2 matrix. ... do and wish to rotate and translate a scene it is helpful if you process ... a 2d rank tensor, say Lij, a vector is a 1st rank tensor say Xi and ...
    (sci.physics.relativity)
  • Re: Object rotation
    ... > need to translate back to the origin first, then rotate, then translate to ... For example rotations are ALWAYS around an axis so if you ... then moves on the new x axis after the Z rotation. ...
    (microsoft.public.win32.programmer.directx.managed)

Quantcast