POV-Ray : Newsgroups : povray.text.tutorials : Rotate around central axis : Re: Rotate around central axis Server Time
20 Apr 2024 12:37:00 EDT (-0400)
  Re: Rotate around central axis  
From: Mick Hazelgrove
Date: 19 Dec 2000 14:17:50
Message: <3a3fb45e@news.povray.org>
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3a3f2399@news.povray.org...
> Philippe-H Cadet <del### [at] videotronca> wrote:
> : Hi. I have tried for months to find a way to rotate an object around it
> : central axis. How can I do that?
>
>   Easy:
>
> translate -ObjectCenter
> rotate whatever
> translate ObjectCenter
>

Or if you are simple minded like me

create or translate the object at <0,0,0>
rotate it
translate it wherever you need it to go.

Mick


Post a reply to this message

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