|
![](/i/fill.gif) |
In article <39be54bb@news.povray.org>, "Rick Gutleber" <ric### [at] his com>
wrote:
>I've got an arbitary unit vector that reflects the orientation of the
>branch (from VNormalize( ) in POV, or the good old Pythagorean
>distance function in my C++ code), how do I turn that into an
>equivalent rotate < x, y, z > statement so the needles end up on the
>branch? I'm sure it's just the right combination of atan( ) calls,
>but the details elude my addled brain.
Honestly, it sounds like you're more advanced than I am so this probably
won't help, but I have a page that talks about using trig functions in
POV at http://www.hoboes.com/html/NetLife/POV/Trig/
Jerry
Post a reply to this message
|
![](/i/fill.gif) |