Vixen
dd8b0a81
csharp
public enum MeshGroupSource

Where a mesh's face groups came from, and therefore what a group boundary means.

Read the guide page for this →

Remarks

⚠ A group id says nothing on its own about whether the boundary around it is real, and two stages of the content pipeline treat it as though it did. docs/plan/41 § D4 makes a group boundary a hard feature and docs/plan/42 § D3 makes it partition the charts "first and unconditionally" — both because a group boundary is somewhere a material changes, so a seam there costs nothing that has not already been paid. That reasoning holds for Assigned and is simply false for Coplanarity.

⚠ The failure this exists to prevent is silent and enormous. Regroup groups faces that are coplanar to within about half a degree; on a faceted surface out of a generator or a sculpt almost no two adjacent triangles are, so every triangle is its own group. Read as material boundaries that is every edge of the mesh declared a crease and every triangle declared its own chart — measured on a 25 439-triangle image-to-3D mesh as 13 965 charts and a patch layout that refused outright.

Fields and properties (2)

  • Coplanarity

    Coplanar connected components, as Regroup computes them.

  • Assigned

    An assignment somebody made: a material a file declared, or a group a tool put a face in.

Used by (15)

  • CharterVixen.Geometry.Uv
  • EditMeshVixen.Geometry
  • FacetedSurfaceTestsVixen.Geometry.Remeshing.Tests
  • FeatureDetectorVixen.Geometry.Remeshing
  • ManifoldMeshVixen.Geometry.Remeshing
  • MapBakerVixen.Geometry.Remeshing
  • MeshBooleanVixen.Geometry
  • MeshGroupSourceTestsVixen.Geometry.Tests
  • MeshMapTestsVixen.Geometry.Remeshing.Tests
  • MeshOperationsVixen.Geometry
  • MeshShapesVixen.Geometry
  • SeamGraphVixen.Geometry.Uv
  • TriangleSoupVixen.Geometry.Remeshing
  • UvFacetedGroupTestsVixen.Geometry.Uv.Tests
  • ModelGeometryVixen.Editor.Assets