Click or drag to resize
Ab4d.SharpEngine logo

AssimpConverterUseSimpleTriangulation Property

Gets or sets a Boolean that specifies if simple triangle fan triangulation is used instead of standard triangulation. This property is used only when the 3D model is not triangulated by assimp importer (when Triangulate PostProcessSteps is not used). Default value is false.

Namespace: Ab4d.SharpEngine.Assimp
Assembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax
C#
public bool UseSimpleTriangulation { get; set; }

Property Value

Boolean
Remarks

UseSimpleTriangulation gets or sets a Boolean that specifies if simple triangle fan triangulation is used instead of standard triangulation.

Simple triangle fan triangulation is much faster, but can correctly triangulate only convex polygons. Standard triangulation is much slower but can triangulate convex and concave polygons.

This property is used only when the 3D model is not triangulated by assimp importer (when Triangulate PostProcessSteps is not used).

By default standard triangulation is used but if you know that the read models use only convex polygons, you can speed up reading 3D models with setting UseSimpleTriangulation to true.

See Also