top of page
voxelRaytracer1.png

Voxel Raytracer

Features

  • Pathtraced voxel scenes 
  • Custom octree acceleration structure
  • Custom 3 level DDA acceleration structure 
  • Model voxelization
  • Pathtraced shadows
  • Pathtraced reflections

Team

  • 1 programmer

Tech

  • DirectX 12
  • C++
This voxel raytracer is a self-study project I started in my third year at Breda University. The raytracer is my first introduction to acceleration structures and compute shaders. This project is still under development, so expect improvements in quality and speed in the future.
 

download

github.png

more images

ray traversal methods

Octree Traversal

One of the ways I am able to traverse the voxel scenes in my renderer is through Octrees. In the project I have experimented with two different top-down octree traversal algorithms.

The first octree traversal algorithm I implemented was without following a paper. It is not used anymore, but the code can still be found on my Github.

The second octree traversal I implement was from a paper here. The first traversal method I used ended up being faster however, since it had lower memory usage. It's code can also be found on my GitHub here

DDA Traversal

Due to the high memory usage of octrees I found them impractical to use on the GPU. The traversal method I use now is a 3 level DDA Algorithm, which works well due to it's lower memory usage and simple traversal steps. the code for this can be found on my GitHub here.
octreeVisualization.png
3layer.png

Bart van Dongen

©2022 by Bart van Dongen. Created with Wix.com

bottom of page