-
Notifications
You must be signed in to change notification settings - Fork 127
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
Map depth image in Unorm16 for full range #2016
base: dev
Are you sure you want to change the base?
Conversation
The mapping from Unorm16 encoded depth images did map half of the range to the max color value, hence causing that the same gray tones were used twice, for values < 0.5 (0x8000 before unorm), or >= 0.5. Fixing the normalization to linearly map the whole range.
Author dfriederich not on autobuild list. Waiting for curator authorization before starting CI build. |
CI gfxreconstruct build queued with queue ID 367658. |
I tried copying how it looked before, but somehow I fail (maybe some company firewall, but it did let me add the image above, odd). Anyhow, before this PR, the middle grays in the image above were dark black, then immediately afterwards some white area. While it is interesting to see the specific depth of 0x8000 so clearly, it did confuse me, I did not understand where this black to white border in some of the part of the image is from. |
CI gfxreconstruct build # 6039 running. |
CI gfxreconstruct build # 6039 failed. |
This failed because of a reference image difference, as expected. I'll
leave this to Panos for his Monday to approve and merge and update
reference files or I can as well. -Brad
…On Fri, Feb 7, 2025, 4:06 PM LunarG CI robot ***@***.***> wrote:
CI gfxreconstruct build # 6039 failed.
—
Reply to this email directly, view it on GitHub
<#2016 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMCLT7ZC7UXIWHLB7KUFXCT2OVDBVAVCNFSM6AAAAABWWZECKSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBUGM2TENZYGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
The mapping from Unorm16 encoded depth images did map half of the range to the max color value, hence causing that the same gray tones were used twice, for values < 0.5 (0x8000 before unorm), or >= 0.5. Fixing the normalization to linearly map the whole range.