A simple research-oriented image viewer with an emphasis on examining and comparing high-dynamic range (HDR) images, and including minimalistic editing and tonemapping capabilities.
nanogui (at least with metal backend) seems to use sRGB/Rec. 709 primaries and whitepoint (D65), but can display on wide gamut monitors which use the Display P3 colorspace by using RGB values < 0 and > 1.
OpenEXR also by default uses the sRGB/Rec. 709 primaries and whitepoint.
If an OpenEXR file specifies different chromaticities and whitepoint, convert the pixel values (either directly upon load, or only during display in the fragment shader) by multiplying by a file-RGB-to-sRGB matrix.
nanogui (at least with metal backend) seems to use sRGB/Rec. 709 primaries and whitepoint (D65), but can display on wide gamut monitors which use the Display P3 colorspace by using RGB values < 0 and > 1.
OpenEXR also by default uses the sRGB/Rec. 709 primaries and whitepoint.
If an OpenEXR file specifies different chromaticities and whitepoint, convert the pixel values (either directly upon load, or only during display in the fragment shader) by multiplying by a file-RGB-to-sRGB matrix.
Some useful resources: