Difference between revisions of "Mesh classes - geometry container classes"
From LinuxMCE
Line 4: | Line 4: | ||
- a list of triangles which keeps 3 indices to vertexes, one pointer to an OpenGLGraphic (the picture that is setup for every triangle) | - 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 | - MeshBuilder: helper class that creates a MeshContainer | ||
+ | |||
+ | - MeshTransform: a class that keeps all transformations that may apply to a MeshContainer. No object is drawn on the screen with default geometry. To all geometry are applied one or more transformations, even they does nothing or they do more transforms |
Revision as of 17:27, 14 September 2006
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. |
- 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
- MeshTransform: a class that keeps all transformations that may apply to a MeshContainer. No object is drawn on the screen with default geometry. To all geometry are applied one or more transformations, even they does nothing or they do more transforms