What is mitsuba.BSDF.eval()? #1036
-
Hello! The reference says "Evaluate the BSDF f(wi, wo) or its adjoint version f^{*}(wi, wo) and multiply by the cosine foreshortening term .". This led me to believe that I could get the reflectance for the incident light. (e.g. reflectance for each wavelength of light). I would like to know what "Evaluate the BSDF" means. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This depends on which variant you are using. If you're using a |
Beta Was this translation helpful? Give feedback.
Hi @Bambootree0818
This depends on which variant you are using. If you're using a
*_rgb
variant you will indeed be getting RGB values as a retrun value. In*_spectral
variants you'll get the BSDF evaluated for the specific incident & outgoing directions at the given wavelengths (the wavelengths are specified inSurfaceInteraction3f.wavelengths
).