载入中...
搜索中...
未找到
eve::model3d::ModelLoadOptions结构体 参考

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.

在文件 Model3D.h28 行定义.

类成员变量说明

◆ flipUVs

bool eve::model3d::ModelLoadOptions::flipUVs = true

在文件 Model3D.h33 行定义.

被这些函数引用 eve::model3d::modelCacheKey().

◆ generateNormalsIfMissing

bool eve::model3d::ModelLoadOptions::generateNormalsIfMissing = true

Missing normals are generated smoothly (per-vertex) instead of flat.

在文件 Model3D.h31 行定义.

被这些函数引用 eve::model3d::modelCacheKey().

◆ improveCacheLocality

bool eve::model3d::ModelLoadOptions::improveCacheLocality = true

在文件 Model3D.h34 行定义.

被这些函数引用 eve::model3d::modelCacheKey().

◆ joinIdenticalVertices

bool eve::model3d::ModelLoadOptions::joinIdenticalVertices = true

在文件 Model3D.h32 行定义.

被这些函数引用 eve::model3d::modelCacheKey().

◆ triangulate

bool eve::model3d::ModelLoadOptions::triangulate = true

在文件 Model3D.h29 行定义.

被这些函数引用 eve::model3d::modelCacheKey().


该结构体的文档由以下文件生成: