mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-14 19:41:44 +00:00
bd128ab181
Importers fan-triangulate quads and n-gons, and the 3D and UV wireframes drew every triangle edge, so a quad mesh showed its triangulation. Meshes now carry a per-triangle mask of the diagonals the importer added (Mesh::diagonals), and the wireframe leaves them out (Mesh::wire_edges), unless a UV seam split one from its twin. - OBJ reads polygons whole (tobj without triangulation) and fans them itself. - OBJ, PLY and the polygon sink (FBX, COLLADA, USD, Alembic) share one fan, RawMesh::polygon, which records the diagonals. - The built-in meshes mark their grid quads. - glTF and STL store triangles only, so they keep every edge. Fixes #41