- System packages (as named in Debian): libassimp-dev libopenexr-dev libglew-dev libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev libboost-all-dev cmake
- OpenGL ES 3.10 capable driver
- C++14 capable compiler
- internet connection (cmake will download some other dependencies)
git clone https://github.com/acriaer/light-welter.git
cd light-welter
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j4
cd ..
./build/demo_app <rtc_file> [--<config_option_name>=<config_option_value>]*
You should see two windows: one for the opengl preview and one for the raytracer's output image. Press ENTER key to start raytracing. You can alse use some other keys:
- X -- unlock free camera movement
- WSADQE -- move the camera around
- arrow keys -- change camera orientation
- +/- -- increase/decrease the field of view
- ESCAPE -- quit
For now please only use "standard" resolutions, i.e. 640x480 instead of 600x400.
- --interactive=0 ; disable gui
- --threads=8 ; threadpool size
- --samples_per_pixel=120
- --resx=1280
- --resy=720
SDL2pp
spdlog
pugixml
GLM
CMakeRC