Skip to content

modified imageLoad and imageLoadHdr to also accept files with the #?RGBE identifier#32

Open
jtsiomb wants to merge 1 commit intodariomanesku:masterfrom
jtsiomb:master
Open

modified imageLoad and imageLoadHdr to also accept files with the #?RGBE identifier#32
jtsiomb wants to merge 1 commit intodariomanesku:masterfrom
jtsiomb:master

Conversation

@jtsiomb
Copy link
Copy Markdown
Contributor

@jtsiomb jtsiomb commented Aug 23, 2017

There are two different identifiers commonly used in HDR files. One is #?RADIANCE which is also shared by other file formats used by the radiance renderer, and the other is #?RGBE, which is more unambiguous.

I modified imageLoad and imageLoadHdr to recognize and accept both. I've also added a define to select on compile-time which one of the identifiers should be used when outputting HDR files.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant