Loads meshes from a COLLADA file
Loads a mesh from a COLLADA file. The entire scene graph in the file is flattened to provide a single mesh. Vertex positions are always loaded, optionally normals, texture coordinates and vertex colors are loaded too. If vertex colors are present in the file, they are loaded, otherwise the diffuse color of materials in the file is used. If neither is present, all vertex colors are set to white. If specified in descr
, the origin of the mesh is moved.
- Parameters
-
| path | path of the model file relative to the models/ folder |
[out] | mesh | stores the loaded mesh |
| descr | Provides options for the loading operation. |