Blender Git Loki

Git Commits -> Revision 97c3e59

August 22, 2021, 03:40 (GMT)
Sculpt dyntopo: Finished bmesh cache coherency tester

To run, in the python console enter:

bpy.msgbus.pbvh_bmesh_do_cache_test()

The output will be in the regular console. The test
build a half-million vert cube and smooths it. It runs
several passes (all of which perform the same smoothing
operation):

1; Randomized order pass
2. Ordered pass (by vertex clustering)
3. Same as 2 but with a purely data-oriented version
of the bmesh structs.
4. Same as 2, but using a version of the bmesh structs
with all pointers replaced by integer indices.

At least on my laptop #3 and #2 are about a third faster
then #1, and #2 tends to be around 15%.

Commit Details:

Full Hash: 97c3e5944c90597edc3c775df5847adecbce1b3c
Parent Commit: 6f523ff
Lines Changed: +594, -25

3 Modified Paths:

/source/blender/blenkernel/intern/pbvh_bmesh.c (+542, -16) (Diff)
/source/blender/bmesh/intern/bmesh_mesh.c (+45, -2) (Diff)
/source/blender/modifiers/intern/MOD_correctivesmooth.c (+7, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021