New answers tagged

1

Unfortunately this is quick to answer: You can't from a single image. To determine the intrinsic camera parameters (like lens distortion) you'll need at least a few pictures and more known points. If you want to read more about it, Google for "camera calibration" or lookup how some libraries do that, e.g. OpenCV. From a single image all you could get are ...


0

If I understand your question: Your asking how to get the world coordinates of the camera, with a look vector to raytrace? Start by getting the position of your camera, which is simple how you translated the world to get from it's position relative to 0,0 (where the camera always is). Then, look at how you rotate the scene to do the same. From there, you ...



Top 50 recent answers are included