Computer Graphics, Python, Mathematics, Game Development, Game Design.
the camera and goes in the direction of the currently targeted pixel, we can define a unit-vector that points to a similar direction. Therefore, we define a “ray that starts at camera and goes towards pixel” as the following equation: eq. 1 — ray Remember, camera and pixel are 3D-points. For t=0