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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public bool UseSimpleTriangulation { get; set; }

Property Value

Boolean

[Missing <value> documentation for "P:Ab4d.SharpEngine.Assimp.AssimpConverter.UseSimpleTriangulation"]

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