Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 971 Bytes

README.md

File metadata and controls

35 lines (24 loc) · 971 Bytes

A realtime spheretracer developed for my bachelors thesis. Does render primitives as well as distance fields which can be computed from meshes using a compute shader.

howto

(clone this repository):

git clone --recursive https://github.com/Moarqi/ba_spheretracer

cmake && make:

mkdir build && cd build && cmake .. && make -j<threads>

The build will probably only work on linux machines!

Usage

Execute Spheretracer in the build directory. Three different demo scenes can be selected in the imgui debug overlay.

Use the keys WASD to move the camera. Rotate by clicking and moving the mouse.

warning

Creating the distance field can result in incomplete 3D textures if the graphics driver does time out. The timeout differs for different operating systems. To disable the timeout on linux for nvidia hardware completely, I followed this guide: https://forums.developer.nvidia.com/t/a-warning-message-from-cuda-visual-profiler/23490/4