|
|
"Peter Popov" wrote:
> Can anyone (John? Please :) ) show me how to find a matrix that
> changes from one coordinate space (A0, Ax, Ay, Az) to another (A0',
> Ax', Ay', Az')? I found some info on the Net but I have problems
> finding the signs of the angles involved and it will probably be
> slower than some things I recall seeing here.
Do you need access the matrix itself or do you just need a transformation
that works?
If the latter, and if you use MegaPov, you can use:
transform {Coordinate_space1_matrix inverse}
transform {Coordinate_space2_matrix}
This is untested code, but I think it was something like that.
Rune
--
\ Include files, tutorials, 3D images, raytracing jokes,
/ The POV Desktop Theme, and The POV-Ray Logo Contest can
\ all be found at http://rsj.mobilixnet.dk (updated May 10)
/ Also visit http://www.povrayusers.org
Post a reply to this message
|
|