Skip to content

An interactive .obj file renderer implemented entirely in ascii through your terminal.

Notifications You must be signed in to change notification settings

fingoldin/3dascii

Repository files navigation

ASCII .obj file viewer

This is a simple .obj file viewer that render to your terminal with ascii. It allows you to view arbitrary 3D models using a FPS camera. When running, use the WASD keys to move forward, left, backward, and right, and the arrows keys to rotate your view. The R key enables/disabled rotation of the model around itself. It can handle up to ~100,000 polygons on a 2018 i7 (there is no GPU acceleration).

Example

This is a violin case. The model can be found in models/violin_case.obj, and it contains 944 polygons. Image of Violin Case

Dependencies

The curses library

Building

Run make from this directory.

Running

Run ./main [file.obj] from this directory.

About

An interactive .obj file renderer implemented entirely in ascii through your terminal.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published