POV-Ray : Newsgroups : povray.advanced-users : Dynamic sphere sweep : Re: Dynamic sphere sweep Server Time
28 Apr 2024 22:42:46 EDT (-0400)
  Re: Dynamic sphere sweep  
From: Cousin Ricky
Date: 28 Feb 2023 00:57:46
Message: <63fd97da$1@news.povray.org>
On 2023-02-28 01:34 (-4), yesbird wrote:
> Hi,
> can't figure out why this construction don't work:
> -------------------------------------------------
> #declare X = 0;
> sphere_sweep {
>   linear_spline
>   4,
>   #while (X < 4)
>     <X,0,0>, 0.1
>     #declare X = X + 0.1;
>   #end
> }
> -------------------------------------------------

You specify 4 as the number of points, but you are counting by 0.1,
which gives 40 points.

One of the more annoying features of POV-Ray IMO is having to count the
points beforehand, but it is what it is.


Post a reply to this message

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