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

Correct importance sampling as per d'Eon paper #256

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

rgirish28
Copy link
Contributor

As mentioned in issue #121, the sampling of the longitudinal component of the hair BSDF is different from the strategy mentioned in the original d'Eon paper. I have corrected the sampling strategy by rotating the outgoing vector due to the cuticle scale tilt before sampling the longitudinal component.

@mmp
Copy link
Owner

mmp commented Dec 13, 2019

Thank you very much--this looks great. Much appreciated!

@mmp mmp merged commit c65c588 into mmp:master Dec 13, 2019
@rgirish28
Copy link
Contributor Author

Happy to contribute. Thanks for the review!

@rgirish28 rgirish28 deleted the hair-shader branch December 13, 2019 17:49
hubot pushed a commit to blender/blender that referenced this pull request May 27, 2024
…ction

Principled Chiang hair longitudinal importance sampling correction,
according to the new pbrt fix here :
mmp/pbrt-v3#256

Pull Request: https://projects.blender.org/blender/blender/pulls/115241
brechtvl pushed a commit to brechtvl/cycles that referenced this pull request Jun 26, 2024
…ction

Principled Chiang hair longitudinal importance sampling correction,
according to the new pbrt fix here :
mmp/pbrt-v3#256

Pull Request: https://projects.blender.org/blender/blender/pulls/115241
brechtvl pushed a commit to brechtvl/cycles that referenced this pull request Jun 26, 2024
…ction

Principled Chiang hair longitudinal importance sampling correction,
according to the new pbrt fix here :
mmp/pbrt-v3#256

Pull Request: https://projects.blender.org/blender/blender/pulls/115241
brechtvl pushed a commit to brechtvl/cycles that referenced this pull request Jun 26, 2024
…ction

Principled Chiang hair longitudinal importance sampling correction,
according to the new pbrt fix here :
mmp/pbrt-v3#256

Pull Request: https://projects.blender.org/blender/blender/pulls/115241
brechtvl pushed a commit to brechtvl/cycles that referenced this pull request Jun 27, 2024
…ction

Principled Chiang hair longitudinal importance sampling correction,
according to the new pbrt fix here :
mmp/pbrt-v3#256

Pull Request: https://projects.blender.org/blender/blender/pulls/115241
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