Skip to content

Cigg/Voxel-Cone-Tracing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voxel Cone Tracing

Project in TSBK03 - Advanced Game Programming, at Linköping University.

The scene is voxelized and stored in a 3D texture. The voxelized scene representation is "cone traced" in the final rendering step to get indirect light in the scene.

Project members

Oscar Westberg
Mikael Zackrisson

Links

Requirements

  • CMake
  • OpenGL 4.1 support

Tested on Linux and Windows with Nvidia GPUs.

Getting started

Clone the repository using the --recursive flag to get all dependecies.

git clone --recursive https://github.com/Cigg/Voxel-Cone-Tracing.git
cd Voxel-Cone-Tracing

If you already cloned the repo:

git clone https://github.com/Cigg/Voxel-Cone-Tracing.git
cd Voxel-Cone-Tracing
git submodule update --init --recursive

Now generate a project or makefile for your platform

  mkdir bin
  cd bin
  cmake ..

TODO

  • Conservative voxelization
  • Atomic operations for image writing to get an averaged voxel value
  • Better mipmapping (faster + anisotropic)
  • Light injection like in the article
  • Dynamic objects
  • Maybe sparse voxel octree someday

About

Real-time global illumination

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published