POV-Ray : Newsgroups : povray.binaries.scene-files : Rounded L-Prism (rlp) v0.2 Server Time
28 Apr 2024 23:31:57 EDT (-0400)
  Rounded L-Prism (rlp) v0.2 (Message 3 to 12 of 12)  
<<< Previous 2 Messages Goto Initial 10 Messages
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

From: Cousin Ricky
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 11 Mar 2013 12:15:00
Message: <web.513e029ed3ce194078641e0c0@news.povray.org>
"Cousin Ricky" <rickysttATyahooDOTcom> wrote:
> 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

It just occurred to me: could Sam's upload have failed because the Object
Collection server software choked on the ampersand?


Post a reply to this message

From: scott
Subject: Re: Rounded L-Prism (rlp) v0.2
Date: 21 Mar 2013 13:01:40
Message: <514b3cf4$1@news.povray.org>
> Nothing wrong with long variable names.  It's not like we're using FORTRAN IV
> with 4096 bytes of RAM.

No but we're still using an editor without auto-complete capability.


Post a reply to this message

<<< Previous 2 Messages Goto Initial 10 Messages

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