lights FAQ Forum github.com/luapower/obj_parser
obj_loader
obj_parser

3D Graphics
opengl
sg
obj_parser
glut

obj_loader

wavefront OBJ loader


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 use_cache.


See also: obj_parser, sg_gl_obj


Last updated: 2 years ago | Edit on GitHub

Pkg type:Lua+ffi
Version: r1-14-g362a30c
Last commit:
License: PD
Requires: glue  luajit  stdio  tuple 
Required by: sg 

Top