POV-Ray : Newsgroups : povray.general : Non-rolling rotations : Re: Non-rolling rotations Server Time
10 Aug 2024 23:18:22 EDT (-0400)
  Re: Non-rolling rotations  
From: Remco de Korte
Date: 12 Oct 1999 11:40:01
Message: <3803567E.4817F34B@xs4all.nl>
"Greg M. Johnson" wrote:
> 
> I have noticed that when I use the standard reorient macros, my actors
> roll along their axis of movement as they travel in a complete circle.
> 
> For example,
> 1) I develop and algorithm that changes the velocity of an actor so that
> it moves in a circle.
> 2) I then use the calculated velocity to reorient an object such as
> reorient (x, new_velocity).
> 3) I find that as I watch the actor complete a full circle, it has also
> rotated about its axis of travel. (In other words, the guy inside the
> craft had better be wearing a seat belt!)  Or, if I use this macro on
> the camera, the ground spins as one travels around in the circle.
> 
> Is there a way to make a change or two to the reorient macro so that
> this does not occur?
> If  yall don't understand what I'm talking about, I can post a small
> animation with the phenomenon...

I don't know if I understand it correctly (probably not), but wouldn't it be
possible to do a negative rotation at 0 before anything else?

Remco


Post a reply to this message

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