POV-Ray : Newsgroups : povray.newusers : Local Co-ordinates : Re: Local Co-ordinates Server Time
4 Sep 2024 18:14:58 EDT (-0400)
  Re: Local Co-ordinates  
From: insomniac
Date: 19 Sep 2002 19:15:06
Message: <web.3d8a598449510b1030411fcf0@news.povray.org>
KalleK wrote:
>
>You have to move your object into the origin, rotate it, and move it back.
>
>Maybe a little macro will do:
>
>#macro Rotate_around (RotVector, Position)
>    translate -Position
>    rotate RotVector
>    translate Position
>#end
>
>Maybe such a macro is already in the includes which are shipped with POV-Ray,
>but I don't know.
>
>Kalle
>
************************************************

Hello Kalle,
            I've only been using povray a few weeks and don't know very
much,
could you please elaborate "move your object into the origin, rotate it, and
move it back" how do you move it into the origin? I'm sorry, i'm still
learning all the ins and outs. Thank you for your response.


Post a reply to this message

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