This demo shows how to use the PyNGL Obj class to load and display obj files.
This demo loads the obj and an optional texture file which is then converted into a Vertex Array Object (VAO) for rendering.
- Wavefront OBJ file format (Paul Bourke) — the OBJ specification parsed by
ncca.ngl.Obj. - Wavefront .obj — Wikipedia — format overview including MTL and texture-coordinate conventions.
- LearnOpenGL — Mesh — turning loaded vertex/normal/UV data into a renderable VAO.
