How to create a HDR image in C#

Bryan Valencia 181 Reputation points

I am looking to generate an HDRI image to use in video games as a sky dome. I am NOT looking to take 350 images at various exposures and stitch them into an HDRI skymap.

I want to create a "canvas", paint on it in code (like you would with an "System.Drawing.Image"), and saving it as a Radiance .hdr or .exr file.

Clearly there MUST be code somewhere to help with this, but the only discussions I see don't give any specifics.

Is there a NuGet package, or something that will get me started?

Oh, also, I'm not looking for the radiance scene description language that will use the Radiance renderer. I want to create hdr images in code.

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,619 questions
{count} votes