A Method for Estimating the Upper of Russian Roulette

Russian Roulette(RR) is a well-known method of controlling ray recursion times in ray tracing algorithms. Usually, we give a probability P that the ray continues to propagate, however, there may be a small probability of reaching an unexpected depth causing the stack overflow. Therefore, It is reasonable to set a Maximum number of recursion in such a simple ray tracing model whose probability will not change with energy.

Continue reading