POV-Ray : Newsgroups : povray.newusers : Splines? : Splines? Server Time
4 Sep 2024 22:14:04 EDT (-0400)
  Splines?  
From: Greg M  Johnson
Date: 4 Aug 2002 12:59:07
Message: <3d4d5d5b@news.povray.org>
Why does 3.5 accept the first spline but gag on the second??

#declare MySpline =
  spline {
    cubic_spline
    -.25, <0,0,-1>
    0.00, <1,0,0>
    0.25, <0,0,1>
    0.50, <-1,0,0>
    0.75, <0,0,-1>
    1.00, <1,0,0>
    1.25, <0,0,1>
  }


#declare rwristspl=
        spline {
        cubic_spline
       -0.66, <25,68,25>


       -0.33, <12,65,28>


        0.00,  <6,94,15>
        0.33, <25,68,25>
        0.66,  <12,65,28>
        1.00,  <6,94,15>
        1.33, <25,68,20>
        1.66,  <12,65,28>
}


Post a reply to this message

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