The data is sent periodically through WebSocket and needs to be updated in real time。Here are some of the methods I called, but they can’t render in real time, what’s the problem?
It is rendering but the new added points are out of clipping range, however, I have a question with this too, if the new points are too far from the original, it doese not performs as expected.
And call this.renderer.resetCamera(), this.renderer.resetCameraClippingRange() before render() to see, but new points will still disappear sometimes when you rotate the camera, even if you add a custom bounds that involves the maximum and minimum bounds(e.g. [80, 90, 455, 475, -350, -340] in this case).
Thank you very much for your solution. After modifying the coordinates of the points, I can see the rendering effect. This problem does exist, and the newly added points may not be very close to the previous points.
Is anyone still concerned about this issue? The point cloud can be refreshed in real time, but some points will be cropped by the camera and will not be displayed.I’ve re-fetched the range of polydata and set the crop area of the camera.