POV-Ray : Newsgroups : povray.binaries.scene-files : Rounded L-Prism (rlp) v0.2 Server Time
29 Mar 2024 07:24:12 EDT (-0400)
  Rounded L-Prism (rlp) v0.2 (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Samuel Benge
Subject: Rounded L-Prism (rlp) v0.2
Date: 5 Mar 2013 14:40:01
Message: <web.5136498a673f3afd2165ae730@news.povray.org>
Once upon a time (2010), I uploaded a version of rlp to the Object Collection,
but the file was corrupted. I now post it here, hoping that its integrity will
remain intact.

Included in the zip should be 7 scene files, an html help file, and the .inc
itself.

Sam


Post a reply to this message


Attachments:
Download 'rlp02.zip' (16 KB)

From: Samuel Benge
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 5 Mar 2013 14:55:01
Message: <web.51364c7ad3ce19402165ae730@news.povray.org>
Oh yeah, for people who haven't heard, rlp produces objects similar to
traditional prisms. It's pretty much like working with a linear_spline prism,
except that you can add roundness to each corner and give the object beveling.
(And you define points as arrays).

Here's a link to my v0.2 announcement:
http://news.povray.org/povray.object-collection/message/%3C4c9d5435%40news.povray.org%3E/#%3C4c9d5435%40news.povray.org
%3E

Attached is a demo image I never posted (I think). It shows off the the sharp
corners and multiple beveling capabilities of v0.2. It's one rlp object copied,
translated and rotated.

Sam


Post a reply to this message


Attachments:
Download 'rlp_demo.jpg' (48 KB)

Preview of image 'rlp_demo.jpg'
rlp_demo.jpg


 

From: Samuel Benge
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 5 Mar 2013 15:10:00
Message: <web.5136506ad3ce1940510f5afc0@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:
> It's one rlp object copied, translated and rotated.

Oops, it was *not* rotated. I shouldn't type on autopilot :)


Post a reply to this message

From: Kenneth
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 6 Mar 2013 02:50:08
Message: <web.5136f4cad3ce1940c2d977c20@news.povray.org>
>
> Attached is a demo image I never posted (I think).

This looks fabulous. Thanks for posting the code again (and the link to your
earlier demo image.)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 6 Mar 2013 04:21:27
Message: <51370a97$1@news.povray.org>
Thanks Sam! Excellent stuff.

Note:
In rlp_Shapes.pov, the object square is not allowed. It should be 
Square, as it otherwise refers to the square pattern.

Always better to use upper case letters to start ;-)

Thomas


Post a reply to this message

From: Samuel Benge
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 6 Mar 2013 14:50:03
Message: <web.51379dbad3ce194027e873a0@news.povray.org>
Thanks guys!

Thomas de Groot <tho### [at] degrootorg> wrote:
> Note:
> In rlp_Shapes.pov, the object square is not allowed. It should be
> Square, as it otherwise refers to the square pattern.
>
> Always better to use upper case letters to start ;-)

Version 0.2 was released before I started using uppercase letters for
everything. Somebody once mentioned how even seasoned povvers sometimes use
lowercase letters for their variables, and how said case might eventually
interfere with POV's reserved keywords, so I've tried to use uppercase ones ever
since. I might have to release another version simply for that :)


Post a reply to this message

From: Kenneth
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 7 Mar 2013 02:30:03
Message: <web.51384146d3ce1940c2d977c20@news.povray.org>
"Samuel Benge" <stb### [at] hotmailcom> wrote:

>
> Version 0.2 was released before I started using uppercase letters for
> everything. Somebody once mentioned how even seasoned povvers sometimes use
> lowercase letters for their variables, and how said case might eventually
> interfere with POV's reserved keywords, so I've tried to use uppercase ones ever
> since. I might have to release another version simply for that :)

OMG, I almost never use capital letters for variables :-O

But then again, my variable names are almost never as simple as
#declare aaa = 45;
They're partial sentences(!)--like...
#declare rotation_for_my_cylinder_object_around_ground_heightfield = 45;

Lots of typing of course--thank God for cut-and-paste! ;-)

But for me, this removes a 'level of abstraction' in my scene code, so I easily
know where to go when there's a problem, or I want to change something without
having to think too hard about it.

The trouble comes if I want to post my code--then I have to go back and
*simplify* the names. Using capital letters for that is probably a very good
idea!


Post a reply to this message

From: Thomas de Groot
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 7 Mar 2013 02:57:27
Message: <51384867@news.povray.org>
On 7-3-2013 8:29, Kenneth wrote:
> "Samuel Benge" <stb### [at] hotmailcom> wrote:
>
>>
>> Version 0.2 was released before I started using uppercase letters for
>> everything. Somebody once mentioned how even seasoned povvers sometimes use
>> lowercase letters for their variables, and how said case might eventually
>> interfere with POV's reserved keywords, so I've tried to use uppercase ones ever
>> since. I might have to release another version simply for that :)

I regularly have to remind myself too...

>
> OMG, I almost never use capital letters for variables :-O

You have sinned against the First Rule of POV-Ray  ;-)

>
> But then again, my variable names are almost never as simple as
> #declare aaa = 45;
> They're partial sentences(!)--like...
> #declare rotation_for_my_cylinder_object_around_ground_heightfield = 45;
>
> Lots of typing of course--thank God for cut-and-paste! ;-)
>
> But for me, this removes a 'level of abstraction' in my scene code, so I easily
> know where to go when there's a problem, or I want to change something without
> having to think too hard about it.

I know what you mean. While not as extreme as your example, I often use 
long words too.

>
> The trouble comes if I want to post my code--then I have to go back and
> *simplify* the names. Using capital letters for that is probably a very good
> idea!

Absolutely.

Thomas


Post a reply to this message

From: Cousin Ricky
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 11 Mar 2013 11:20:01
Message: <web.513df57dd3ce194078641e0c0@news.povray.org>
"Kenneth" <kdw### [at] gmailcom> wrote:
> But then again, my variable names are almost never as simple as
> #declare aaa = 45;
> They're partial sentences(!)--like...
> #declare rotation_for_my_cylinder_object_around_ground_heightfield = 45;
>
> [snip]
>
> The trouble comes if I want to post my code--then I have to go back and
> *simplify* the names. Using capital letters for that is probably a very good
> idea!

Nothing wrong with long variable names.  It's not like we're using FORTRAN IV
with 4096 bytes of RAM.  I think it will matter only if you're posting a
library, where the users will be frequently typing your variable names into
their scene files.


Post a reply to this message

From: Cousin Ricky
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 11 Mar 2013 11:25:01
Message: <web.513df696d3ce194078641e0c0@news.povray.org>
Thanks, Sam!

Note to Linux and Unix users: the file rlp_Bevels&Types.pov has to be quoted in
order to render.  E.g.:

   povray 'rlp_Bevels&Types.pov' +a


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

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