Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Recko <yetioszek@gmail.com>2015-04-07 05:44:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-04-07 06:19:50 +0300
commit98f41066943d8b1cf9236d6b358d1e84c9e7cc4b (patch)
treefc72244cb769c05daa4b45dfca090ad1b90adcd7 /source/blender/blenkernel/BKE_mball_tessellate.h
parent9510137d1237f0bb493313cb65a79479ec77e4ce (diff)
Metaball tessellation optimization (Octree to BVH)
Speedup is non-linear, 2x-10x faster is quite normal. Patch T43678. - Switched from an Octree to BVH. - Finding first points of surface no longer "wastes" density function evaluation: every result is cached. - Use MemArena instead of using own memory management. - Correct calculation of metaelem bounding box. - Remove mball_count(): mballs are now counted "on the go".
Diffstat (limited to 'source/blender/blenkernel/BKE_mball_tessellate.h')
-rw-r--r--source/blender/blenkernel/BKE_mball_tessellate.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_mball_tessellate.h b/source/blender/blenkernel/BKE_mball_tessellate.h
index a3d3e1934b7..361f31b704c 100644
--- a/source/blender/blenkernel/BKE_mball_tessellate.h
+++ b/source/blender/blenkernel/BKE_mball_tessellate.h
@@ -31,4 +31,6 @@ void BKE_mball_polygonize(
struct EvaluationContext *eval_ctx, struct Scene *scene,
struct Object *ob, struct ListBase *dispbase);
+void BKE_mball_cubeTable_free(void);
+
#endif /* __BKE_MBALL_TESSELLATE_H__ */