|
|
|
|
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Dominoes using Bullet Physics Playground [511 KB]
Date: 3 Sep 2012 07:05:25
Message: <50448ef5@news.povray.org>
|
|
|
| |
| |
|
|
Hi All:
After the sslt tests with the dominoes pieces, I was thinking that it
would be nice to do a sort of "domino effect" scene, but setting it up
by hand looked like crazy... so I started looking into automatic
alternatives.
The first one was to use MegaPOV mechanics, but somehow I got a
little bit scared by the docs... so I continued searching and found
something called "Bullet Physics Playground" by Koppi. It's a little,
mostly alpha tool to play with LUA scripting and the Bullet Physics
Library, with the nice extra feature of exporting to POV-Ray. :)
https://github.com/koppi/bullet-physics-playground
Attached are some of my first tests with it, using assistance from
the author to make it compile and run on my system. It's not documented
at all and has little examples, but the potential is there... and it
already helps making some scenes (at least the one I had in mind). I'm
just using (automated) copy&paste of the matrix transforms exported by
the program, into my dominoes scene.
P.S.: No SSLT this time, but I added a nice "age-worn" layer into the
texture to distract from the lack of translucency.
--
Jaime
Post a reply to this message
Attachments:
Download 'domino-20-effect-physics.jpg' (56 KB)
Download 'domino-21-effect-physics.jpg' (72 KB)
Download 'domino-23-effect-physics.jpg' (57 KB)
Download 'domino-27-effect-physics.jpg' (104 KB)
Download 'domino-28-effect-physics.jpg' (115 KB)
Download 'domino-31-effect-physics.jpg' (109 KB)
Preview of image 'domino-20-effect-physics.jpg'
Preview of image 'domino-21-effect-physics.jpg'
Preview of image 'domino-23-effect-physics.jpg'
Preview of image 'domino-27-effect-physics.jpg'
Preview of image 'domino-28-effect-physics.jpg'
Preview of image 'domino-31-effect-physics.jpg'
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Am 03.09.2012 13:05, schrieb Jaime Vives Piqueres:
> ...
> just using (automated) copy&paste of the matrix transforms exported by
> the program, into my dominoes scene.
>
Impressive, the dominoes are absolutely believable scattered around.
> P.S.: No SSLT this time, but I added a nice "age-worn" layer into the
> texture to distract from the lack of translucency.
The texture is also very believable, as usual ;)
-Ive
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
fascinating!
but shouldn't you put domino playing aside and begin some serious alchemy? ;)
Post a reply to this message
|
|
| |
| |
|
|
From: Thomas de Groot
Subject: Re: Dominoes using Bullet Physics Playground [511 KB]
Date: 3 Sep 2012 10:17:58
Message: <5044bc16$1@news.povray.org>
|
|
|
| |
| |
|
|
WOW! This is looking very good, including the textures.
Thomas
PS LUA reminds me of Moray...
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
> Hi All:
>
>
Those painted donimoes have seen beter days...
The placement of the pieces is realy convincing.
I have a small gripe: in a normal dominoes set, there is only one of
each pip combinations. You have two 6-4 and 6-3s in
domino-27-effect-physics, two 6-3s in domino-28-effect-physics and five!
3-1s, two double 6s, 2-1, 2-0 in domino-29-effect-physics...
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: Dominoes using Bullet Physics Playground [511 KB]
Date: 4 Sep 2012 06:36:06
Message: <5045d996@news.povray.org>
|
|
|
| |
| |
|
|
On 03/09/12 15:47, Ive wrote:
> Am 03.09.2012 13:05, schrieb Jaime Vives Piqueres:
>> ... just using (automated) copy&paste of the matrix transforms
>> exported by the program, into my dominoes scene.
>>
> Impressive, the dominoes are absolutely believable scattered around.
Yes, the Bullet Physics Library seems to work pretty accurately, at
least for boxes and spheres, which is the only thing I tried for the
moment... if you search into youtube, there are some amazing examples of
what it can do.
> The texture is also very believable, as usual ;)
It's a mixed technique... the borders use an additional layer with a
boxed pattern, but for the dots I had to use image patterns on a third
layer.
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: Dominoes using Bullet Physics Playground [511 KB]
Date: 4 Sep 2012 06:37:22
Message: <5045d9e2$1@news.povray.org>
|
|
|
| |
| |
|
|
On 03/09/12 16:04, nemesis wrote:
> fascinating!
>
> but shouldn't you put domino playing aside and begin some serious
> alchemy? ;)
>
>
Well, at least I already made a copy of the original scene folder into
my povray-3.7/scenes/wips folder... :)
--
Jaime
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: Dominoes using Bullet Physics Playground [511 KB]
Date: 4 Sep 2012 06:39:58
Message: <5045da7e@news.povray.org>
|
|
|
| |
| |
|
|
On 03/09/12 16:17, Thomas de Groot wrote:
> WOW! This is looking very good, including the textures.
Thanks!
> PS LUA reminds me of Moray...
It's my first time using LUA, but seems easy and practical enough for
my limited usage inside Koppi's playground.
--
Jaime
Post a reply to this message
|
|
| |
| |
|
|
From: Jaime Vives Piqueres
Subject: Re: Dominoes using Bullet Physics Playground [511 KB]
Date: 4 Sep 2012 07:01:53
Message: <5045dfa1@news.povray.org>
|
|
|
| |
| |
|
|
On 04/09/12 06:19, Alain wrote:
>> Hi All:
>>
>>
> Those painted donimoes have seen beter days...
You're quite right: I just modeled it after my own cheap set, which
has well over 30 years. It was heavily used by my father and his friends
during summers, and lately has been used as a construction set by my 3
nieces...
> The placement of the pieces is realy convincing.
And the best part is that I didn't have to arrange it by hand.
> I have a small gripe: in a normal dominoes set, there is only one of
> each pip combinations. You have two 6-4 and 6-3s in
> domino-27-effect-physics, two 6-3s in domino-28-effect-physics and
> five! 3-1s, two double 6s, 2-1, 2-0 in domino-29-effect-physics...
Ah... yes, I was expecting someone will notice. :) I'm creating the
pieces with a nice macro which accepts the two numbers as parameters,
but for these scenes I'm just feeding random numbers between 0 and 6.
--
Jaime
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Jaime Vives Piqueres <jai### [at] ignoranciaorg> wrote:
> Yes, the Bullet Physics Library seems to work pretty accurately, at
> least for boxes and spheres, which is the only thing I tried for the
> moment... if you search into youtube, there are some amazing examples of
> what it can do.
These look great Jaime. It's interesting to see this post because I've been
playing around with the C++ Bullet library on and off for the past couple of
months and pondering how to integrate into POV-Ray.
I know that Bullet is used by big name CG programs like SoftImage and Cinema4d,
and for many video games and movie companies too (Shrek, Megamind, Toy Story,
etc). So far I've just been using it to fill containers full of random junk, or
to topple stacks of bricks to simulate building damage. Some of the soft body
physics looks really fun, but I haven't had much time to work with it lately.
--------------------------------------------------------------------------
www.McGregorFineArt.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |