Blender Git Loki

Git Commits -> Revision 98f4106

Revision 98f4106 by Krzysztof Rećko (master)
April 7, 2015, 03:19 (GMT)
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".

Commit Details:

Full Hash: 98f41066943d8b1cf9236d6b358d1e84c9e7cc4b
Parent Commit: 9510137
Committed By: Campbell Barton
Lines Changed: +673, -1321

4 Modified Paths:

/source/blender/blenkernel/BKE_mball.h (+0, -2) (Diff)
/source/blender/blenkernel/BKE_mball_tessellate.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/mball_tessellate.c (+670, -1318) (Diff)
/source/blender/windowmanager/intern/wm_init_exit.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021