POV-Ray : Newsgroups : povray.newusers : Rotations out the origin : Re: Rotations out the origin Server Time
29 Jul 2024 12:18:47 EDT (-0400)
  Re: Rotations out the origin  
From: Trevor G Quayle
Date: 11 Jan 2006 12:55:00
Message: <web.43c545cd1e81bb8a6c4803960@news.povray.org>
> object
> {
>   Portion
>   translate <0.0, 300.0, 0.0>
>   rotate <89.9999820139, -0.0, -0.0>
> }


Rotations are made about the origin <0,0,0> no matter where the object is
located.  So translating then rotating does not equal rotating then
translating.

you probably want:

rotate <89.9999820139, -0.0, -0.0>
translate <0.0, 300.0, 0.0>


-tgq


Post a reply to this message

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