Model-based calibration of a range camera