diff --git a/port/PyAssimp/pyassimp/postprocess.py b/port/PyAssimp/pyassimp/postprocess.py index 3c1ae976e..4bec1e288 100644 --- a/port/PyAssimp/pyassimp/postprocess.py +++ b/port/PyAssimp/pyassimp/postprocess.py @@ -36,13 +36,21 @@ aiProcess_JoinIdenticalVertices = 0x2 # aiProcess_MakeLeftHanded = 0x4 -##
Triangulates all faces of all meshes. +##
Triangulates all faces of all meshes. # # By default the imported mesh data might contain faces with more than 3 -# indices. For rendering you'll usually want all faces to be triangles. -# This post processing stepaiProcess_ForceGenNormals -##
Removes some parts of the data structure (animations, materials, -# light sources, cameras, textures, vertex components). +# indices. For rendering you'll usually want all faces to be triangles. +# This post processing step splits up faces with more than 3 indices into +# triangles. Line and point primitives are *not* modified! If you want +# 'triangles only' with no other kinds of primitives, try the following +# solution: +# - Specify both #aiProcess_Triangulate and #aiProcess_SortByPType +# - Ignore all point and line meshes when you process assimp's output +# +aiProcess_Triangulate = 0x8 + +#
Removes some parts of the data structure (animations, materials, +# light sources, cameras, textures, vertex components). # # The components to be removed are specified in a separate # configuration option, #AI_CONFIG_PP_RVC_FLAGS. This is quite useful