DQLin / RealTimeStochasticLightcuts

Repository of the source code and demo of I3D 2020 paper Real-Time Stochastic Lightcuts
Other
122 stars 13 forks source link

Can this work support indirect illumination, such as color bleeding? #3

Open SXHSine opened 3 years ago

SXHSine commented 3 years ago

Thanks for sharing your great work! I just have one concern, can this work support indirect illumination, such as color bleeding (VPL can bounce several times in the scene for indirect illumination)?

SXHSine commented 3 years ago

Dear author, I have tested scenes 'Cornellbox' and 'Sponza', I found that 'SLCRenderer::m_MaxDepth' can work in 'Sponza' for indirect illumination, and can not work in 'Cornellbox'. Then I found the difference between 'Sponza' and 'Cornellbox' is that the type of 'Sponza' is 'vpl', is it means 'Sponza' is rendered with the VPL method (LightCuts) while 'Cornellbox' is rendered with the other method?

DQLin commented 3 years ago

Thanks for your interest. The program can support diffuse indirect illumination by generating VPLs. If the scene type is not 'vpl', then the emissive triangles in the scene will be used to provide direct illumination.