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
18 Apr 2024 09:45:02 EDT (-0400)
  Re: Spline Sweep / While: The Tragedy of the Last Comma  
From: dick balaska
Date: 23 Feb 2018 16:50:47
Message: <5a908cb7$1@news.povray.org>
On 02/23/2018 04:38 PM, Sven Littkowski wrote:
> I used the INSERTR feature of the POV-Ray editor. There, there are
> commas behind each line but the last line. And without comma, i am
> getting an error, too.

This works fine for me:

sphere_sweep {
     b_spline
     6,
     < 0.50, 1.00, 0>, 0.35
     <-0.50, 1.00, 0>, 0.25
     <-0.50, 0.00, 0>, 0.15
     < 0.50, 0.00, 0>, 0.25
     < 0.50, 1.00, 0>, 0.15
     <-0.50, 1.00, 0>, 0.10
     tolerance 0.1

     texture{ pigment{ color rgb<0.69,0.99,0.15>}
              finish { phong 1 }
            } // end of texture

     scale<1,1,1>   rotate<0,0,0>  translate<0,0.5,0>
    }  // end of sphere_sweep ----------------------------



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


Post a reply to this message

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