摘要 |
There is provided a method for mapping a panoramic image to a 3-D virtual object of which a projection is made for display on a screen. The method includes: providing the panoramic image in a memory, the panoramic image being defined by a set of pixels in a 2-dimensional space; providing a model of the object, the model having a set of vertices in a 3-dimensional space; selecting a vertex on the model, the selected vertex being characterized by a set of angular coordinates; applying a transformation to the angular coordinates to obtain a set of polar coordinates; identifying a pixel whose position in the panoramic image is defined by the polar coordinates; and storing in memory an association between the selected vertex on the model and a value of the identified pixel. |