Skip to content
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

Making roughness ranges all [0,1] #160

Merged

Conversation

portsmouth
Copy link
Contributor

@portsmouth portsmouth commented Feb 9, 2024

As discussed in #143, this PR fixes up the stated roughness ranges to forbid roughness > 1. It isn't useful to allow the roughness to exceed a soft-max at 1, as the appearance is unconvincing (looks like fabric, as the microfacets are mostly vertical -- which is not "rough", and we have a dedicated fuzz layer for this kind of appearance).

Copy link
Contributor

@virtualzavie virtualzavie left a comment

Choose a reason for hiding this comment

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

LGTM.
Approved, pending resolution of the conflict between #157 and this one.

index.html Outdated
@@ -713,7 +713,7 @@
\begin{equation}
V_d = \frac{\mathtt{transmission\_dispersion\_abbe\_number}} {\mathtt{transmission\_dispersion\_scale}} \ .
\end{equation}
At the default **`transmission_dispersion_scale`** of zero, the Abbe number is infinite, which corresponds to no dispersion. At the maximum of 1, the Abbe number peaks at $V_d$ = **`transmission_dispersion_abbe_number`** which defaults to 20.
At the default **`transmission_dispersion_scale`** of zero, the Abbe number is infinite, which corresponds to no dispersion. At the maximum of 1, the Abbe number peaks at $V_d = \mathtt{transmission\_dispersion\_abbe\_number}$ which defaults to 20.
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like this change is conflicting between #157 and here.

@portsmouth
Copy link
Contributor Author

LGTM. Approved, pending resolution of the conflict between #157 and this one.

Done in 6a164f7.

@AdrienHerubel AdrienHerubel self-requested a review March 5, 2024 17:52
Copy link
Contributor

@AdrienHerubel AdrienHerubel left a comment

Choose a reason for hiding this comment

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

LGTM

@AdrienHerubel AdrienHerubel merged commit 251d89d into AcademySoftwareFoundation:main Mar 5, 2024
1 check passed
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.

None yet

3 participants