Computer Graphics, Python, Mathematics, Game Development, Game Design.
np.array([0, -9000, 0]), ..., 'reflection': 0.5 } Algorithm Currently, we compute a ray that starts at the camera and goes towards a pixel, then we trace that ray into the scene, check for the nearest intersection and compute the intersection point color. In order to include reflections, we need to