OBJ Loader
A basic model, such as from an OBJ file, will have:
- Vertex data - XYZ positions
- Polygon data - list of vertices
- Color data - per polygon or per vertex
For an OBJ model, we store:
- List of vertex positions - indexed by number
- List of materials (colors) - indexed by name
- List of drawing commands - "usemtl" or "f"