I am trying to display a dataset of millions of points, since I didn’t find out how to set the style of points added by 3dtiles and I wanted to customize the way chunked hierarchical points are loaded. I designed a new format of pointcloud, which compressed the binay file and coded with other information for decision making on whether one certain chunk should be loaded when given a certain viewport.
In my compressed binary file, one points with four properties occupied 6 bytes, I guess it might be much larger when it is converted to a Cesium.PointPrimitive object, however, if there exists no such memory leak, its memory usage should still be acceptable.
By splitting this pointcloud into hundreds, I could control the number of points being displayed by set the
show property of PointPrimitiveCollection object.
Just now I happened to find the root of this problem, which lies in that one chunk might be added multiple times in async tasks before it is ready.
Thanks for you enthusiastic assistance!