Category: Wootracer

Pathtraced cornell box 0

Path Tracing 1

Having built a Cornell Box I’ve finally got round to doing the first few diffuse inter-reflection tests on the raytracer. I know what you’re thinking: What the hell am I talking about? Diffuse inter-reflection...

Glossy ephere 0

Glossy reflections

Up to now the reflections that have been visible from the raytracer have been perfect reflections. This means that we only need to trace a single reflection ray and we can do perfect mirrors...

spherical area lights (RGB) 0

Spherical Light

One of the things that’s typically very difficult to model in a rendering engine is an area light source. In raytracing this becomes relatively straightforward (although computationally expensive!). I’ve covered a type of global...

Cornell box raytrace rendering with real colours 0

The Cornell Box

The cornell box is a simple geometric scene used to test raytracer accuracy. I finally got round to setting up my own cornell box primitive so I can start to test global lighting solutions....

Menger Spaceship 0

Menger Fractals

The last article I wrote was all about raytracing the Menger Sponge. When I implemented the Menger Sponge algorithm I was careful to keep a certain amount of configurability in the system. The pseudocode...

mengerprimitive8 2

Menger Sponge

The Menger Sponge is a fairly simple three dimensional fractal. The basic idea is that you have a cube, you split it into a 3x3x3 lattice of cubes, and take away the cubes in...

importancesampling 0

Importance Sampling

A little while ago I did a short piece on my attempts to get global lighting working. To be honest I was pretty disappointed with the results so I’ve continued to look into alternative...

testglobalfinal 0

Global lighting

I thought I’d put a quick post together to talk about some work I’ve been doing with global lighting models. Up to now most of the light sources I’ve used in the raytracer have...