Unofficial OpenGL Software Development Kit 0.5.0
API for static mesh objects.
The glmesh::Mesh class is used to build a static mesh object which can be bound and rendered with OpenGL. There are a number of functions to generate meshes, but you can build your own mesh object from your own data if you so desire.
Some of the classes listed under the immediate mode API can be very useful for creating static meshes. VertexFormat is very handy for creating VAOs. Also, CpuDataWriter can be used to create vertex data for a mesh. You can upload it to a buffer object, and then store it in a glmesh::Mesh object.
Here is an example of how to manually build meshes:
|A list of rendering commands to be used by a Mesh. More...|
|An object that represents a static collection of mesh data. More...|
typedef std::map< std::string, |
|A list of variations of named variations of a mesh. Each name maps to a VAO to render from. |