The data length is about 150000. The time span of the data is about three months. After adding, FPS becomes 2fps. I try to set path resolution (12 * 60 * 60), But It is useless. The same data is added with primitive ，The Performance is so good. About 60Fps.But the data coordinate system is Cesium.ReferenceFrame.INERTIAL.The path changes over time! What should I do?
Sorry, not sure what you mean by that? Are you saying the path changes all the time? Real-time? Now and then? How often? If you’re creating a primitive, then you are in charge of the update on those primitives. The entity API otherwise does a lot of that for you, but with a performance penalty if you’re doing things the API wasn’t designed to do.
Are you using dynamic properties for the path positions, or just a static array at creation which you manually update by entity.hierarchy = newPositions from time to time? What are you doing in terms of code?
As with all things Cesium, try to make a Sandcastle that replicates as close to your issue as possible to make it easier for us to understand what you’re doing, and try out various ways to help you further.
Hi @sam.rothstein , Thanks for the clarifying question - no, I was referring to the basic version of the terraneProvider.
In my exp, I seed that can be this is resource intensive operation. Of cources I understand, this pipline certainly optimized. But it can be funny to watch how, when the camera fly to near , an object that seems to be at the level of an ellipsoid disappears under the ground(after added heightmap from TerraineProvider to camera frustum), and then jumps to the height level (this is often seen when the height is automatically calculated, as sample Heightreferences = ClampToGround) - this is not a complaint - I write, just a note that such a flow also gives an additional load and for 1000 objects with a refresh rate of 10 Hz it can be noticeable as it seems to me