An experiment with C++, SDL2 and OpenMP-based realtime raytracing.
- Move a sphere using either the arrow keys or
w
,a
,s
,d
. - Switch to the next sphere with
space
ortab
. - Toggle fullscreen with
f
orf11
. - Quit with
q
oresc
. - You can also move the current sphere with a joystick, then press a key to select the next one.
Build and run using cxx
:
cxx run
Just build:
cxx
Or if you wish to generate a CMakeLists.txt
file in the process and then build with ninja
:
cxx cmake ninja
Tested on Arch Linux.
Written in o
.
- Version: 0.1.0
- Author: Alexander F. Rødseth <xyproto@archlinux.org>
- License: MIT