|
RenderEngine
|
Go to the source code of this file.
Functions | |
| bool | loadOBJ (const char *path, std::vector< glm::vec3 > &out_vertices, std::vector< glm::vec2 > &out_uvs, std::vector< glm::vec3 > &out_normals) |
| bool | loadAssImp (const char *path, std::vector< unsigned short > &indices, std::vector< glm::vec3 > &vertices, std::vector< glm::vec2 > &uvs, std::vector< glm::vec3 > &normals, bool flipUV=false) |
| loadAssImp | |
| bool | loadOBJMTL (const char *path, Group *outputmesh) |
| loadOBJMTL | |
| bool loadAssImp | ( | const char * | path, |
| std::vector< unsigned short > & | indices, | ||
| std::vector< glm::vec3 > & | vertices, | ||
| std::vector< glm::vec2 > & | uvs, | ||
| std::vector< glm::vec3 > & | normals, | ||
| bool | flipUV = false |
||
| ) |
loadAssImp
Load obj file using the assimp library.
| bool loadOBJ | ( | const char * | path, |
| std::vector< glm::vec3 > & | out_vertices, | ||
| std::vector< glm::vec2 > & | out_uvs, | ||
| std::vector< glm::vec3 > & | out_normals | ||
| ) |
| bool loadOBJMTL | ( | const char * | path, |
| Group * | outputmesh | ||
| ) |
loadOBJMTL
Load obj files and correspondign mtl files using the assimp library.