Hi, i have been using Lua with OpenGL recently and it takes a format like this for the models/shapes/surfaces -
-- Right face
gl.TexCoord( 0, 0 ) gl.Vertex( 1, 1, 1 )
gl.TexCoord( 0, 1 ) gl.Vertex( 1, -1, 1 )
gl.TexCoord( 1, 1 ) gl.Vertex( 1, -1, -1 )
gl.TexCoord( 1, 0 ) gl.Vertex( 1, 1, -1 )
etc... which would be one face of a cube for example. So i was wondering if there is any exporter script or quick way i could get similar values to the TexCoord and Vertex values used in this example?