Given:
eye is at (x,y,z)
SphereA is at (Sx,Sy,Sz)
Radius = 3

Screen is set up as shown:

(TopLeft) (WidthVector)
0------------------------------------>
|
|
|(HeightVector)
|
|
|
V

TopLeft is (Cx,Cy,Cz)
WidthVector is [Wx,Wy,Wz]
heightVector is [Hx,Hy,Hz]

For each Pixel on the screen is an ordered pair (w,v)
where w numbers each horizontal pixel
and v numbers the verticle ones.

Show me an equation for the shortest distance to the sphere
for a ray coming from the eye through the
correlating spot on the view plane for every pixel.

If there is no intersection this should result in division by zero.

Good Luck