sgsrules's picture

loading .HDR and .EXR images

I'm trying to use hdr and exr images in my renders but i can't find any libraries that load these formats for c# or .net I'm currently using System.Windows.Media.Imaging for all my bitmap needs but theres nothing in there for hdr. Any suggestions?


Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Rogue's picture

You might try DevIL, and its .Net wrapper Tao.DevIL. It supports saving and loading of both ofd those formats, as well as a whole bunch of others. The Tao framework can be downloaded here, but the official website has been down for a while now. I've never used it myself but it's pretty popular and is licensed under LGPL.

sgsrules's picture

Thanks rogue this is exactly what i needed