lights FAQ Forum github.com/luapower/sg

3D Graphics
opengl
sg
obj_parser
glut

sg_gl

OpenGL scene graph rendering


local SG = require'sg_gl'

OpenGL scene graph objects

<object> = {
   <group> | ...
}

<group> =
   type = 'group', <object>, ...

SG:new([cache]) -> sg

Create a new scene graph render to render OpenGL scene graph objects on the currently active OpenGL context.

sg:free()

Free the render and any associated resources.

Extensions


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