tiagodc / TreeLS

R functions for processing individual tree TLS point clouds
GNU General Public License v3.0
82 stars 27 forks source link

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

Open mavavilj opened 3 years ago

mavavilj commented 3 years ago

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

bi0m3trics commented 3 years ago

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).

mavavilj commented 3 years ago

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

spokswinski commented 3 years ago

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.