blender/release/scripts
Matt Ebb 33f880e866 Restored Fluid Sim baking
This commit restores fluid sim baking functionality in 2.5, it's been on the todo for
a while, and was previously almost completely non-functional. The old 
code was quite complicated and specific to the 2.4 animation system, so I've 
pretty much rewritten most of it.

This includes:
* Animated variables work again - just key them in the UI. Non-animateable values
should be already set non-animateable in RNA, hopefully I got them all.

Available are: Domain Gravity / Domain Viscosity / Object loc/rot/scale / 
Object initial velocity / Deforming meshes / Fluid control Attract strength / 
Fluid control Attract radius / Fluid control Velocity strength / 
Fluid control Velocity radius / Object Active status (checkbox next to fluid type)

The Domain time scale is still not yet implemented.

* Fluid sim now use global scene units data by default - when enabled, the 
scene's global gravity value is used and when units are set (metric/imperial)
the simulation real world size is taken from the object's actual measurements.

* The baking process is now done in the background, using the nifty threaded
Jobs system. It's non-blocking and your domain object will show the simulated
fluid as it becomes available for that frame.

A nice extra thing for the future would be to improve the visualisation of the 
object's state while baking, and also the jobs system/ui could do with some
touchups - currently it has to share a bit from the 'render' job, and appears as
'Render' in the header. Progress bars for jobs in the header would be great too.
2010-03-25 06:27:25 +00:00
..
io merge own commits into render branch into trunk since 27560 2010-03-20 16:41:01 +00:00
keyingsets replace exceptions with getattr() fallback 2010-03-24 15:17:11 +00:00
modules [#21682] help() doesn't work in the console 2010-03-21 14:56:26 +00:00
op - submit docs now uses the new dialog with an OK button 2010-03-20 19:22:34 +00:00
presets Fix [#21351] PROPERTIES: Resolution changes based solely on changing 2010-03-13 00:17:52 +00:00
templates pep8 cleanup 2010-03-06 01:40:29 +00:00
ui Restored Fluid Sim baking 2010-03-25 06:27:25 +00:00