3ds Max C++ API Reference
Loading...
Searching...
No Matches
triangulation algorithms

Enumerations

enum  MNMeshTriangulationType { TRIANGULATION_LEGACY = 0 , TRIANGULATION_ENHANCED_2023_1 = 1 , TRIANGULATION_ENHANCED_2024 = 2 }
 

Detailed Description

Enumeration Type Documentation

◆ MNMeshTriangulationType

Enumerator
TRIANGULATION_LEGACY 

Legacy triangulation algorithm, implemented in the function MaxSDK::FindDiagonals, and offered by the MNMesh::RetriangulateFace function prior to Max 2024.

O(deg * deg) time complexity.

TRIANGULATION_ENHANCED_2023_1 

Improved triangulation algorithm, implemented in the function MaxSDK::BuildDiagonals, with version parameter MaxSDK::TRIANGULATION_VER_2023_1; generates superior results for multiply-connected faces, faces containing collinear vertices, and grossly non-planar faces.

O(deg * deg) time complexity on average.

TRIANGULATION_ENHANCED_2024 

Improved triangulation algorithm, implemented in the function MaxSDK::BuildDiagonals, with version parameter MaxSDK::TRIANGULATION_VER_204; improves upon the treatment of the TRIANGULATION_ENHANCED_2023_1 algorithm with better handling of non-planar faces, and geometric degeneracies such as spur edges and self-intersecting bounding curves.

O(deg * deg) time complexity on average.

176{
186};
@ TRIANGULATION_ENHANCED_2024
Improved triangulation algorithm, implemented in the function MaxSDK::BuildDiagonals,...
Definition: mnmesh.h:182
@ TRIANGULATION_ENHANCED_2023_1
Improved triangulation algorithm, implemented in the function MaxSDK::BuildDiagonals,...
Definition: mnmesh.h:179
@ TRIANGULATION_LEGACY
Legacy triangulation algorithm, implemented in the function MaxSDK::FindDiagonals,...
Definition: mnmesh.h:177