sg_gl_obj

OpenGL scene graph OBJ meshes

 
 
View on GitHub
Download as .tar.gz
Download as .zip

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),
  },
}

See also: sg_gl_mesh, obj_loader