Tucano
0.1
A library for rapid prototyping with modern OpenGL and GLSL
|
Functions | |
static void | loadObjFile (Mesh *mesh, string filename) |
Loads a mesh from an OBJ file. More... | |
static bool | loadPlyFile (Mesh *mesh, string filename) |
Loads a mesh from an PLY file. More... | |
static int | normal_cb (p_ply_argument argument) |
static int | color_cb (p_ply_argument argument) |
static int | vertex_cb (p_ply_argument argument) |
static int | face_cb (p_ply_argument argument) |
|
static |
|
static |
|
static |
Loads a mesh from an OBJ file.
Loads vertex coordinates and normals, texcoords and color when available.
mesh | Pointer to mesh instance to load file. |
filename | Given filename of the OBJ file. |
|
static |
Loads a mesh from an PLY file.
mesh | Pointer to mesh instance to load file. |
filename | Given filename of the PLY file. |
|
static |
|
static |