1. A method comprising: estimating projection parameters associated with a virtual camera, for a plurality of vertices of at least a portion of a 3D mesh containing mesh points representing a 3D model, wherein the virtual camera is unique for each one of the plurality of vertices; mapping pixels from a 2D image to the vertices, such that the mapping of a pixel is based on the estimated respective virtual camera parameters; and texturing the at least a portion of the 3D mesh with corresponding mapped pixels, wherein vertices on the textured portion are selected such that the selected vertices are visible from a specified viewpoint associated with the 3D mesh, wherein the estimating, the mapping, and the texturing are carried out by at least one computer processor.