Skip to content

abxh/asciirast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

376 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asciirast

A software rasterizer based on the classical OpenGL graphics pipeline made for educational purposes. It is meant to both render ascii art and 3D images.

The .obj files are expected to follow a right-handed (-Z forward) Y up coordinate system. See this for details on converting between coordinate systems.

Dependencies

Build steps

Optionally install libsdl2-dev to pre-build the required SDL dependency.

Clone this repository:

git clone --depth=1 https://github.com/abxh/asciirast

Build in release mode preferably for preview:

cmake -DCMAKE_BUILD_TYPE=Release -B build_release
cmake --build build_release -j $(nproc)

Then the executables will be visible in build_release/bin directory. Use -j %NUMBER_OF_PROCESSORS% on windows.

Alternatively, build in debug mode with asserts and debug symbols on:

cmake -DCMAKE_BUILD_TYPE=Debug -B build
cmake --build build -j $(nproc) 

Resources

Start here:

Inspiration:

About

a software rasterizer for ascii and 3d alike

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors