local obj_loader = require'obj_loader'
obj_loader.load(file[, use_cache]) -> mesh_object
Loads an wavefront obj file into an OpenGL scene graph mesh object that can be rendered with sg_gl.
Supports groups with triangle and quad faces and textures with uv texcoords.
The resulting VBO and IBO arrays and IBO partitions can be cached to a temp file for a small speed increase with
See also: obj_parser, sg_gl_obj
2 years ago
Edit on GitHub