From cbe1613c0123d7705b9bba3806c03fe09151e729 Mon Sep 17 00:00:00 2001 From: Miika Hamalainen Date: Fri, 22 Jul 2011 18:37:30 +0000 Subject: 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. --- source/blender/blenkernel/BKE_dynamicpaint.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_dynamicpaint.h') diff --git a/source/blender/blenkernel/BKE_dynamicpaint.h b/source/blender/blenkernel/BKE_dynamicpaint.h index e8e932da97e..c49a13f7d0e 100644 --- a/source/blender/blenkernel/BKE_dynamicpaint.h +++ b/source/blender/blenkernel/BKE_dynamicpaint.h @@ -17,6 +17,7 @@ #include "DNA_dynamicpaint_types.h" struct PaintEffectData; +struct PaintBakeData; /* Actual surface point */ typedef struct PaintSurfaceData { @@ -27,6 +28,7 @@ typedef struct PaintSurfaceData { /* point neighbor data */ struct PaintAdjData *adj_data; + struct PaintBakeData *bData; unsigned int total_points; } PaintSurfaceData; -- cgit v1.2.3