POV-Ray : Newsgroups : povray.general : Spline Sweep / While: The Tragedy of the Last Comma : Re: Spline Sweep / While: The Tragedy of the Last Comma Server Time
25 Jun 2024 22:08:07 EDT (-0400)
  Re: Spline Sweep / While: The Tragedy of the Last Comma  
From: dick balaska
Date: 23 Feb 2018 17:09:55
Message: <5a909133$1@news.povray.org>
On 02/23/2018 03:50 PM, Sven Littkowski wrote:

> This is what I tried, but I fail...
> ----------------------
> 
> sphere_sweep
> {
>   b_spline
>   MySegmentAmount,
>   #while (MyCount <= MySegmentAmount)
>    #if(MyCount=MySegmentAmount)
>     #declare MyComma="";
>    #else
>     #declare MyComma=",";
>    #end
>    < MyX, MyY, MyZ >, 0.35 MyComma


Are you initializing MyCount = 1; ?

-- 
dik
Rendered 920576 of 921600 pixels (99%)


Post a reply to this message

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