Five spheres with coloured lights

Created 12th September, 2014 05:26 (UTC), last edited 31st July, 2018 04:40 (UTC)
Five spheres with coloured lights

Compared to the white sphere the internals of the ray tracer are a good deal more sophisticated by here:

  • A model type that allows aggregation of geometry, and affine transformations (although only translations are used).
  • A pinhole camera that has real-world focal length (50mm) and film size (35mm), but linear exposure.
  • Multiple lights each with their own colour.

There is still no surface physics other than a very simple hard coded shading model — the colour on the spheres all comes from the colours of the lights.

This extra complexity, both in terms of the models and the capabilities mean that this render is about 25 times slower than the last. See the code at Scenes/early/five-spheres-coloured-lights.cpp.

Other sizes

Categories: Early test images