KhronosGroup / glTF-Sample-Models

glTF Sample Models
3.13k stars 1.31k forks source link

Iridescence test model? #392

Closed bhouston closed 11 months ago

bhouston commented 1 year ago

I notice that the current iridescence feature is implemented inconsistently in a lot of renderers. Basically the colors differ in each renderer. I wonder if that is in part because we do not have clear test files for iridescence.

Basically a test that isolates iridescence and looks at it across its parameter space so that people can easily validate their implementations.

It may be nice to have a test file for iridescence that has different thickness (min, max) in a row each on say a block with a varying thickness texture. Then people can compare the behavior under different conditions to ensure proper behavior.

cc: @echadwick-artist

bhouston commented 1 year ago

We noticed this as we are adding Blender Cycles and Chaos V-Ray to @elalish's Model Viewer fidelity test suite:

echadwick-artist commented 1 year ago

We have some test models in the new glTF Sample Assets repo, which is meant to replace glTF Sample Models (once we get the kinks worked out).

I guess we could add a unit test example that uses a texture to represent specific iridescence thicknesses.

bhouston commented 1 year ago

Amazing as usual @echadwick-artist ! Duplicate repos are confusing. :)

DRx3D commented 1 year ago

@bhouston : Is this issue complete with these models in the repo?

There are others too.

DRx3D commented 11 months ago

If there are no responses to this comment by 27 Nov, it will be closed.

DRx3D commented 11 months ago

No responses by cutoff date - closing.