top of page

Ray Tracer

I created a ray tracer for my second block at The Breda University of Applied Science. The goal was to create a ray tracer with my own math library 

​

The ray tracer is capable of showing multiple different type of materials like diffuse materials reflective materials and refractive materials. 

​

The ray tracer is capable of displaying multiple shapes like planes, quads, spheres, AABB's and OBB's 

Math library and unit testing

For this project I created my own math library. The library was focused on the ray tracer. The math was focused on 3d vectors and 3/4d matrices.

​

My school gave me a unit tester to check the correctness of my math library. 

BVH

The raytracer makes use of a Bounding volume hierarchy. The BVH only gets created once at the startup of the project.  This allows to have a lot of objects on screen at the same time

bottom of page