- So wäre es gespeichert:
- Welt
- > Materials
- > Material
- ID
- Name
- > Vertices
- Vertex
- Position[3]
- Texcoord[2]
- Normal[3]
- Tangent[3]
- BiNormal[3]
- > Objects
- > Object
- ObjectID
- Start Face Index
- End Face Index
- > Faces
- > Face (Ein face ist 1 dreieck)
- VerticeIndices[3]
- MaterialIndex
- So würde es rerendert werden:
- Für alle Objects
- Von Start Face Index Zu End Face Index aus dem Aktuellen Object
- Material wechsel (glBindTexture)
- Aktuelles Face (Polygon) rendern mit den Vertice Indices