POV-Ray : Newsgroups : povray.newusers : Sphere_Sweep help! : Re: Sphere_Sweep help! Server Time
31 Jul 2024 00:22:27 EDT (-0400)
  Re: Sphere_Sweep help!  
From: gonzo
Date: 17 May 2003 15:39:28
Message: <3ec68ff0@news.povray.org>
Sean Sabbage <sab### [at] btinternetcom> wrote in message
news:BAEC1363.23E22%sab### [at] btinternetcom...
> Attempt to malloc zero size block (File: sphsweep.cpp Line: 1613).
(snip)
> sphere_sweep {
>     cubic_spline
>     3,
>     <0,0,0>,3
>     <5,5,0>,3
>     <10,0,0>,3
>     pigment {Green}
> }
>
> should I have more spheres for a cubic_spline?

Yes.
This works fine...
sphere_sweep {
     cubic_spline
     5,
     <-1,0,0>,3
     <0,0,0>,3
     <5,5,0>,3
     <10,0,0>,3
     <11,0,0>,3
     pigment {Green}
}

RG


Post a reply to this message

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