POV-Ray : Newsgroups : povray.general : Determining rotation : Re: Determining rotation Server Time
30 Jul 2024 22:27:17 EDT (-0400)
  Re: Determining rotation  
From: Tail Kinker
Date: 11 May 2008 16:59:22
Message: <48275e2a@news.povray.org>
Warp wrote:

>   You asked how to rotate a vector <0, r, 0> so that it ends up
> pointing at the same direction as a vector A. That's precisely what
> the Point_At_Trans() macro does.
> 
>   (Or, more precisely, the Point_At_Trans() macro creates a transformation
> which you can use in an object or to modify a vector using vtransform).
> 
Okay, so I'm stupid.  :)  Thanks for the assist.


Post a reply to this message

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