Computer Graphics, Ray Tracing, Global Illumination.
linearly. After we get a intersection point P, we need to find a normal vector on that point. It is same direction with a vector from sphere origin to Point. We just need to normalize it. 2. On triangle Check whether the ray is intersected with a plane that includes target triangle A plane equation