POV-Ray : Newsgroups : povray.binaries.images : rounded_lprism : rounded_lprism Server Time
31 Jul 2024 02:20:53 EDT (-0400)
  rounded_lprism  
From: Samuel Benge
Date: 21 Jul 2010 20:10:01
Message: <web.4c478b4535739de61e4ecc3b0@news.povray.org>
Hello,

I have created a set of macros which let you design rounded, beveled objects by
using just a few points. You write a series of points similar to how you would
make a linear_spline. You can then specify the amount of rounding for each
corner, or rounding for the whole object. The object will auto-fit the rounded
sections, if you so desire.

The example here was built from a total of 16 points and uses flat beveling.
There are two types of beveling: round and flat (chamfered).

You can punch holes through the object by using additional point sets. Doing so
is very easy. These will also be rounded and beveled.

The object is built from basic, clipped shapes so it will render very fast. It
can be used with transparency, media, and other such things. It can't be used
with CSG, but it can be clipped. The parsing time is fairly reasonable. The
attached image took a total of 0.359 CPU-seconds to parse on my 2.40 GHz Q6600.
Without area_lights or AA, it took 2 seconds (4.374 CPU-total) to render at the
same resolution on three threads.

You can get the 7-Zip archive here:
http://news.povray.org/povray.binaries.scene-files/thread/%3C4c4784bf%40news.povray.org%3E/

More images to follow!

Sam


Post a reply to this message


Attachments:
Download 'rounded_lprism_p1_27.jpg' (108 KB)

Preview of image 'rounded_lprism_p1_27.jpg'
rounded_lprism_p1_27.jpg


 

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