Synthesize depth image given a 3d model