Mesh classes - geometry container classes

From LinuxMCE
Revision as of 15:06, 14 September 2006 by Wikiadmin (Talk | contribs)

(diff) ←Older revision | view current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
This page was written by Pluto and imported with their permission when LinuxMCE branched off in February, 2007. In general any information should apply to LinuxMCE. However, this page should be edited to reflect changes to LinuxMCE and remove old references to Pluto.
Mesh classes are over the OpenGL implementations are:

- MeshContainer: geometry keeper, a triangle based triangle keeper.

 A mesh container contains two lists: one list of vertexes, which keeps for every point coordinate and color informations, UV texturing coordinate, etc.
- a list of triangles which keeps 3 indices to vertexes, one pointer to an OpenGLGraphic (the picture that is setup for every triangle)

- MeshBuilder: helper class that creates a MeshContainer