Skip to content
/ adgr Public

CPU Raytracer used in Advanced Graphics course

Notifications You must be signed in to change notification settings

Athosvk/adgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRT

This is a CPU Raytracer written as part of the Advanced Graphics course, taught by Jacco Bikker at Utrecht Unversity.

This is a multi-threaded, CPU-based ray-tracer that can run in real-time.

Notable features

  • Reflective/refractive materials, with absorption factor through Beer's law.
  • Point, directional and spotlights
  • Mesh loading through assimp.
  • Dynamic BVH debuggin interface through Egui.
  • High-speed BVH building based on the paper by Wald.
  • Triangle displacement mapping in raytracing, based on the paper by Smits et al., though not fully operational

BVH Debugging

As one of the primary goals of this project is proper and fast BVH construction, we added some options for visualizing the BVH hits in several ways:

  • Traverse Only: Only show the visualization of traversing the BVH.
  • Blend: Still show the triangle hits, evaluating material results.
  • Exclude Hits: Do not blend the debug visualization colors when a triangle is hit.

BVH Debug

Showcase

Displacement mapping

Displacement

Primitives

Primitives

Materials

Materials

Model Loading

Models

Lighting

Lighting

About

CPU Raytracer used in Advanced Graphics course

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages