Replies: 2 comments
-
Beta Was this translation helpful? Give feedback.
-
After some documentation (notably from PBRT), the MIS computation inside the loop is a non problem and setting the correct Hero PDF for the Throughput/Beta while using all PDFs for emitter sampling fixed the colorimetric issues. For now, I use a dual SurfaceInteraction setup, one carrying a spectrum of one active wavelength for Hero directional sampling and another with the other wavelengths to complete emitter/BSDF interactions. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am currently working on implementing Hero Wavelength (Spectral mode,no Polarization) into Mitsuba.
For the moment, I worked around the BDSFs to properly evaluate spectrums and some example materials to illustrate the different noise from a regular mono wavelength/spectrum render (a rework of the very old Mitsuba 0.6 dragon dipole notably). I also modified the sensor's ray generation method to shift independently around the visible spectrum range and have an uniform distribution for the Wavelengths.
My main issue revolves around the integrator's handling of the MIS (path or volpath). From what I understand, the MIS for Hero Wavelength is computed at the end of all ray interactions, according to
where for each Wavelength, the render function is divided by the sum of the paths probabilities. If other techniques are used, we take the sum of probabilities for each technique.
In the current (vol)path integrator, the main steps are :
Hero Wavelength requires to divide some variables (notably between the hero wavelength and the other sidekicks) and compute the paths according to the Hero Wavelength. However, i do not know at which extend this sampling method could be integrated with the current integrators. Is the MIS / rendering equation used in path/volpath detailed somewhere in the documentation ?
I already plan the following changes :
mis_weight(prev_bsdf_pdf, em_pdf)
for example) from inside the loopAm I missing something ? I am still not 100% sure about how to sort and compute the rendering equation by changing the main loop.
Beta Was this translation helpful? Give feedback.
All reactions