nd-pc / potree

WebGL point cloud viewer for large datasets
http://potree.org
Other
0 stars 0 forks source link

Vpc loader #9

Open ewan-escience opened 9 months ago

ewan-escience commented 9 months ago

VPC loader

This PR, which is still a progress, implements a VPC loader for Potree.

The idea is to create one overarching geometry containing an overarching node, both of which contain, for each "href" in the VPC file, a child created by the appropriate loader. The overarching geometry and node thus contain aggregate metadata, while the actual loading of the data then happpens in the children.

The loader is currently in a state where it does show the pointclouds in a recognisable way, but not always with the appropriate resolution. Furthermore, playing with the view (zooming in/out, moving around), some parts of the view might disappear.

This PR contains an example in the examples directory, namely vpc-lion.html. This example loads a VPC file containing one reference to the pointclouds/lion_takanawa.copc.laz file, which is also used in examples/copc.html.

Todos: