|
 |
In article <web.3ede25019f43bda8499ab770@news.povray.org>,
"neb" <neb### [at] qism org> wrote:
> Ok, the real probelm: You take an object and you rotate it <a,b,c>. Then
> you rotate the entire thing by <x,y,z>. I need this to be expressed in a
> single rotate, but I know its not <a+x,b+y,c+z>. What is it then?
Why do you need a single rotation? If you just need a single value to
pass around, do something like this:
#declare Rotations = transform {rotate <a,b,c> rotate <x,y,z>}
object {MyObject
transform Rotations
}
If you're after a way to transform vectors, make sure you include
transforms.inc and use "vtransform(Point, Rotations)".
--
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
|
 |