|
|
The macro given at http://www.slimeland.com/misc/roundedprism.inc is very handy
for building a rounded prism. However, I cannot create any rounded prism if the
object has a void within like
https://www.povray.org/documentation/images/tutorial/subshape.png
How can I create a rounded prism for an object like
prism {
linear_sweep
cubic_spline
0, // sweep the following shape from here ...
1, // ... up through here
18, // the number of points making up the shape ...
<3,-5>, <3,5>, <-5,0>, <3, -5>, <3,5>, <-5,0>,//sub-shape #1
<2,-4>, <2,4>, <-4,0>, <2,-4>, <2,4>, <-4,0>, //sub-shape #2
<1,-3>, <1,3>, <-3,0>, <1, -3>, <1,3>, <-3,0> //sub-shape #3
pigment { Green }
}
Post a reply to this message
|
|