OpenGL Data?
-
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?
-
You may want to repost this in the developer's forum, or even the plugins forum. Those nuts and bolts guys would be most likely to be able to help.
-Brodie
Advertisement