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:
authorJoseph Eagar <joeedh@gmail.com>2021-07-21 05:46:00 +0300
committerJoseph Eagar <joeedh@gmail.com>2021-07-21 05:46:00 +0300
commit70a49560208b1346c037ad24fb268fb190b87b9d (patch)
treefca1b7828f16f53d9e3e748d27a78d59256edbd2 /source/blender/makesdna/DNA_meshdata_types.h
parent7cd74015f8a825fa75a025b40b795ab9f4531ea2 (diff)
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
Diffstat (limited to 'source/blender/makesdna/DNA_meshdata_types.h')
-rw-r--r--source/blender/makesdna/DNA_meshdata_types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_meshdata_types.h b/source/blender/makesdna/DNA_meshdata_types.h
index 38f605d57a2..b9b81bb928c 100644
--- a/source/blender/makesdna/DNA_meshdata_types.h
+++ b/source/blender/makesdna/DNA_meshdata_types.h
@@ -547,7 +547,8 @@ enum {
DYNVERT_BOUNDARY = (1 << 0),
DYNVERT_VERT_FSET_HIDDEN = (1 << 1),
DYNVERT_FSET_BOUNDARY = (1 << 2),
- DYNVERT_NEED_BOUNDARY = (1 << 3)
+ DYNVERT_NEED_BOUNDARY = (1 << 3),
+ DYNVERT_NEED_TRIANGULATE = (1 << 4)
};
#ifdef __cplusplus