Image-based rendering with occlusions via cubist images