The role of prior in image based 3D modeling: a survey