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

[🐛 bug report] weight differentiation for blended BSDFs dysfunctional #381

Open
lo-zed opened this issue Feb 4, 2021 · 0 comments
Open

Comments

@lo-zed
Copy link

lo-zed commented Feb 4, 2021

Summary

Computing an inverse rendering on blended BSDFs weight parameter yields false results.

System configuration

  • Platform: Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-65-generic x86_64)
  • Python version: Python 3.8.5
  • Mitsuba2 version: commit fe2a1bd

Description

When trying to recover the bsdf type on a simple scene composed of two rectangles with different bsdf, the objective value increases instead of decreasing. The algorithms converges towards an image that seems inverted.
I tried clipping the weights between [0, 1] but it didn't help.

Related

I noticed @LeonidMill asked a question about this in issue #26. I read the follow-up recommendations through PRs #44 & #157 but was told by @Speierers this was unrelated.

Steps to reproduce

run attached file
rectangle_blended_weight_differentiation.zip

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

1 participant