OpenGL C Code
OpenGL is a cross-platform application programming interface (API) for rendering 2D and 3D
vector graphics. The API is typically used to interact with a graphics processing unit (GPU), to
achieve hardware-accelerated rendering.
Okino's OpenGL export converter writes out the scene database
as a C code program in the Open GL scene description language. The resulting program can then be
compiled and used to draw the 3D database directly using OpenGL. The database is output as a
series of polygons with vertex positions, normals, colors and texture coordinates. In addition,
the surface definitions (materials) associated with each polygon is used to set up the OpenGL
shading parameters. Please note that each object is output as a separate C code function in
the resulting file.
|