![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
I recently wrote a couple macros, the first is a different approach to
the standard Round_Box macro in shapes.inc. I had no particular reason
for this, just a personal project that I did without referring to the
standard version. The second macro uses my RoundBox macro and creates dice.
Here are a couple sample images. And yes, I know the proportions in the
"dice" image are ridiculously unrealistic -- but I like it anyway. The
"swarm" is 150 random dice.
Of course, comments are welcome. And does anyone want the code?
-=- Larry -=-
Post a reply to this message
Attachments:
Download 'dice.jpg' (53 KB)
Download 'swarm.jpg' (107 KB)
Preview of image 'dice.jpg'
![dice.jpg](/povray.binaries.images/attachment/%3C481bccb0%40news.povray.org%3E/dice.jpg?ttop=443866&toff=3250&preview=1)
Preview of image 'swarm.jpg'
![swarm.jpg](/povray.binaries.images/attachment/%3C481bccb0%40news.povray.org%3E/swarm.jpg?ttop=443866&toff=3250&preview=1)
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Fri, 02 May 2008 19:23:39 -0700, Larry Hudson <org### [at] yahoo com>
wrote:
>I recently wrote a couple macros, the first is a different approach to
>the standard Round_Box macro in shapes.inc. I had no particular reason
>for this, just a personal project that I did without referring to the
>standard version. The second macro uses my RoundBox macro and creates dice.
>
>Here are a couple sample images. And yes, I know the proportions in the
>"dice" image are ridiculously unrealistic -- but I like it anyway. The
>"swarm" is 150 random dice.
>
>Of course, comments are welcome. And does anyone want the code?
>
> -=- Larry -=-
I would love to see your alternative version of the rounded box.
John
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
john wrote:
> On Fri, 02 May 2008 19:23:39 -0700, Larry Hudson <org### [at] yahoo com>
> wrote:
>
>>I recently wrote a couple macros, the first is a different approach to
>> ... <snip>
>>Of course, comments are welcome. And does anyone want the code?
>>
>> -=- Larry -=-
>
> I would love to see your alternative version of the rounded box.
>
> John
Done. It's in p.b.s-f with the subject "Dice & RoundBox macros"
(I put the sources to these sample images in there as well.)
-=- Larry -=-
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Larry Hudson wrote:
> The second macro uses my RoundBox macro and creates dice.
You might wish to have a look at
http://www.rene-schwietzke.de/povray/povray-gallery2.html
if you don't already know about that ;)
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Christian Froeschlin wrote:
> Larry Hudson wrote:
>
>> The second macro uses my RoundBox macro and creates dice.
>
>
> You might wish to have a look at
>
> http://www.rene-schwietzke.de/povray/povray-gallery2.html
>
> if you don't already know about that ;)
No, I hadn't seen that. Thanx for the link.
I probably won't extend my version to use the approach on that website,
but who know what the future will bring? ;-)
Incidentally, mine will support transparency too -- I didn't use it in
the examples I posted, but I have tried it.
-=- Larry -=-
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Larry Hudson <org### [at] yahoo com> wrote:
> I recently wrote a couple macros, the first is a different approach to
> the standard Round_Box macro in shapes.inc. ...
> Of course, comments are welcome. And does anyone want the code?
>
> -=- Larry -=-
RE "Swarm":
"So you're going to poke the sleeping dragon
in the nose with your sword? Let's see how
much damage you'll take ..."
Seriously, nice work. I would very much like
to see the code. Thank you.
Best Regards,
Mike C.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
On Mon, 05 May 2008 09:22:09 -0400, Mike the Elder wrote:
> Larry Hudson <org### [at] yahoo com> wrote:
>> I recently wrote a couple macros, the first is a different approach to
>> the standard Round_Box macro in shapes.inc. ... Of course, comments are
>> welcome. And does anyone want the code?
>>
>> -=- Larry -=-
>
> RE "Swarm":
> "So you're going to poke the sleeping dragon in the nose with your
> sword? Let's see how much damage you'll take ..."
>
>
> Seriously, nice work. I would very much like to see the code. Thank
> you.
>
> Best Regards,
> Mike C.
"Pfft, is that all?"
"No, I just ran out of dice, we have to roll these 10 more times."
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Sabrina Kilian wrote:
> On Mon, 05 May 2008 09:22:09 -0400, Mike the Elder wrote:
>
>
>>Larry Hudson <org### [at] yahoo com> wrote:
>>
>>>I recently wrote a couple macros, the first is a different approach to
>>>the standard Round_Box macro in shapes.inc. ... Of course, comments are
>>>welcome. And does anyone want the code?
>>>
>>> -=- Larry -=-
>>
>>RE "Swarm":
>>"So you're going to poke the sleeping dragon in the nose with your
>>sword? Let's see how much damage you'll take ..."
>>
>>
>>Seriously, nice work. I would very much like to see the code. Thank
>>you.
>>
>>Best Regards,
>>Mike C.
>
I already posted these macros AND these example sources to p.b.s-f.
Have a look. (Subject: Dice and RoundBox macros)
I was really intending these images to be primarily tests for these
macros rather than anything really serious. But thanx for the compliment.
>
> "Pfft, is that all?"
>
> "No, I just ran out of dice, we have to roll these 10 more times."
LOL. Actually, the number of dice in this image is controlled with a
single #declare. Although the volume that they're restricted to is
hard-coded, it wouldn't be too difficult to re-code that to use
#declared values also, if anyone is interested in playing with it.
-=- Larry -=-
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
Larry Hudson <org### [at] yahoo com> wrote:
> I already posted these macros AND these example sources to p.b.s-f.
> Have a look. (Subject: Dice and RoundBox macros)
>
....
> -=- Larry -=-
I saw it two minutes after I posted. Thanks
Best Regards,
Mike C.
Post a reply to this message
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |