|
VisuTwin Canvas
C++ 3D Engine — Metal Backend
|
Configuration options for OBJ loading. More...
#include <framework/parsers/objParser.h>
Public Attributes | |
| bool | flipWinding = false |
| If true, reverse face winding order. | |
| bool | flipYZ = false |
| If true, swap Y and Z axes (Z-up CAD -> Y-up engine) and negate new Z. | |
| bool | generateNormals = true |
| Generate smooth normals when the OBJ file has no normals. | |
| bool | generateTangents = true |
| Generate tangents for normal mapping. | |
| std::string | mtlSearchPath |
| Override MTL search path (empty = same directory as .obj file). | |
| float | uniformScale = 1.0f |
| Uniform scale applied to all vertex positions (e.g., 0.001 for mm -> m). | |
Configuration options for OBJ loading.
Definition at line 25 of file objParser.h.
| bool visutwin::canvas::ObjParserConfig::flipWinding = false |
If true, reverse face winding order.
Definition at line 34 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().
| bool visutwin::canvas::ObjParserConfig::flipYZ = false |
If true, swap Y and Z axes (Z-up CAD -> Y-up engine) and negate new Z.
Definition at line 31 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().
| bool visutwin::canvas::ObjParserConfig::generateNormals = true |
Generate smooth normals when the OBJ file has no normals.
Definition at line 37 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().
| bool visutwin::canvas::ObjParserConfig::generateTangents = true |
Generate tangents for normal mapping.
Definition at line 40 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().
| std::string visutwin::canvas::ObjParserConfig::mtlSearchPath |
Override MTL search path (empty = same directory as .obj file).
Definition at line 43 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().
| float visutwin::canvas::ObjParserConfig::uniformScale = 1.0f |
Uniform scale applied to all vertex positions (e.g., 0.001 for mm -> m).
Definition at line 28 of file objParser.h.
Referenced by visutwin::canvas::ObjParser::parse().