|
|
> (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.
This problem is fixed with the help of bongotastic's thread in
povray.newusers.
#declare path1_spline = spline {
linear_spline
#declare ctr = 0;
#while (ctr < path1_num - 0.5)
path1_seg_time[ctr], path1[ctr][0],
#declare ctr = ctr + 1;
#end
}
> (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.
Still thinking about this one.
Carl
Post a reply to this message
|
|