|
![](/i/fill.gif) |
"tgl" <aub### [at] sympatico ca> wrote:
> "PM 2Ring" <nomail@nomail> wrote:
> > Have a look at this thread to see a couple of ways of making rounded prisms.
> >
> >
http://news.povray.org/povray.binaries.images/thread/%3Cweb.43847f2f53a825ce74786be00%40news.povray.org%3E/?mtop=11
>
> Brilliant work!
Thanks, tgl!
> (The following question has been forwarded by a member of
> the Society of the Coding Inept.) When using the "Generalized Rounded
> Prism" macro, how is the radius of the edge controlled?
//Generalized Rounded Prism
#macro RPrism(Vtx, Sides, SH, SR)
Vtx is the 2D vertex list
Sides is the number of sides
SH is the side height
SR is the side rounding
So SR controls the radius of the edge. Makes sure SR is less than SH.
Have fun!
Post a reply to this message
|
![](/i/fill.gif) |