POV-Ray : Newsgroups : povray.general : Spline animation question... : Re: Spline animation question... Server Time
2 Nov 2024 15:24:11 EDT (-0400)
  Re: Spline animation question...  
From: Carl Hoff
Date: 22 Feb 2004 00:52:18
Message: <40384392@news.povray.org>
Ok... I've found a solution to both of my problems.  I've posted code that
does what I want it to over in povray.binaries.scene-files.  Please feel
free to take a look.  Two other problems that I came across in this
situation were:

(1) The same issue bongotastic had with splines of variable length.  In my
code if I change the number of points in my spline I have to change
path1_num, the array path1, and edit my path1_spline declaration.  It really
seems I should be able to do this in a general way and not have to change
the path1_spline declaration but I couldn't find a way to do it.

(2) It proved to be harder then I thought to position an object that's
defined with forward in the x-direction and up in the y-direction to a new
set of forward and up vectors.  I got something that works but I think I did
it in a very ugly way.  Surely there is a more general way of doing this.

Anyways please feel to play with the code I posted and I welcome any
constructive feedback anyone wants to share.

Thanks,
Carl


Post a reply to this message

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