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

Question about roughness #18

Closed
gkouros opened this issue Feb 6, 2024 · 2 comments
Closed

Question about roughness #18

gkouros opened this issue Feb 6, 2024 · 2 comments

Comments

@gkouros
Copy link
Contributor

gkouros commented Feb 6, 2024

r2 = matprop["r1"][bounce_mask]

Shouldn't the key be "r2" instead of "r1"? Is that a bug or is there a reason behind this?

Also, what do r1 and r2 correspond to? They are the output of the roughness MLP but roughness is usually scalar, so what do the two values correspond to?

Thank you in advance!

@half-potato
Copy link
Owner

Dear George,
The reason there are 2 roughness values is because I originally wanted to handle anisotropic materials, but I ended up only handling isotropic ones. As a result, I regressed two, but set both to be the same.

@gkouros
Copy link
Contributor Author

gkouros commented Feb 7, 2024

Ok. Makes sense now. Thanks for the quick response!

@gkouros gkouros closed this as completed Feb 7, 2024
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

No branches or pull requests

2 participants