POV-Ray : Newsgroups : moray.win : Animation plugin questions : Re: Animation plugin questions Server Time
28 Jul 2024 18:21:51 EDT (-0400)
  Re: Animation plugin questions  
From: Alexander Enzmann
Date: 9 Mar 2000 14:37:41
Message: <38C7FD86.24774052@mitre.org>
Hans Petter Birkeland wrote:
> 
> I have been testing the anim plugin a little bit lately, and some questions
> have come up,  I think they have not been covered earlier.
> -Does scanline rendering support some kind of texturing?

Flat (single color/shade for entire triangle), Gouraud (each vertex
shaded, colors inbetween interpolated), and Phong (every visible pixel
shaded/colored).  Pick one.


> -It seems like rotation is not interpolated very well between keyframes.

Rotations can be non-intuitive.  If you say to interpolate between -180
and 180, I can legitimately do nothing.  If you say to go from -179 to
179, I will choose the short way.  All rotations are turned into
Quaternions, interpolated, then turned back into Euler angles.  This
method of handling rotations is what almost every other animation
package in the world does.


> How can I make a "person" move along a curve and make sure he is always
> looking along the tangent of the curve? I know curve animation is not
> supported, but it should be possible to make him move in a circle with a
> little bit of rotation per frame without having keys on every frame.

Unfortunately, I really need to add a few more things to the plugin to
make this easy in the general case of following a path.  For your
particular example, I don't see why you have a problem.  By combining
local and object coordinates, you can do just what you want.  Move the
person out to the radius of the circle, then rotate about the origin. 
He will always be facing forward.

Xander

P.S. Keep the suggestions coming.  They might not get done instantly,
but I'm listening.


Post a reply to this message

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