Venstre bilde Senterbilde Høyre bilde

GMlib is an open source programming library in C++ for graphics and simulations. It can be downloaded from the repository at source.coderefinery.org, use the link on the left.

GMlib comes with a demo application that you can use as a starting point to get started.
The core of GMlib is a scene (a Scene class). The scene represents a Euclidean space with affine structure ( BB page 14). The scene has a scene graph, which is a non-cyclic tree (a hierarchical model) of SceneObjects. This means that the Scene has a list of SceneObjects, and each SceneObject also has a list of SceneObjects. The command to insert an object into the scene graph is insert(object). Both the scene and the scene objects have an insert() function. The following rules must be followed: GMlib uses Euclidean space with an Affine structure (BB page 14). GMlib has the following modules: