Add Visual Studio 2012 template for SDL
Clear up README.md file
Slightly different main scene.
Add a window caption. When the rendering finishes, the rendertime is printed there.
Merge branch 'add-visual-studio-2012-template' of https://github.com/xswordsx/trinity
Beautification.

Add comments.
Move some static methods to belong to their respective classes.
Loading from EXR files. Not tested yet.
hdr2exr tool. Initializing - needs a lot more work.
hdr2exr mostly complete.
Update .gitignore
Fix a bug in EXR reading.
Add a few remappings.
Pre-lecture commit: implement cubemap environment (but don't actually use it).

Also, some cubemaps for testing. Using the forest HDR probe from Paul Debevec's repository.
Hours 1 & 2
Reflection, Glossy reflections, refraction, layered shader and Fresnel texture.
Replace getRandomDiscPoint() with a smarter version.
Arrange a different scene. Add a fix for CsgDiff normals issue.

Also, implement Geometry::isInside() (related to the CsgDiff fix) for all
known geometries.
Add a hack to speed up the rendering of glossy reflections.

Don't evaluate fully a glossy reflection if the ray we're dealing with
isn't a camera ray (depth = 0). If it's somewhere deeper in the pipeline,
shoot out 5 rays only.

This pretty much avoids the combinatorial explosion that the scene
exhibits: when the numSamples of the glossy sphere is increased
to 120, the rendertime increases almost exponentially. Some figures:

120 samples, without the hack: rendertime: 753 seconds (!!)
120 samples, with the hack   : rendertime: 9 seconds.
hdr2exr: Fix a bug with the rescaling algo.
hdr2exr: add the image file name and size to the preview window.