Create a cubemap from a panorama image