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