POV-Ray : Newsgroups : povray.general : bezier_spline with prism : bezier_spline with prism Server Time
25 Apr 2024 03:34:54 EDT (-0400)
  bezier_spline with prism  
From: Kima
Date: 19 Aug 2019 15:20:01
Message: <web.5d5af5fac5582318ecc0fada0@news.povray.org>
I can use bezier_spline set of points in lathe as

  lathe {
    bezier_spline
    80
    <2.00, 1.00>, <1.00, 1.50>, <3.00, 3.50>, <2.00, 4.00>
    <2.00, 4.00>, <3.00, 4.50>, <1.00, 6.50>,<2.00, 7.00>
    pigment { color rgbt<0.4,0.2,1,.5>}
    finish { ambient 1 }
  }

but when I use the same set in prism as

  prism {
    bezier_spline
    0,1,1,
//    80
    <2.00, 1.00>, <1.00, 1.50>, <3.00, 3.50>, <2.00, 4.00>
    <2.00, 4.00>, <3.00, 4.50>, <1.00, 6.50>,<2.00, 7.00>
    pigment { color rgbt<0.4,0.2,1,.5>}
    finish { ambient 1 }
  }

I get an error, "Prism with Bezier splines must have four points per segment."
Where did I do wrong?


Post a reply to this message

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