diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-07-22 22:37:30 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-07-22 22:37:30 +0400 |
commit | cbe1613c0123d7705b9bba3806c03fe09151e729 (patch) | |
tree | 5d9b0f775a8c646959bc0b76545d02719700866a /source/blender/makesdna/DNA_dynamicpaint_types.h | |
parent | 4b80e1aba2e6f92b08ceddca2cab7d108ef8fac0 (diff) |
Dynamic Paint:
* Surface bake data is no longer recalculated every frame, but only when surface mesh has moved/transformed. Results in multiple times better performance on high resolution surfaces when using sub-steps or surface is still.
* Heavily optimized particle brushes when random particle size enabled. Up to 10x speedup with large radius particles.
* Added an additional "grid" space partitioning structure for surfaces.
* Added bounding box checks for brushes.
* Smaller overall optimization.
* Further OpenMP parallelization.
* Added physics tab link to modifier panel.
* Fix: "Point Density" texture cache wasn't properly updated. Brushes can now use Point Density textures as well.
* Fix: Paint dissolve resulted in black color.
* Fix: KD-tree checkups weren't completely thread safe. Fixes possible crash with OpenMP enabled particle brushes.
* Fix: When brush was set to use a specific material, it was saved incorrectly and resulted in potential crashes on next load.
Diffstat (limited to 'source/blender/makesdna/DNA_dynamicpaint_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_dynamicpaint_types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_dynamicpaint_types.h b/source/blender/makesdna/DNA_dynamicpaint_types.h index d51980dbb69..d2c6e91904b 100644 --- a/source/blender/makesdna/DNA_dynamicpaint_types.h +++ b/source/blender/makesdna/DNA_dynamicpaint_types.h @@ -43,10 +43,6 @@ struct PaintSurfaceData; #define MOD_DPAINT_OUT1 (1<<10) /* output primary surface */ #define MOD_DPAINT_OUT2 (1<<11) /* output secondary surface */ -/* canvas flags */ -#define MOD_DPAINT_PREVIEW_READY (1<<0) /* if viewport preview is ready */ -#define MOD_DPAINT_BAKING (1<<1) /* baking an image sequence */ - /* image_fileformat */ #define MOD_DPAINT_IMGFORMAT_PNG 0 #define MOD_DPAINT_IMGFORMAT_OPENEXR 1 @@ -101,6 +97,10 @@ typedef struct DynamicPaintSurface { } DynamicPaintSurface; +/* canvas flags */ +#define MOD_DPAINT_PREVIEW_READY (1<<0) /* if viewport preview is ready */ +#define MOD_DPAINT_BAKING (1<<1) /* surface is already baking, so it wont get updated (loop) */ + /* Canvas settings */ typedef struct DynamicPaintCanvasSettings { struct DynamicPaintModifierData *pmd; /* for fast RNA access */ |