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