Minimal terminal 3D OBJ viewer with textured, shaded ASCII output.
- OBJ loading with optional UVs
- Textured shading using 256-color terminal palette
- Real-time rotation and zoom
- Auto-resize to terminal window
- Debug image dump to
out.png
cargo run -- path/to/model.obj --scale 1.0The viewer looks for a texture named shaded.png in the same directory as the
OBJ file. If it is missing, the program will fail to load the texture.
Left/Right: rotate around Y axisUp/Down: rotate around X axis+/=: zoom in-/_: zoom outq/Esc: quit
- Requires a terminal that supports 256 colors.
out.pngis written on each redraw for debugging.
