POV-Ray : Newsgroups : povray.general : rotation : Re: rotation Server Time
1 Aug 2024 12:23:47 EDT (-0400)
  Re: rotation  
From: Chris B
Date: 25 Oct 2005 05:37:10
Message: <435dfcc6$1@news.povray.org>
"Gert Van den Eynde" <gvd### [at] hotmailcom> wrote in message 
news:435dd4cb@news.povray.org...
> Hi,
>
> I have two vectors (A and B) which can be considered to be normal vectors
> for objects ObjA and ObjB. How do I rotate object ObjB to have its normal 
> B
> aligned with the normal A of ObjA? Is this a built-in function in povray?
>
> Thanks,
> gert

#include "transforms.inc"
object {ObjB Reorient_Trans(B,A)}

Regards,
Chris B.


Post a reply to this message

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