Blender Git Loki

Git Commits -> Revision b2f1a65

Revision b2f1a65 by Clément Foucault (master)
May 4, 2019, 12:11 (GMT)
Sculpt: Refactor draw manager sculpt drawing mechanism

Workbench/Eevee now displays multiple multi-materials correctly.

Iterate over pbvh nodes when doing object iteration. This makes the
rendering process more streamlined and allow for using different materials.

This change will make possible to:
- Add culling pass of each pbvh leaf node. (speedup if zoomed on a small
area)
- Reduce number of lead node iteration.
- Reduce code complexity

Commit Details:

Full Hash: b2f1a6587410d00ad3bbd22e045979f80048afe2
Parent Commit: 1d8ed6d
Lines Changed: +310, -274

9 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+22, -19) (Diff)
/source/blender/blenkernel/intern/pbvh.c (+23, -29) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+41, -65) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+23, -7) (Diff)
/source/blender/draw/engines/workbench/workbench_forward.c (+65, -63) (Diff)
/source/blender/draw/intern/draw_manager_data.c (+121, -79) (Diff)
/source/blender/draw/intern/DRW_render.h (+11, -8) (Diff)
/source/blender/draw/modes/overlay_mode.c (+1, -1) (Diff)
/source/blender/draw/modes/sculpt_mode.c (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021