Skip to content

mmrrqq/ba_spheretracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages