I am trying to implement a ray casting (or ray tracing) algorithm.
It is clear for me how to project a set of point or solid objects to a plane from a given viewpoint, and to reduce them to screen integer coordinates.
But what I really don't know how to implement is the inverse projection, from the screen plane to object space.
Can you help me ?