1. A method for generating or decoding a bitstream representing a 3D model, comprising the steps of: determining a surface smoothness measure for each one of a plurality of sub-cells of a cell in an octree, the octree being representative of the 3D model; and determining a traversal order of the sub-cells of the cell in response to the surface smoothness measures of the sub-cells.