Configuration for the OBJ to scene converter.
More...
|
|
std::string | inputMeshPath |
| | Input OBJ path. Textures paths should be relative to it.
|
| |
|
std::string | outputPath = "./" |
| | Output directory path. Should already exists.
|
| |
|
std::string | outputName = "scene" |
| | Scene name, will be used as a prefix for all files.
|
| |
|
bool | generateMap = false |
| | Generate a RGB color 8x8 image.
|
| |
|
glm::vec3 | valuesMap = glm::vec3(0.5f, 0.0f, 1.0f) |
| | Values for the generated image.
|
| |
|
| const std::vector< KeyValues > & | arguments () const |
| |
| void | registerSection (const std::string &name) |
| |
| void | registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::vector< std::string > ¶ms={}) |
| |
| void | registerArgument (const std::string &longName, const std::string &shortName, const std::string &details, const std::string ¶m) |
| |
Configuration for the OBJ to scene converter.
Inherits Config.
◆ ObjToSceneConfig()
| ObjToSceneConfig::ObjToSceneConfig |
( |
const std::vector< std::string > & |
argv | ) |
|
|
inlineexplicit |
Initialize a new config object, parsing the input arguments and filling the attributes with their values.
- Parameters
-
| argv | the raw input arguments |
The documentation for this class was generated from the following file:
- src/tools/objtoscene/ObjToScene.cpp