theory - Theoretical computer graphics - Ray casting algorithm -


I was studying for computer graphics exams using previous iterations and I came to this question < Blockquote>

make the following comment:

"The ray-casting algorithm is fine to calculate the estimated shadows, yet it is computationally expensive when visibility is running for the second time in calculation. "

Can someone explain why "computational is expensive when running for second time for visibility calculations"? Sorry to repeat the quote

Thank you.

My guess is that it refers to the fact that the shadow is easily accessible from the corner of silhouette ( More or less) can be calculated, while visibility requires checking all the possible rays of light which can jump in the camera from the object (not just its edges).

So the visibility is very small compared to the number of shadows to determine.

Does this mean? I could pull a picture ...

Comments