POV-Ray : Newsgroups : povray.general : Determining rotation : Re: Determining rotation Server Time
30 Jul 2024 22:19:54 EDT (-0400)
  Re: Determining rotation  
From: Warp
Date: 11 May 2008 06:38:32
Message: <4826cca8@news.povray.org>
Tail Kinker <the### [at] gmailcom> wrote:
> Warp wrote:

> >   No need to do the math when others have already done it for you:
> > 
> > http://povray.org/documentation/view/3.6.1/488/

> Perhaps I am blind, or stupid, but I cannot see how any of these 
> functions would assist in this problem. Could you please clarify?

  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).

-- 
                                                          - Warp


Post a reply to this message

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