Toggles for the Assimp post-processing steps applied by medialoader on decode. All default to on (matches the historical behavior); disabling a step changes vertex/triangle layout (e.g. joinIdenticalVertices=false keeps per-face vertices for hard-edged flat shading). Normals are generated with aiProcess_GenSmoothNormals when a mesh lacks them (see the configure-time medialoader patch in CMakeLists.txt), keeping hard seams beyond the 80-degree smoothing angle. 更多...
#include <Model3D.h>
Public 属性 | |
| bool | triangulate = true |
| bool | generateNormalsIfMissing = true |
| bool | joinIdenticalVertices = true |
| bool | flipUVs = true |
| bool | improveCacheLocality = true |
详细描述
Toggles for the Assimp post-processing steps applied by medialoader on decode. All default to on (matches the historical behavior); disabling a step changes vertex/triangle layout (e.g. joinIdenticalVertices=false keeps per-face vertices for hard-edged flat shading). Normals are generated with aiProcess_GenSmoothNormals when a mesh lacks them (see the configure-time medialoader patch in CMakeLists.txt), keeping hard seams beyond the 80-degree smoothing angle.
类成员变量说明
◆ flipUVs
◆ generateNormalsIfMissing
| bool eve::model3d::ModelLoadOptions::generateNormalsIfMissing = true |
◆ improveCacheLocality
◆ joinIdenticalVertices
◆ triangulate
该结构体的文档由以下文件生成:
- src/modules/model3d/Model3D.h