Martin G.
07-09-2009, 01:49 AM
Hello,
I have the following situation. I have a projector. Also I have calculate a view and a projection matrix. Now I can do a projaction mapping. But I would like the inverse way. I have the texture (maybe 512 x 512) and each pixel would describe by a texture coordinate. For example the pixel on 256 x 256 has the u = 0.5 and v = 0.5. That is what I known. Can I calculate the point in world space with the uv-coordinate, projection matrix and the view matrix? Is it possible?
Thanks, Martin
I have the following situation. I have a projector. Also I have calculate a view and a projection matrix. Now I can do a projaction mapping. But I would like the inverse way. I have the texture (maybe 512 x 512) and each pixel would describe by a texture coordinate. For example the pixel on 256 x 256 has the u = 0.5 and v = 0.5. That is what I known. Can I calculate the point in world space with the uv-coordinate, projection matrix and the view matrix? Is it possible?
Thanks, Martin