Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HDR (RGBE) image file format #29

Closed
walbourn opened this issue Jul 6, 2016 · 2 comments
Closed

Support HDR (RGBE) image file format #29

walbourn opened this issue Jul 6, 2016 · 2 comments
Assignees

Comments

@walbourn
Copy link
Member

walbourn commented Jul 6, 2016

The old D3DX for Direct3D 9 library implemented a codec for .hdr (aka RGBE).

Currently the only built-in HDR format supported by WIC is HDPhoto (aka JPEG-XR). As such, there's currently few choices for a source format for BC6H textures.

  • LoadFromHDRMemory
  • LoadFromHDRFile
  • SaveToHDRMemory
  • SaveToHDRFile

This would include the 32-bit_rle_rgbe and 32-bit_rle_xyze encodings for lossless, rle (aka 'old format', and adaptive rle (aka 'new format').

D3DX9 would load 32-bit_rle_xyze color-space data, but didn't convert it to RGB. We will do the same thing here.

@walbourn walbourn changed the title Support HDR (RGBE) format Support HDR (RGBE) image file format Jul 6, 2016
@walbourn walbourn self-assigned this Sep 11, 2016
@walbourn
Copy link
Member Author

Support added.

@walbourn
Copy link
Member Author

Updated texconv, texassemble, and uvatlas tool to support hdr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant