Is there any way to sample along a normal distribution from a built-in mitsuba/drjit function? #701
Answered
by
njroussel
Mephisto405
asked this question in
Q&A
-
I want to add Gaussian noise to a Vector3f or Spectrum. dr.sqrt(2)*dr.erfinv(dr.fma(2, sampler.next_1d(), -1)) I'd searched the official docs of Mitsuba and drjit, but I cannot find one. |
Beta Was this translation helpful? Give feedback.
Answered by
njroussel
Apr 27, 2023
Replies: 1 comment 1 reply
-
Hi @Mephisto405 We have utilities to build distributions: https://mitsuba.readthedocs.io/en/stable/src/api_reference.html#distributions. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Mephisto405
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @Mephisto405
We have utilities to build distributions: https://mitsuba.readthedocs.io/en/stable/src/api_reference.html#distributions.
But I don't think we provide any built-in distributions.