lights FAQ Forum github.com/luapower/sg

3D Graphics
opengl
sg
obj_parser
glut

sg_gl_obj

OpenGL scene graph OBJ meshes


require'sg_gl_obj'

Extends sg_gl to render wavefront OBJ files. Uses obj_loader to parse obj files into sg_gl_mesh mesh objects.

Wavefront obj objects

<obj_object> = {
  type = 'obj',
  file = {
    path = S,
    use_cache = true | false (false),
  },
}

Last updated: 2 years ago | Edit on GitHub

Pkg type:Lua+ffi
Version: dev-21-g0ae3652
Last commit:
License: PD
Requires: cairo  glue  luajit  path2d  pp  eq  +obj_parser  +opengl  +winapi  +stdio  +tuple 
Required by: winapi 

Top