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
| bool eve::model3d::ModelLoadOptions::flipUVs = true |
被这些函数引用 eve::model3d::modelCacheKey().
◆ generateNormalsIfMissing
| bool eve::model3d::ModelLoadOptions::generateNormalsIfMissing = true |
Missing normals are generated smoothly (per-vertex) instead of flat.
被这些函数引用 eve::model3d::modelCacheKey().
◆ improveCacheLocality
| bool eve::model3d::ModelLoadOptions::improveCacheLocality = true |
被这些函数引用 eve::model3d::modelCacheKey().
◆ joinIdenticalVertices
| bool eve::model3d::ModelLoadOptions::joinIdenticalVertices = true |
被这些函数引用 eve::model3d::modelCacheKey().
◆ triangulate
| bool eve::model3d::ModelLoadOptions::triangulate = true |
被这些函数引用 eve::model3d::modelCacheKey().
该结构体的文档由以下文件生成:
- src/modules/model3d/Model3D.h