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
|