Skip to content

Add new fidelity tests#672

Merged
cdata merged 4 commits intocache_envfrom
add_fidelity
Jul 12, 2019
Merged

Add new fidelity tests#672
cdata merged 4 commits intocache_envfrom
add_fidelity

Conversation

@elalish
Copy link
Contributor

@elalish elalish commented Jul 2, 2019

Reference Issue

Fixes #648, possibly #449?

I added two new fidelity tests as copies of the Khronos-MetalRoughSpheres, one with an HDR environment and one with an LDR environment (both spruit_sunrise, which has very high dynamic range, so good for catching bugs). Combined with the original that uses lightroom (similar to our generated environment), we now cover all of our lighting cases with a single, canonical model.

Interestingly, this exposed a bug in filament, or possibly our usage thereof: Our Filament renders for the HDR and LDR environments are identical, and both appear to be LDR. This explains why we thought our renders looked "too yellow" when using spruit_sunrise_2k.hdr; in actuality Filament was not yellow enough, as it was lacking HDR.

@elalish elalish requested a review from cdata July 2, 2019 21:26
@elalish elalish self-assigned this Jul 2, 2019
@elalish
Copy link
Contributor Author

elalish commented Jul 2, 2019

Indeed, our usage of Filament is wrong, filed #673

@cdata
Copy link
Contributor

cdata commented Jul 11, 2019

in actuality Filament was not yellow enough, as it was lacking HDR

You have got to be kidding me.

Great find @elalish !

I think we can land this PR if it's all the same to you. We'll update the goldens whenever Filament fixes the bug.

@cdata cdata changed the base branch from reuse_renderer to cache_env July 12, 2019 15:25
@cdata cdata merged commit 40eb2a6 into cache_env Jul 12, 2019
@cdata cdata deleted the add_fidelity branch July 12, 2019 15:26
@cdata cdata added this to the v0.6.0 milestone Aug 13, 2019
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.

2 participants