POV-Ray : Newsgroups : povray.binaries.scene-files : N-Sided rounded prism macro Server Time
25 Apr 2024 23:25:30 EDT (-0400)
  N-Sided rounded prism macro (Message 1 to 1 of 1)  
From: Charles Krause
Subject: N-Sided rounded prism macro
Date: 1 Nov 1998 11:41:03
Message: <363c8f1f.0@news.povray.org>
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


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.