"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
>
> You'll have to define ObjectCenter yourself.
Yes but ObjectCenter. How can I find that if it is not necessary a cube?
Note:
I thought about translating the global x,y,z axis on the center of the
object and then after, rotate then translate back the global axis where it
was before. But the aigain there is no functions that I know to translate
the global axis.
Philippe
Post a reply to this message
|