White sphere

Created 12th September, 2014 05:18 (UTC), last edited 31st July, 2018 04:38 (UTC)
White sphere

This initial test image uses parallel rays and hard coded surface physics to draw the sphere — even the ambient light has a hard coded value. It checks that the ray/sphere intersection functionality works as it should and creates appropriate position and surface normals.

The code for this is in Scenes/early/white-sphere.cpp. Because the model is so simple and so much of the rest of the ray tracer is hard coded this image only takes 0.031s to generate.


Other sizes

Categories: Early test images