A small wireframe OBJ mesh viewer for Plan 9. It renders triangular OBJ meshes using the Plan 9 draw library and provides keyboard controls for orbiting, panning, and dollying the camera.
mk
Run the locally built executable with an OBJ file:
8.out objs/bunny.obj
The included parser expects simple triangular OBJ files containing:
v x y z
f i j k
| Key | Action |
|---|---|
| Left / Right | Orbit horizontally |
| Up / Down | Orbit vertically |
W / S |
Pan up / down |
A / D |
Pan left / right |
E / R |
Dolly in / out |
| Delete | Exit |
