darbyjohnston / tlRender

tlRender is an open source library for building playback and review applications for visual effects, film, and animation.
BSD 3-Clause "New" or "Revised" License
193 stars 22 forks source link

Added support for Radiance HDR (.hdr) files. #126

Closed ggarra13 closed 1 year ago

ggarra13 commented 1 year ago

This modification to the STB reader adds support for loading and saving HDR files.

darbyjohnston commented 1 year ago

I think this might be better as a local modification to your branch. I was reluctant to accept the initial STB support since it adds extra complexity that is not widely used, and I would prefer not to extend it even more. We are almost a quarter of the way into the 21st century, it's time to migrate to newer file formats like EXR. I believe OpenImageIO provides good support for converting older files to newer formats.