1. A method for encoding points of a mesh model, comprising steps of determining that the mesh model comprises repeating instances of a connected component, and determining for each repeating instance at least one reference point; clustering the reference points of the repeating instances into one or more clusters; and encoding the clustered reference points using KD-tree coding, wherein for each cluster a separate KD-tree is generated.