POV-Ray : Newsgroups : povray.windows : changing center & batch : Re: changing center & batch Server Time
2 Jul 2024 23:57:54 EDT (-0400)
  Re: changing center & batch  
From: bona
Date: 12 Mar 2003 13:48:35
Message: <3e6f8103$1@news.povray.org>
thanks Andrew and ABX for your help!

--
obrigado por escrever!

Prefeitura de Rock-Ville

==========================
ROCK-VILLE

http://www.rock-ville.com
==========================
"Andrew" <ast### [at] hotmailcom> wrote in message
news:3e6f706b$1@news.povray.org...
> > 1-can I change the center(pivot) of an object?
>
> Presumably you mean the centre for rotations?  If so, it's worth
> pointing out that all rotations are performed around <0,0,0>.  So, if
> you want to rotate around the corner of a cube (for example), simply
> make sure that the cube's corner is at <0,0,0> before applying the
> rotation.
>
> However, if you look into the "transforms.inc" file and its contents,
> you'll find some useful macros such as Rotate_Around_Trans, which will
> rotate an object around whatever point you specify.
>
>


Post a reply to this message

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