|
 |
In article <3f52a123@news.povray.org>,
> you will have to undo these rotations in *reverse* order, i.e.
>
> rotate -Up.z*z
> rotate -Up.y*y
> rotate -Up.x*x
Or "transform {rotate Up inverse}". Besides being shorter, it says
exactly what it's doing and is far less error-prone, especially when
you're editing the code.
Even better would be to declare the transformation. That way, you only
need to edit one bit of code to change it.
--
Christopher James Huff <cja### [at] earthlink net>
http://home.earthlink.net/~cjameshuff/
POV-Ray TAG: chr### [at] tag povray org
http://tag.povray.org/
Post a reply to this message
|
 |