enum MAGES::MeshDeformations::UvMappingMode

Overview

Selects which UV generator the transfer bake uses to unwrap a simulation mesh’s boundary surface. More…

enum UvMappingMode
{
    BoxProjection    = 0,
    PerTriangleAtlas = 1,
};

Detailed Documentation

Selects which UV generator the transfer bake uses to unwrap a simulation mesh’s boundary surface.

Lives in the runtime namespace so SimulationMeshSurface.GenerateWedgeUVs can accept it, even though the bake window currently inlines the dispatch (it needs the per-vertex UVs for the albedo baker). Both modes preserve the .tetuv sidecar format and are deterministic.

Enum Values

BoxProjection

Orthographic box projection onto the 6 signed cardinal planes (AutoUV). Fast and contiguous, but concave pockets can starve/overlap. Default — preserves historical behavior.

PerTriangleAtlas

One disjoint atlas cell per boundary triangle (PerTriangleAtlas). No holes by construction and zero per-triangle distortion, at the cost of a seam on every triangle edge.