I have a plane sphere inscribed in a cube like in the image below.
Both the sphere and the the cube are centered at the origin.
The cube's edge has a unit length (so one edge of the cube is (0.5,0.5,0.5)
Take a point A(x,y,z) situated on one of the faces of the cube. Take the viewing ray be the line OA (O is the origin)
what is the equation of the point S, where S is the intersection between the line OA and the sphere?
So as you guessed I am interested in projecting the sphere on the cube