POV-Ray : Newsgroups : povray.general : Direction on a spline : Re: Direction on a spline Server Time
4 Aug 2024 06:14:16 EDT (-0400)
  Re: Direction on a spline  
From: Jim Charter
Date: 16 Jul 2003 17:23:58
Message: <3f15c26e$1@news.povray.org>
> I should also note that, if your objects are at somewhere like:
> Spline(0),Spline(1),Spline(2),...etc Jim's code will work a treat as each
> object should point exactly at the next. If they are less evenly
> distributed, then you'll have to use something like mine which just points
> along the curve, rather than at the next object.
> 
Yes, that is what I had in mind.  I guess what I usually do

is Loop to total

	spline ( count / total ) - spline ( (count - 1)/total )
	
    increment count


Post a reply to this message

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