Ray Casting

Messaggioda luigifonti » 17/02/2019, 15:38

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 ?
luigifonti
Starting Member
Starting Member
 
Messaggio: 3 di 14
Iscritto il: 14/02/2019, 11:00

Re: Ray Casting

Messaggioda dissonance » 19/02/2019, 20:40

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.
dissonance
Moderatore
Moderatore
 
Messaggio: 15002 di 27760
Iscritto il: 24/05/2008, 19:39
Località: Nomade


Torna a Geometria e algebra lineare

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite