|
WoWs Model Exported
World of Warships 3D model Exporter
|
Functions | |
| bool | wows_stitch_geom_to_model (const std::string &geom_path, tinygltf::Model &model_out) |
Load a .geometry file and convert it to a tinygltf model. | |
| bool | wows_stitch_geom_to_model_from_memory (const uint8_t *data, size_t size, tinygltf::Model &model_out) |
Load a .geometry file from a memory buffer and convert it to a tinygltf model. | |
| tinygltf::Model | wows_stitch_merge_parts (std::vector< wows_glb_part > &parts) |
| Merge a list of wows_glb_part objects into a single tinygltf scene. | |
| bool wows_stitch_geom_to_model | ( | const std::string & | geom_path, |
| tinygltf::Model & | model_out | ||
| ) |
Load a .geometry file and convert it to a tinygltf model.
| geom_path | Filesystem path to the .geometry file. |
| model_out | Output parameter filled with the parsed glTF model. |
true on success. | bool wows_stitch_geom_to_model_from_memory | ( | const uint8_t * | data, |
| size_t | size, | ||
| tinygltf::Model & | model_out | ||
| ) |
Load a .geometry file from a memory buffer and convert it to a tinygltf model.
| data | Pointer to the raw .geometry file data in memory. |
| size | Size of the data buffer in bytes. |
| model_out | Output parameter filled with the parsed glTF model. |
true on success. | tinygltf::Model wows_stitch_merge_parts | ( | std::vector< wows_glb_part > & | parts | ) |
Merge a list of wows_glb_part objects into a single tinygltf scene.
Each part's mesh nodes are added under a root node and transformed by the part's matrix field.
| parts | Parts to merge; modified in-place (meshes are moved out). |