Skip to content

LizzyXR/raytracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 

Repository files navigation

Caution

This does NOT work on wayland, only X11


rewrite soon?

required packages

debian based: sudo apt -y install libx11-dev
arch based: sudo pacman -S --noconfirm --needed libx11

How to compile?

g++ -O3 main.cpp -lX11 -o raytracing

..but how do I run it?

./raytracing width height


Note

If something isn't working accordingly, run echo $DISPLAY, go to line 275 in main.cpp and change :0 to the number that the command echoed, then recompile.

About

C++ raytracing inside the terminal (X11 only)

Resources

Stars

Watchers

Forks

Contributors

Languages