generate appearance and depth from 3D model