POV-Ray : Newsgroups : povray.binaries.images : Just playing with dice Server Time
4 Nov 2024 15:19:52 EST (-0500)
  Just playing with dice (Message 1 to 9 of 9)  
From: Larry Hudson
Subject: Just playing with dice
Date: 2 May 2008 22:23:44
Message: <481bccb0@news.povray.org>
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

Preview of image 'swarm.jpg'
swarm.jpg


 

From: john
Subject: Re: Just playing with dice
Date: 3 May 2008 02:48:35
Message: <kl2o145am3e0a4ctcnpt89s125vsvmn61i@4ax.com>
On Fri, 02 May 2008 19:23:39 -0700, Larry Hudson <org### [at] yahoocom>
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

From: Larry Hudson
Subject: Re: Just playing with dice
Date: 3 May 2008 19:19:26
Message: <481cf2fe@news.povray.org>
john wrote:
> On Fri, 02 May 2008 19:23:39 -0700, Larry Hudson <org### [at] yahoocom>
> 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

From: Christian Froeschlin
Subject: Re: Just playing with dice
Date: 4 May 2008 15:05:50
Message: <481e090e$1@news.povray.org>
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

From: Larry Hudson
Subject: Re: Just playing with dice
Date: 4 May 2008 18:47:55
Message: <481e3d1b@news.povray.org>
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

From: Mike the Elder
Subject: Re: Just playing with dice
Date: 5 May 2008 09:25:01
Message: <web.481f0a0180bc5b3f5a8888d90@news.povray.org>
Larry Hudson <org### [at] yahoocom> 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

From: Sabrina Kilian
Subject: Re: Just playing with dice
Date: 5 May 2008 10:16:06
Message: <481f16a6$1@news.povray.org>
On Mon, 05 May 2008 09:22:09 -0400, Mike the Elder wrote:

> Larry Hudson <org### [at] yahoocom> 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

From: Larry Hudson
Subject: Re: Just playing with dice
Date: 5 May 2008 21:47:13
Message: <481fb8a1$1@news.povray.org>
Sabrina Kilian wrote:
> On Mon, 05 May 2008 09:22:09 -0400, Mike the Elder wrote:
> 
> 
>>Larry Hudson <org### [at] yahoocom> 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

From: Mike the Elder
Subject: Re: Just playing with dice
Date: 7 May 2008 13:10:00
Message: <web.4821e14d80bc5b3f5a8888d90@news.povray.org>
Larry Hudson <org### [at] yahoocom> 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

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