OGRECave / scape

Scape terrain editor

Home Page:http://www.decarpentier.nl/downloads/ScapeDocs/UserGuide.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for OpenEXR

kPYKx7Ddw4n1aIKZ opened this issue · comments

I think it might be useful to add support for OpenEXR in importing/exporting images.
According to their website they have:

Support for 16-bit floating-point, 32-bit floating-point, and 32-bit integer pixels.

If I understood it right, OGRE itself even has OpenEXR support by the EXRCodec plugin, which, however seems to lack some features:
https://github.com/OGRECave/ogre/blob/cd252a4e151fb5aa8550db016963a098c29ee9f0/PlugIns/EXRCodec/src/OgreEXRCodec.cpp#L60-L64

Codec_STBI can also write HDR files (32bit float RGBA) and Codec_FreeImage can even directly write EXR files.