twilight11.png

Ray Tracing Experiments

2D

Recently I’ve been experimenting more with ray tracing. One area of exploration was ray tracing in 2D to explore light paths through transparent objects. This is also a kind of ‘sequel’ to my 2D lighting engine. Ray tracing grants soft shadows essentially for free.

Handling Large Scenes

A second area of exploration was rendering large scenes. This involved improvements to my previous multithreading algorithm and a new KDTree implementation.

To debug this I used a second rasterising renderer on the same scene. This allowed for visualisation of the KDTree.

Also yes I’m aware it’s very ugly! But that’s not the point. ;)

test5.png