|
|
I tried to make a simple circle by bezier_spline,
prism {
bezier_spline
0,-.3,32,
<0.154,0.605>,<0.128,0.605>,<0.128,0.605>,<0.1105,0.6225>
<0.1105,0.6225>,<0.093,0.64>,<0.093,0.64>,<0.093,0.666>
<0.093,0.666>,<0.093,0.691>,<0.093,0.691>,<0.1105,0.709>
<0.1105,0.709>,<0.128,0.727>,<0.128,0.727>,<0.154,0.727>
<0.154,0.727>,<0.18,0.727>,<0.18,0.727>,<0.1975,0.709>
<0.1975,0.709>,<0.215,0.691>,<0.215,0.691>,<0.215,0.666>
<0.215,0.666>,<0.215,0.64>,<0.215,0.64>,<0.1975,0.6225>
<0.1975,0.6225>,<0.18,0.605>,<0.18,0.605>,<0.154,0.605>
pigment { color rgb<1,0,0>}
}
but instead of a circle, it gave me an octagon as it seems the control points
are connected instead of start and end points.
What is wrong with my setting <start,control1,control2,end>?
Note that I want to understand bezier_spline rather than finding an alternative
for creating a specific shape.
Post a reply to this message
|
|