Idea to optimize fluids / interesting for developers?

General discussion about the development of the open source Blender

Moderators: jesterKing, stiv

Post Reply
Jens
Posts: 0
Joined: Sat Aug 26, 2006 7:24 pm
Location: Hamburg, Germany

Idea to optimize fluids / interesting for developers?

Post by Jens »

Hi
I did some experiments with the fluid-system this days.
Something with filling a bottle.
To minimize RAM-usage i changed the domain-size
ti fit the bottle-shape and this results in much less
RAM-size ( and faster bake )but seems to distort the
physical rules. So my idea is to have parameters for
x-,y- and z-direction for the resolution of the domain,
so i can optimize bake-times and fit the resolution to the
domain-size.
I can dokument results if you like, in general it was about
4 times faster and used 439 MB instead of 1.56 GB RAM.
The negative effecte showed up in a slow down of the falling
water, which was difficult to compensate.

Another thing could be to bake multithreaded if possible, for
i have 4 cores but only one is used when baking. I´ve heard
Ton is using MacOSX too, I would be glad to support development
with testing on my MacPro, but iám not an experienced developer.

Greetz...Jens

n_t
Posts: 0
Joined: Tue Jun 28, 2005 2:07 pm

Post by n_t »

Hi, the resolution setting is only for the longest side of your domain - so making the domain as small as possible, like you did, is a good idea. The multi-threading is not so easy, but might be included in an upcoming release - it's also a compiler issue... Regards, -> Nils

Post Reply