POV-Ray : Newsgroups : povray.animations : center of rotation : Re: center of rotation Server Time
25 Apr 2024 15:19:02 EDT (-0400)
  Re: center of rotation  
From: Stephen
Date: 21 Jan 2012 09:20:01
Message: <4f1ac991@news.povray.org>
On 21/01/2012 1:44 PM, bnrj.rudra wrote:
>   How I can define the rotation origin? Its behaving
> like being fixed at the top point.

The centre of rotation as always about the origin. So you need to 
translate your object to the origin, rotate it then translate it back.
In the help see:
2.2.7.1.3 Rotate

Or you could use the Rotate_Around_Trans macro
3.7.18 transforms.inc



-- 
Regards
     Stephen


Post a reply to this message

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