1. A method of rendering a computer graphic image, comprising: generating a plurality of elementary geometries from an input geometry, a plurality of vertices being associated with each elementary geometry, each vertex being defined with coordinates, assigning an index value to each elementary geometry of at least a part of the elementary geometries, the index value being computed from the coordinates associated with at least one vertex of the elementary geometry, and rendering the computer graphic image by using the indexed elementary geometries.