I have made an example program demonstrating Reinhard tone mapping. This time using an HDR image rather than the simple sphere and backdrop I was using previously previously. This should hopefully make it easier to compare the differences between HDR tone mapping methods. Currently only Reinhard equations 3 and 4 are supported.
I took the image from here: http://filmicgames.com/archives/75 I hope this is ok – if not let me know.
The source it here : https://github.com/welford/opengl_samples in the project 020a.gl_high_dynamic_range, it should work in VS Express 2010 or 2012. To load the image I modified this Nvidia dds loader, and header file to also load RGBAF16 files. I didn’t change anything else about the loader, just a small hack for this demo.
The controls are: