POV-Ray : Newsgroups : povray.programming : 3D Trig Help for Bonehead needed : Re: 3D Trig Help for Bonehead needed Server Time
28 Jul 2024 14:22:58 EDT (-0400)
  Re: 3D Trig Help for Bonehead needed  
From: Jerry
Date: 13 Sep 2000 11:38:34
Message: <jerry-8875AC.08383513092000@news.povray.org>
In article <39be54bb@news.povray.org>, "Rick Gutleber" <ric### [at] hiscom> 
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.