News for hackers. Stuff that matters.
Re:Filament: Physically-based rendering engine by RomainGuy on Friday August 03, 2018 @08:54PM (#17684781)
There are several spectral renderers out there, such as Weta Digital's Manuka. I don't know if they bother with parts of the EM spectrum that are outside of the visible range though. I imagine UVs can be important to model in some situations.
Re:Filament: Physically-based rendering engine by berkut on Saturday August 04, 2018 @12:21AM (#17685369)
To model fluorescence accurately, it's necessary to handle the non-visible spectrum in some way.
Re:Filament: Physically-based rendering engine by magicalhippo on Saturday August 04, 2018 @07:14AM (#17686367)
Handling non-visible spectrum isn't much of an issue, after all the wavelength used when path tracing can be whatever (some have used path tracing for sound). Though getting realistic data for non-visible parts may prove tricky depending on the material.

IIRC the issue is that if you can ignore fluorescence, then reflection is simply an element-wise multiplication of the incoming light at the wavelengths under consideration[1] with the reflection coefficient of the material at those wavelengths. With fluorescence, that turns into a matrix multiplication, with obvious speed implications.

If only a single wavelength is considered at a time, then the wavelength must change upon reflection, otherwise there's no way for the fluorescence to occur. That can also have performance issues, for example conversion coefficients to/from regular color spaces needs to be recalculated.

At least that's my understanding having worked on a physically-based renderer which did do spectral rendering but not fluorescence.

[1]: using for example binned wavelengths or stratified wavelength clustering.

Re:Filament: Physically-based rendering engine by mattkrause on Friday August 03, 2018 @11:42PM (#17685265)
I think Mitsuba can be compiled to use (binned) spectra instead of RGB.
Re:Filament: Physically-based rendering engine by electricslpnsld on Saturday August 04, 2018 @04:52PM (#17688381)
When is Wenzel going to release Mitsuba 2? The current version of Mitsuba is in bug-fix-only mode. :( I loved Mitsuba's python bindings, made it super easy to pragmatically do cool renders.