I saw a macro for a rounded box some time ago, and thought it was a great
idea. However, for an image of mine I wanted a rounded hexagonal prism, so I
put together the following macro from an n-sided prism, meaning you can
specify how many sides the prism has in the macro call. If you set the
rounding to zero, you get a plain n-sided prism without any of the fancy CSG
( something else I've wanted for awhile ).
I _THINK_ I have all the bugs worked out, but if you use it and find a bug,
please email me and let me know?
Hope it's of some use to people. Also see an enclosed test image showing the
macro in use. Each object is a seperate macro call.
Post a reply to this message
Attachments:
Download 'Rounded Prism Macro.txt' (6 KB)
Download 'roundedx.jpg' (55 KB)
Preview of image 'roundedx.jpg'
![roundedx.jpg](/povray.binaries.scene-files/attachment/%3C363c8f1f.0%40news.povray.org%3E/roundedx.jpg?ttop=441393&toff=1450&preview=1)
|