POV-Ray : Newsgroups : povray.newusers : rotate to given point : Re: rotate to given point Server Time
30 Jul 2024 02:26:38 EDT (-0400)
  Re: rotate to given point  
From: Eero Ahonen
Date: 20 Nov 2004 04:13:53
Message: <419f0ad1$1@news.povray.org>
Rafal 'Raf256' Maj wrote:
> Hi,
> I have a point placed on sphere {0 100} - in <0,0,-100>
> 
> How to rotate it by:  rotate <RX,RY,0>  so that point will be placed in 
> coordinates <X,Y,Z> ?  Point <X,Y,Z> is also on sphere {0 100}
> 
> 

One easy possibility is to create the object around origo (<0,0,0>), 
then rotate (and possibly scale) it, then translate it to the final 
destination.

-- 
-Aero


Post a reply to this message

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