POV-Ray : Newsgroups : povray.general : Spline animation vector question : Spline animation vector question Server Time
2 Aug 2024 02:28:51 EDT (-0400)
  Spline animation vector question  
From: Rick Measham
Date: 1 Feb 2005 09:57:56
Message: <41ff98f4@news.povray.org>
My flying shopping cart is completed and flaps its wings. My next 
challenge is to put the cart on a spline and have it fly round a 
predefined path.

I've no idea how to do that!

Firstly I need to define the path. That doesn't seem too hard as it's 
all just beziers.

Secondly, I need to somehow calculate the position on that spline at 
which the cart will sit in each frame. No idea on that one.

Thirdly I need to get the vector of the spline at that point so that I 
can point the cart in the right direction. No idea here either.

Fourthly I need to get the (stationary) camera to follow the cart as it 
travels around the spline. Figure I'll sit the camera at some point and 
point_at the position in the 'secondly' section.

Can anyone talk me through this, or better yet, point me to a simple 
tutorial on how to do it?

Cheers!
Rick


Post a reply to this message

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