Blender Git Commit Log

Git Commits -> Revision 17cd581

Revision 17cd581 by Janne Karhu (master)
November 30, 2010, 21:31 (GMT)
Smoke now uses only one point cache where both normal and high resolution smoke are stored together:
* Separate caches were causing quite a lot of problems both in principle and practice.
* For example it doesn't really make sense to have different frame ranges for normal and high resolution smoke, but this was fully possible before.
* Also to fully bake the smoke you had to do a "Bake All Dynamics", which completely defeats the whole point of the feature!
* As a result of this change the smoke cache usage is much much simpler and less error prone.
* This is quite a big change, but hopefully there should be less rather than more problems as a result :)

Some other related changes:
* Changing the cache name now works for disk caches properly too, it now just renames the cache files so should be faster too!
* Smoke is now always forced to disk cache with step 1 on file load as there were some strange cases where smoke was trying to use memory cache.
* Disabled smoke debug prints from console.
* Disabled changing smoke parameters when smoke is baked.

Note to users: The unfortunate side effect of this is that old high resolution simulations have to be baked again, but in return you get much better and more logical functionality. Sorry none the less!

Commit Details:

Full Hash: 17cd5811e767df5bc7247648e3cbe52e39575f56
SVN Revision: 33398
Parent Commit: 005feca
Lines Changed: +185, -225

9 Modified Paths:

/release/scripts/ui/properties_physics_smoke.py (+11, -27) (Diff)
/source/blender/blenkernel/BKE_pointcache.h (+4, -1) (Diff)
/source/blender/blenkernel/intern/pointcache.c (+98, -77) (Diff)
/source/blender/blenkernel/intern/smoke.c (+25, -77) (Diff)
/source/blender/blenloader/intern/readfile.c (+22, -7) (Diff)
/source/blender/makesdna/DNA_object_force.h (+2, -0) (Diff)
/source/blender/makesdna/DNA_smoke_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_object_force.c (+14, -14) (Diff)
/source/blender/makesrna/intern/rna_smoke.c (+7, -22) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021