Skip to content

baroxyton/raytracing-cpp

Repository files navigation

Naive raytracing demo using terminal graphics

This project renders a 3d world inside the terminal using ANSI (Truecolor).

Implementation based on this wikipedia article: https://en.wikipedia.org/wiki/Ray_tracing_(graphics)

Tested in Wezterm and Alacritty

Building

git clone https://github.com/baroxyton/raytracing-cpp &&
cd raytracing-cpp &&
make

Rotating camera frame demo

demo

Side-By-Side 3D demo

demo

the resulting image can be viewed with depth perception using eye-crossing, or SBS VR glasses

About

A raytracing demo in c++, rendered inside the terminal

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors