Robot vision based on three-dimensional model