Hacker News new | ask | show | jobs
by cocoflunchy 4533 days ago
How do you choose the angles at which you send the beams and the number of beams? It appears to be somewhat random, even though I'm sure it's not.
2 comments

The algorithm calculates all possible specular reflections up to some order. I really don't think I can explain it any better than this paper: https://mediatech.aalto.fi/~samuli/publications/laine2009aa_...
Thanks, I'm going to read up on this.
It doesn't calculate all beams that originate from one point. It calculates only the beams which originate from one of the points and eventually reach the other point. It only looks random because the walls are placed at odd angles.