NLeSC/PattyVis

Upgrade minimap based on Potree georeferencing example

Closed this issue · 9 comments

The new version of Potree contains a nice alternative example of a minimap. You can find it at bower_components/potree/examples/georeferencing.html.

A few components that we should copy from his implementation are:

  • The "camFrustrum", an arrow in the map that indicates the camera's position /and/ orientation.
  • With the implementation of a camera arrow, we can remove the current automatic recentering of the map based on camera location.
  • A bounding box around the point cloud area in the map. Could be based on the octree boundingbox, or on the actual points.

Added arrow, when camera moves arrow also moves.
Still need to recenter and reorient when rotating camera.

Rotation and zoom of camera are also shown on minimap.

We have a georeferenced minimap with footprints and historical maps now. I'd say this is done and done.

@Maartenvm Hi, Can you please provide URL of georeferencing.html because I have no idea about this link - bower_components/potree/examples/georeferencing.html.

Hi @egpbos ,
I have integrated to mapboxgl maps now. So I am curious to know if there is any way to bring this -

  1. The "camFrustrum", an arrow in the map that indicates the camera's position /and/ orientation. 2. With the implementation of a camera arrow, we can remove the current automatic recentering of the map based on camera location.
  2. A bounding box around the point cloud area in the map. Could be based on the octree boundingbox, or on the actual points.
    to mapboxgl. Any leads would be appreciated.

Sorry @nikhilbv, haven't worked on this for about 4 years, so I wouldn't know where to start.

Hi..
Can you now provide the solution for the above problem @egpbos .

I want to correlate between mapboxgl map camera position with the pointcloud data in potree.
Any help in this regard.

Unfortunately, I won't be able to help, @Jayasshree, it's been too long for me to quickly remember and I have other commitments now.