CALCULATING DEPTH FOR A NEW VIEWPOINT - IBR

Hi All

Im doing an image based rendering project. I have an original image and depth buffer. I warp the pixels in this image to create a new image from a new viewpoint. Now what i want to do is get new depth information for each pixel for the new viewpoint. I dont want to use any OPENGL commands. Can this be done using pretty basic arithmetic. ie. I know

  1. inital (reference) viewpoint
  2. depth information for each pixel at this viewpoint
  3. the new viewpoint.

Interested if anyone has done something similar.