tiagodc / TreeLS

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

How can I "manually" plot points or other shapes to tlsPlot plots? #42

Open mavavilj opened 3 years ago

mavavilj commented 3 years ago

How can I "manually" plot points or other shapes to tlsPlot plots?

Particularly also,

how can I append new (custom) points to an existing tlsPlot?

bi0m3trics commented 3 years ago

It looks like the author hasn't been active since October of 2020, so you're likely to get more timely answers by posting questions to gis.stackexchange.com

To be helpful and try and answer your question: see the help and examples from lidR::plot or read up on how rgl::rgl.points works, and then you'll see how to "build" visualizations by adding to the rgl scene. That's basically what TreeLS does in it's plotting functions. If you want to append other spatial objects (polygons, etc) I suggest looking into the package anglr and specifically anglr::plot3d but unfortunately it looks to be about as active as TreeLS

mavavilj commented 3 years ago

I see thank you. I got it working by reading the source of add_stemPoints.

Is there some other project which is more active than this?