Smoke simulator: Add flow subframes and ability to set custom particle size.
authorMiika Hamalainen <blender@miikah.org>
Fri, 17 May 2013 17:45:37 +0000 (17:45 +0000)
committerMiika Hamalainen <blender@miikah.org>
Fri, 17 May 2013 17:45:37 +0000 (17:45 +0000)
commitd3a6c0c834d34b0158443bee8064631d289d5a57
treedfd88517895ce42b767b29bb89b1a7df96b3b348
parentc70a900736e28308600c5b3359070f38bc64daa6
Smoke simulator: Add flow subframes and ability to set custom particle size.

Previously it was nearly impossible to have fast moving objects emitting smoke or they would just leave behind a row of smoke poofs instead of continious stream of smoke. Now it's possible to set number of subframes for each smoke flow.

Another new thing is ability to set size of smoke flow particles instead of using closest smoke cell. This also works with my earlier "full sample" commit, so no more blocky particles either. :)

For more info check my blog post: http://www.miikahweb.com/en/blog/2013/05/17/blender-smoke-subframes

This commit also includes couple of fixes I spotted while testing:
* Fix: dissolve was applied at different time for low res and high res simulations.
* Fix: full sample setting didn't get copied with domain.
release/scripts/startup/bl_ui/properties_physics_smoke.py
source/blender/blenkernel/intern/smoke.c
source/blender/blenloader/intern/readfile.c
source/blender/makesdna/DNA_smoke_types.h
source/blender/makesrna/intern/rna_smoke.c