Home > Blockchain >  R rgl lidR slow rendering on Windows 11 64 bit
R rgl lidR slow rendering on Windows 11 64 bit

Time:08-04

I am trying to manually identify/correct trees using LiDAR data (1.7 GB object) and a tree tops object via the locate_trees function. Part of the problem is:

  1. Rgl is rendering very slow even though the 4 GB Nvidia 3050 should be able to handle it.
  2. The tree tops (red 3D dots) are not even showing in the rgl window. When I close the rgl window, the tree tops start popping up (red dots appear and disappear resulting in a blank white window) in a new rgl window. And if I close that window, a new tree top window opens up so I stop the process to prevent this from happening.

Does rgl automatically use the GPU or does it default to the integrated graphics on the motherboard? Is there a way to fasten up the rendering?

My other system specs are Corei9 (14 threads) and 64 GB RAM. Moreover, I am using R 4.2.1.

CodePudding user response:

rgl has trouble displaying too many points. The plot function in lidR is convenient and allows to produce ready to publish illustrations but cannot replace a real point cloud viewer for big point clouds. I don't have GPU on my computer and I don't know if and how rgl can take advantage of GPU.

In the doc of the lidR function your are talking about you can see:

This is only suitable for small-sized plots

  • Related