Blender Git Loki

Git Commits -> Revision 70a4956

July 21, 2021, 02:46 (GMT)
Sculpt dyntopo: Removed triangle limit for PBVH_BMESH

* PBVH_BMESH now supports faces other then triangles;

* Dyntopo triangulates faces as it finds them.
- I looked into methods of preserving quads and failed to
find anything that worked well in practice; it actually
worked better to use topology rake to align triangles
into quads and then mark diagonal edges for later dissolving
then to try to preserve quads explicitly (I've not
implementated that here, that was research code).
- To avoid excessive cache-destroying loops over vertex-faces,
DynTopo flags which verts have non-triangle faces.

* PBVHTriBuf now builds edge buffers so we can avoid drawing
tesselation phantom edges.

* BMLog also now supports arbitrary faces. It still does not
support edges though.

TODO:

* Fix vcol cell shading mode
* Make sure indexed drawing works

Commit Details:

Full Hash: 70a49560208b1346c037ad24fb268fb190b87b9d
Parent Commit: 7cd7401
Lines Changed: +596, -116

8 Modified Paths:

/source/blender/blenkernel/BKE_pbvh.h (+8, -3) (Diff)
/source/blender/blenkernel/intern/dyntopo.c (+167, -2) (Diff)
/source/blender/blenkernel/intern/pbvh_bmesh.c (+149, -3) (Diff)
/source/blender/bmesh/intern/bmesh_log.c (+118, -83) (Diff)
/source/blender/editors/sculpt_paint/sculpt.c (+3, -5) (Diff)
/source/blender/editors/sculpt_paint/sculpt_dyntopo.c (+3, -0) (Diff)
/source/blender/gpu/intern/gpu_buffers.c (+146, -19) (Diff)
/source/blender/makesdna/DNA_meshdata_types.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021