xyproto / spheremover

:green_circle: Interactive real-time raytracing on the CPU, using OpenMP, SDL2 and C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sphere Mover

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 or tab.
  • Toggle fullscreen with f or f11.
  • Quit with q or esc.
  • You can also move the current sphere with a joystick, then press a key to select the next one.

Screenshot

screenshot

Building

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.

General info

About

:green_circle: Interactive real-time raytracing on the CPU, using OpenMP, SDL2 and C++

License:MIT License


Languages

Language:C++ 98.8%Language:CMake 1.2%