|
|
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
|
|