Skip to content

Add fidelity test for HDR/PMREM#361

Merged
cdata merged 1 commit intopmremfrom
hdr-pmrem-fidelity-test
Feb 14, 2019
Merged

Add fidelity test for HDR/PMREM#361
cdata merged 1 commit intopmremfrom
hdr-pmrem-fidelity-test

Conversation

@cdata
Copy link
Contributor

@cdata cdata commented Feb 14, 2019

This change proposes a final addition to #338 : a fidelity test to help us track changes and potential regressions related to HDR and PMREM. Some details:

  • A new HDR was added from HDRI Haven: airport workshop 01
  • The new test pairs the high-rez Damaged Helmet w/ airport workshop HDR and experimental-pmrem
  • A new event is now dispatched by <model-viewer> when the environment map changes
    • This is necessary for the fidelity test to know when it is okay to take a screenshot of <model-viewer>
  • A golden of <model-viewer> was added so that we can track changes compared to ourselves
  • This change led to an update to Implement renderer screenshot automation #351 such that the skybox in gltf_renderer now matches the orientation of the skybox in <model-viewer>
<model-viewer> <-> Filament
image

Copy link
Contributor

@jsantell jsantell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small text nit, looks great! 👍 thanks for taking care of this

experimental-pmrem
style="width: 768px; height: 768px;">
</model-viewer>
<p>This model demonstrates the alpha blending behavior of a semi-transparent "container" object surrounding several opaque objects.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: this refers to the other opacity test

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 will fix

@cdata cdata force-pushed the hdr-pmrem-fidelity-test branch from 66623b7 to 6c220e8 Compare February 14, 2019 18:26
@cdata
Copy link
Contributor Author

cdata commented Feb 14, 2019

It turned out that I had messed up the IBL orientation when producing the Filament golden. This has been addressed in #351 and I have updated the golden in this change. Here is a more up to date comparison:

image

@cdata cdata merged commit 74445be into pmrem Feb 14, 2019
@cdata cdata deleted the hdr-pmrem-fidelity-test branch February 14, 2019 18:34
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