POV-Ray : Newsgroups : povray.binaries.animations : Chimney felling with the BulletPhysics Playground Server Time
2 May 2024 14:17:33 EDT (-0400)
  Chimney felling with the BulletPhysics Playground (Message 7 to 16 of 16)  
<<< Previous 6 Messages Goto Initial 10 Messages
From: Bill Pragnell
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 06:50:01
Message: <web.51b7008a2f4fb5c5b7d07940@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:
> Does BPP write 210 sets of positions/transforms which are then rendered
> by frame in povray? Or, is BPP set up to simulate/render per frame?

It writes a set of .inc files containing the geometry transformed using matrix {
}. You can optionally specify POV-Ray SDL in the lua code to surround the matrix
transform. Also exported is a .pov file which does an #include based on the
clock variable, and an .ini file to set up the animation loop.

> Suppose I am wondering if one can one peak ahead by rendering select
> frames after a total simulation completes.

You can, by simply #including the frame you want to see and turning off the
animation. This is how I set up the camera and environment in the master .pov
file before rendering the whole animation.

> Also, whether it is possible
> to look at a what happens to a few items of the whole simulation in
> isolation by rendering just those items.

I'm not sure. Perhaps if you used the in-line SDL feature to #declare all the
geometry items into an array, then the #include would insert nothing into the
scene and you could pick out any subset of items you wanted. I should try this,
it sounds like it might be quite powerful.

> Lastly, we are now of course in anticipation of a movie staring the
> "Archimedean Solids".

Haha, good idea!

> Bill P.
The other Bill P


Post a reply to this message

From: Thomas de Groot
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 07:33:38
Message: <51b70b12@news.povray.org>
Aaah... I see that the ball makes a glancing strike instead of a head on 
one.

I am satisfied now ;-)

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 07:35:42
Message: <51b70b8e$1@news.povray.org>
On 11/06/2013 12:19 PM, Thomas de Groot wrote:
> On 11-6-2013 10:12, Stephen wrote:
>> Save the file, open it in Windows Media Player. Then Right click >
>> Enhancements > Play speed settings.
>>
>> You will see what happen better in slow motion.
>
> Yeah... I am getting even more puzzled... my eyes tell me there is much
> less destruction on the left...
>

I don't see the problem, it looks natural to me.

Maybe a view from the top or at right angles to the path of the ball?

-- 
Regards
     Stephen


Post a reply to this message

From: Stephen
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 07:38:20
Message: <51b70c2c$1@news.povray.org>
On 11/06/2013 11:36 AM, Bill Pragnell wrote:
> Stephen <mca### [at] aolcom> wrote:
>> Nice one Bill. You have a history of destroying things. IIRC. ;-)
>
> You have a good memory.

It was pretty spectacular. Easy to remember. :-)

Perhaps I should try revisiting the knots in BPP!
>

Go on, go on, go on. As Mrs Doyle from Fr. Ted would say.


-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 07:46:54
Message: <51b70e2e$1@news.povray.org>
On 11-6-2013 13:35, Stephen wrote:
> On 11/06/2013 12:19 PM, Thomas de Groot wrote:
>> Yeah... I am getting even more puzzled... my eyes tell me there is much
>> less destruction on the left...
>>
>
> I don't see the problem, it looks natural to me.
>
> Maybe a view from the top or at right angles to the path of the ball?
>

[confusion of cancelled messages]  ;-)

The slow motion shows me that the ball does not hit head on... So, all 
is well (except for the poor guy who painstakingly built that tower).

Thomas


Post a reply to this message

From: Stephen
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 08:33:33
Message: <51b7191d@news.povray.org>
On 11/06/2013 12:46 PM, Thomas de Groot wrote:
> The slow motion shows me that the ball does not hit head on... So, all
> is well (except for the poor guy who painstakingly built that tower).

Ctrl + Z works wonders.

-- 
Regards
     Stephen


Post a reply to this message

From: Bill Pragnell
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 17:25:07
Message: <web.51b795282f4fb5c44b5561b0@news.povray.org>
Here's a slower version, with radiosity. The camera tracking was easier than I
expected - I added some pre_sdl in the BPP lua to #declare all the exported
items, putting the bricks into an array. I could then calculate the average
brick position for each frame, and use this location in the camera look_at. This
opens up all sorts of interesting possibilities for wacky tracking shots -
following individual items closely, even 'attaching' the camera to items.

I will experiment further :)


Post a reply to this message


Attachments:
Download 'tower4a.mp4.mpg' (3366 KB)

From: Stephen
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 11 Jun 2013 18:09:44
Message: <51b7a028$1@news.povray.org>
On 11/06/2013 10:22 PM, Bill Pragnell wrote:
> I will experiment further:)

It is very good, Mr.Fred Dibnah. ;-)

-- 
Regards
     Stephen


Post a reply to this message

From: Thomas de Groot
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 12 Jun 2013 03:56:38
Message: <51b829b6$1@news.povray.org>
On 11-6-2013 23:22, Bill Pragnell wrote:
> Here's a slower version, with radiosity. The camera tracking was easier than I
> expected - I added some pre_sdl in the BPP lua to #declare all the exported
> items, putting the bricks into an array. I could then calculate the average
> brick position for each frame, and use this location in the camera look_at. This
> opens up all sorts of interesting possibilities for wacky tracking shots -
> following individual items closely, even 'attaching' the camera to items.
>
> I will experiment further :)
>

Better and better. Looking forward to some spectacular pixar scenes ;-)

Thomas


Post a reply to this message

From: gregjohn
Subject: Re: Chimney felling with the BulletPhysics Playground
Date: 29 Aug 2013 10:55:02
Message: <web.521f60242f4fb5c5474b7bd0@news.povray.org>
"Bill Pragnell" <bil### [at] hotmailcom> wrote:
> My first proper animation from tinkering with BPP, adapted from the demo tower
> script. Textured using the pre/post_sdl properties, and the master pov scene
> just needed an override camera and some simple embellishment.
>
> 210 frames, simulation in about 5 minutes, rendering in about 15 minutes.
>
> The ball is 50x heavier than a brick :)
>
> Bill

<Rises from lengthy slumber, scratches eyes, yawns, sees this.>

Um, what? Povray can do this now?  Wow.

<Searches newsgroups for details>


Post a reply to this message

<<< Previous 6 Messages Goto Initial 10 Messages

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