-
Notifications
You must be signed in to change notification settings - Fork 34
Revise and expand thin-film iridescence documentation #262
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
base: dev_1.1.1
Are you sure you want to change the base?
Revise and expand thin-film iridescence documentation #262
Conversation
…wo separate paragraphs
…gh-level physical properties
|
All sounds good. I assume we'll be expanding on this "locally spectral approach" a bit more in the tech report. Another related thing I looked into recently was the energy conservation of the thin-film. We had a report from the Redshift team that "metalness with thin-film looks 'neon' in Arnold". I assumed that this might be a bug, since the thin-film should never generate energy. But had a debate internally about whether actually due to wave interference perhaps effectively the albedo can exceed 1 (maybe via some sharing of energy between frequency bands) leading to a glow effect, so maybe we were seeing the correct result. This seemed impossible to me physically, since each wavelength is independent, and the interference cannot produce more energy out at that wavelength than was input. I wrote a script which explicitly computes the albedo of the film as a function of input direction and wavelength, and indeed it is always <= 1. In the special case of a perfectly reflecting metallic base (with Fresnel 1), the energy is perfectly conserved and the effect of the film is only a phase shift. (This corresponds to what happens in a Gires–Tournois etalon as pointed out by a colleague). Thus indeed a metal with white F0 and tint, plus an arbitrary thin-film, should pass a furnace test (as we say in the spec). (The "neon" look in Arnold was, it turns out, due to a small bug in our implementation of the Barla paper). It might be interesting to show some plots of this in the tech report. |
…on and transmission and not violating energy conservation
|
Thanks for reviewing @portsmouth . Yes, I think we can expand more on this "locally spectral approach" in the tech report, but it seems out of scope here. I think we can also provide the key physics formulas in the tech report. Yes, that is an important point. Interference should only change the ratio of light reflected and transmitted. The thin film itself should neither add nor remove energy. Any apparent energy gain/loss or color shift comes from this energy redistribution and different amounts of absorption by the base surface. I think that's actually important and nonobvious enough to warrant a note in the spec, so I added a note in a new commit:
|
AdrienHerubel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR was discussed in the September 16 meeting, there was a consensus that we should not recommend techniques that do not have a readily available implementation in the spec. We also said that the Belcour technique is the de-factor standard and we should keep the wording stating so.
This PR revises and expands the thin-film iridescence section of the OpenPBR documentation. It includes:
This PR addresses OpenPBR issue #246
Below are images comparing the current and proposed versions of this section.
CURRENT VERSION
PROPOSED VERSION
As you can there are modifications across the entire section, as mentioned in the overview at the top of this PR. The most substantive new addition to the section is the new paragraph highlighted below.
CLOSE-UP OF BRAND NEW PARAGRAPH IN PROPOSED VERSION