How to understand this calculation?
Thanks for your time. Could you please explain the calculation logic of the following code? when you "determine the intensity of the contribution of the ray" https://github.com/aothms/ear/blob/master/src/Scene.cpp#L231 https://github.com/aothms/ear/blob/master/src/Scene.cpp#L259 https://github.com/aothms/ear/blob/master/src/src/MonoRecorder.cpp#L83
how to understand your "sample collection" that connect the hitpoint with listener after every bounce? Or if you have any references papers which related to this algorithm, could you name it and I can search it.
thanks!
Honestly, there isn't a lot to understand. There isn't any scientific basis behind this, just my interpretation of ray tracing and specular reflection. It's also 10 years since I wrote this, so my understanding is as good as yours ;).
really, is there any possible that use Phong models as the reference? I searched specular reflection model and this formula has this similar strcut....

whatever, if you say so. appreicate your reply~