TreeLS icon indicating copy to clipboard operation
TreeLS copied to clipboard

I think plot used to be faster, now very slow and laggy.

Open mavavilj opened this issue 4 years ago • 3 comments

I think plot used to be faster, now very slow and laggy. I cannot really rotate and zoom it, because it's so laggy.

I wonder what causes the problem. Something is stuck or it's slow?

Such as with the example code given here:

https://github.com/tiagodc/TreeLS

mavavilj avatar May 01 '21 13:05 mavavilj

Tiago's example code (what you linked using his data) shouldn't be laggy even on a low-end computer. However, what he's showing as an example (building multiple layers in rgl by adding to an rgl::rgl.open() session) will bog down even a high-end pc with any TLS/MLS point cloud of normal density (e..g., 30-40M points). If his code with his data lags, then you're pc is having issues. I suggest JR's lidRviewer if your going to be view huge pointclouds, but it has limited functionality (by design).

bi0m3trics avatar May 01 '21 15:05 bi0m3trics

Even the examples are slow now. Restarting the computer fixed it earlier, now it doesn't.

mavavilj avatar May 06 '21 18:05 mavavilj

You may try the "Clear objects from the workspace" button. This workflow can generate a lot of large products that may not get cleared from your environment. In Rstudio, there is a little broom button in the environment tab that clears all of the files you are working with or have generated. This will speed things up, but be sure to save anything you need.

spokswinski avatar May 06 '21 18:05 spokswinski