Ray Casting
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 ?
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 ?
Risposte
I suspect that you need something related to this:
https://youtu.be/ZgcD4C-4u0Q
"Reconstruction from parallel projections and the Radon transform".
This is not trivial, though. I am afraid I cannot help much more than this.
https://youtu.be/ZgcD4C-4u0Q
"Reconstruction from parallel projections and the Radon transform".
This is not trivial, though. I am afraid I cannot help much more than this.