New Pixel Formats

I’ve been adding support for some new high dynamic range (HDR) pixel formats to the engine.  I added a 32-bit per-pixel integer format (A32B32G32R32) that can be used with OpenEXR images.  The image processing library in the engine can be used to copy (blt) an image buffer in this format to another format, such as a floating-point pixel format.  I’m also working on some shared-exponent RGBE pixel formats such as E8B8G8R8 and E5B9G9R9.  The engine can already load and save HDR images.  However, there doesn’t seem to be a standard way of encoding and decoding the pixels.  It appears that Microsoft is doing things a little differently than the original implementations of the RGBE format by Greg Ward.  I’ll have to do a little more research.  Also, I want to add support for the new DX10 block compressed pixel formats, but I’ll probably wait until later to finish them.

About Eric DeBrosse

Lead developer of the Orion Engine.
This entry was posted in Engine Development. Bookmark the permalink.