Computer Graphics, Python, Mathematics, Game Development, Game Design.
spheres definition Now let’s compute the intersection between a ray and a sphere. Sphere Intersection We know the ray equation, and we know what condition a point must satisfy so that it lays on a sphere. All we have to do is plug eq. 2 into eq. 4 and solve for t. Which means, answering the