Computer Graphics, Python, Mathematics, Game Development, Game Design.
intersection point to p Ray intersection The next step of the algorithm is: if the ray (line) that starts at camera and goes towards p intersects any object of the scene then. Let’s break it down into two parts. First, what is the ray (line) that starts at camera and goes towards p ? Ray definition