On photo-realistic 3d reconstruction of large-scale and arbitrary-shaped environments