|
![](/i/fill.gif) |
So you want a rotation that is for objects what vaxis_rotate() is for
vectors?
Just do a vaxis_rotate of <1,0,0>, one of <0,1,0> and one of <0,0,1> and use
the resulting vectors for the first 9 values in the matrix. The last 3
values are 0, 0, 0.
However, I'm not sure if that's what you asked for, or if you need the
actual formulae (which I don't know).
Rune
--
3D images and anims, include files, tutorials and more:
Rune's World: http://rsj.mobilixnet.dk (updated June 26)
POV-Ray Users: http://rsj.mobilixnet.dk/povrayusers/
POV-Ray Webring: http://webring.povray.co.uk
Post a reply to this message
|
![](/i/fill.gif) |