POV-Ray : Newsgroups : povray.binaries.animations : Piling rocks with the bullet physics playground Server Time
31 Oct 2024 12:15:43 EDT (-0400)
  Piling rocks with the bullet physics playground (Message 1 to 10 of 10)  
From: Bill Pragnell
Subject: Piling rocks with the bullet physics playground
Date: 8 Jul 2013 17:05:04
Message: <web.51db2839d6eb06a7354ba950@news.povray.org>
Hi all.

I've been seeing how the bullet library copes with arbitrary meshes. Not so
destructive this time, but just as interesting to watch I think. This animation
was created using a set of 15 rock meshes, built as .obj files from a POV-Ray
macro and converted to .3ds for the bullet playground. The rocks are picked
randomly in groups of 30, arranged haphazardly and dropped repeatedly.

The simulation seems quite happy, although it slows to a crawl once there are
more than about 50 rocks. I guess the meshes are all held in memory
separately... perhaps there's some way to tell the bullet library to reuse the
meshes like POV-Ray does when rendering.

Currently rendering another version with slightly different parameters and more
rocks :)

Bill


Post a reply to this message


Attachments:
Download 'rocks02b.mp4.mpg' (2690 KB)

From: Thomas de Groot
Subject: Re: Piling rocks with the bullet physics playground
Date: 9 Jul 2013 03:28:51
Message: <51dbbbb3$1@news.povray.org>
Have you started a quarry, Bill?

This also works perfectly indeed. Would it be possible that some rocks 
would break by the shock? I guess that would be difficult to manage... 
Maybe with rocks consisting of two pieces only falling apart on impact...

Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: Piling rocks with the bullet physics playground
Date: 9 Jul 2013 16:10:09
Message: <web.51dc6d40c6eb1333354ba950@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> Have you started a quarry, Bill?

It would seem so!

> This also works perfectly indeed. Would it be possible that some rocks
> would break by the shock? I guess that would be difficult to manage...

I don't know if the Bullet library can simulate fracture... there is no mention
of it in Koppi's playground, and I noticed nothing in the Bullet class docs. I
look forward to seeing Sam Benge's experiments with Blender - I understand there
is a variety of fracture simulation tools there!

in the meantime, here is another deluge :)


Post a reply to this message


Attachments:
Download 'rocks03b.mp4.mpg' (3427 KB)

From: Stephen
Subject: Re: Piling rocks with the bullet physics playground
Date: 9 Jul 2013 16:15:48
Message: <51dc6f74$1@news.povray.org>
Rocks! You wrote rocks not socks.
Although piling socks with the bpp would be cool too. And very, very 
handy. :-)

-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 03:03:49
Message: <51dd0755$1@news.povray.org>
On 9-7-2013 22:15, Stephen wrote:
> Rocks! You wrote rocks not socks.
> Although piling socks with the bpp would be cool too. And very, very
> handy. :-)
>

Which leads me to the following question: what about different densities 
in the same bunch? Socks and rocks as it were?

Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 08:25:03
Message: <web.51dd520dc6eb13335b7d07940@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> On 9-7-2013 22:15, Stephen wrote:
> > Rocks! You wrote rocks not socks.
> > Although piling socks with the bpp would be cool too. And very, very
> > handy. :-)
>
> Which leads me to the following question: what about different densities
> in the same bunch? Socks and rocks as it were?

Hmm, I'm not sure how to go about cloth simulations, but I'm game if it's
feasible.

I could even arrange for a rock to end up inside a sock (weapon of choice for
the denizens of Ankh-Morpork!)


Post a reply to this message

From: Thomas de Groot
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 10:06:03
Message: <51dd6a4b$1@news.povray.org>
On 10-7-2013 14:22, Bill Pragnell wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> On 9-7-2013 22:15, Stephen wrote:
>>> Rocks! You wrote rocks not socks.
>>> Although piling socks with the bpp would be cool too. And very, very
>>> handy. :-)
>>
>> Which leads me to the following question: what about different densities
>> in the same bunch? Socks and rocks as it were?
>
> Hmm, I'm not sure how to go about cloth simulations, but I'm game if it's
> feasible.
>
> I could even arrange for a rock to end up inside a sock (weapon of choice for
> the denizens of Ankh-Morpork!)

The socks are a bit extreme (influenced by Stephen, so blame him) ;-)

How about rocks of different densities? Leaving the shattering aside for 
the time being, would it be noticeable?

Thomas


Post a reply to this message

From: Bill Pragnell
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 10:35:01
Message: <web.51dd7045c6eb13335b7d07940@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> The socks are a bit extreme (influenced by Stephen, so blame him) ;-)

My socks certainly are.

> How about rocks of different densities? Leaving the shattering aside for
> the time being, would it be noticeable?

Probably, if I exaggerated it. Small differences wouldn't be that noticeable,
but I could give some rocks a mass 10x others, then it would look like a lot of
proper rocks mixed in with polystyrene ones... I'll try it :)


Post a reply to this message

From: Stephen
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 15:03:04
Message: <51ddafe8@news.povray.org>
On 10/07/2013 3:31 PM, Bill Pragnell wrote:
> Thomas de Groot <tho### [at] degrootorg> wrote:
>> The socks are a bit extreme (influenced by Stephen, so blame him) ;-)
>
> My socks certainly are.
>

First I've heard of it. :-)

And yes blame me, everyone does :-(

>> How about rocks of different densities? Leaving the shattering aside for
>> the time being, would it be noticeable?
>
> Probably, if I exaggerated it. Small differences wouldn't be that noticeable,
> but I could give some rocks a mass 10x others, then it would look like a lot of
> proper rocks mixed in with polystyrene ones... I'll try it :)
>
>
Air resistance is the way to go, I would think

-- 
Regards
     Stephen


Post a reply to this message

From: William F Pokorny
Subject: Re: Piling rocks with the bullet physics playground
Date: 10 Jul 2013 21:04:33
Message: <51de04a1$1@news.povray.org>
On 07/08/2013 04:59 PM, Bill Pragnell wrote:
> Hi all.
>
> I've been seeing how the bullet library copes with arbitrary meshes. Not so
> destructive this time, but just as interesting to watch I think. This animation
 >......
>
I got a chuckle from the rock exiting the view to the lower left. Must 
have gotten a swift boot from another rock in the melee. :-)


Post a reply to this message

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