POV-Ray : Newsgroups : povray.binaries.images : rounded_lprism Server Time
2 Nov 2024 18:47:33 EDT (-0400)
  rounded_lprism (Message 1 to 10 of 15)  
Goto Latest 10 Messages Next 5 Messages >>>
From: Samuel Benge
Subject: rounded_lprism
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


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 20:20:01
Message: <web.4c478e9f180c1644ac6ace420@news.povray.org>
From one of the example scenes. It uses rounded beveling. The cage is a helper
macro to visualize the points.


Post a reply to this message


Attachments:
Download 'rounded_lprism_single.png' (15 KB)

Preview of image 'rounded_lprism_single.png'
rounded_lprism_single.png


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 20:25:01
Message: <web.4c478ee5180c1644ac6ace420@news.povray.org>
One of the examples. It shows how holes are created.


Post a reply to this message


Attachments:
Download 'rounded_lprism_holes.png' (51 KB)

Preview of image 'rounded_lprism_holes.png'
rounded_lprism_holes.png


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 20:30:01
Message: <web.4c478fa8180c1644ac6ace420@news.povray.org>
This example shows how the hole points from one object can be reused to make
another rounded_lprism object to fill the hole. Since the object is beveled
inward, you don't have to make all kinds of adjustments.


Post a reply to this message


Attachments:
Download 'rounded_lprism_holefill.png' (20 KB)

Preview of image 'rounded_lprism_holefill.png'
rounded_lprism_holefill.png


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 20:30:01
Message: <web.4c4790dd180c1644ac6ace420@news.povray.org>
In this example, the rounded_lprism_free macro was used. It allows for larger
radii which gives you more control over the object. Because there is no
auto-fitting, care must be taken when using it.


Post a reply to this message


Attachments:
Download 'rounded_lprism_free.png' (44 KB)

Preview of image 'rounded_lprism_free.png'
rounded_lprism_free.png


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 21:00:01
Message: <web.4c47967a180c1644fd5daddd0@news.povray.org>
And a more complex example showing how the object can be used with transparency
and media. It's not very interesting; it was designed to test out the macros.


Post a reply to this message


Attachments:
Download 'rounded_lprism_scenea8_40.jpg' (115 KB)

Preview of image 'rounded_lprism_scenea8_40.jpg'
rounded_lprism_scenea8_40.jpg


 

From: Samuel Benge
Subject: Re: rounded_lprism
Date: 21 Jul 2010 21:30:01
Message: <web.4c479ede180c1644865621b80@news.povray.org>
Oops.


Post a reply to this message


Attachments:
Download 'rounded_lprism_scenep1_27.jpg' (85 KB)

Preview of image 'rounded_lprism_scenep1_27.jpg'
rounded_lprism_scenep1_27.jpg


 

From: nemesis
Subject: Re: rounded_lprism
Date: 22 Jul 2010 00:10:01
Message: <web.4c47c3f6180c1644bcac746d0@news.povray.org>
awesome as usual.


Post a reply to this message

From: Dave Blandston
Subject: Re: rounded_lprism
Date: 22 Jul 2010 09:05:01
Message: <web.4c4841af180c1644966554e20@news.povray.org>
This is revolutionary stuff, man! I could have used this macro literally
hundreds of times over the last ~eighteen (???) years! (OK, macros didn't exist
yet in POV-Ray v. 1.0...) I can't wait to experiment with this thing. Just
judging by your post, it really looks like something that should be included in
"shapes.inc." This is so cool!

Regards,
Dave Blandston


Post a reply to this message

From: stbenge
Subject: Re: rounded_lprism
Date: 22 Jul 2010 12:08:23
Message: <4c486cf7$1@news.povray.org>
nemesis wrote:
> awesome as usual.

Thanks!


Post a reply to this message

Goto Latest 10 Messages Next 5 Messages >>>

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