Computer Graphics, Mathematics, Linear Algebra.
resolution 800x600 is represented by (Nx) x (Ny). Now we have to find the formulas for u and v. These will be: u = l + (r - l)(i + 0.5)/Nx v = b + (t - b)(j + 0.5)/Ny Now that we have u and v, we can calculate each ray direction that will be pointed towards each pixel. Ray direction → -d*(w-axis) +