-
-
Notifications
You must be signed in to change notification settings - Fork 458
Description
How can I host a potree pointcloud representation on a separate server, such that I can cause less stress and free up space on a website visualizing the cloud?
I can successfully visualize the cloud if it's inside the website repository itself, and I can reference the metadata.json with the following hierarchy accessible:
pointclouds/
├── hierarchy.bin
├── log.txt
├── metadata.json
└── octree.bin
I tried following the ca13 example for an example where it's hosted somewhere else:
...
Potree.loadPointCloud("http://5.9.65.151/mschuetz/potree/resources/pointclouds/opentopography/CA13_1.4/cloud.js", "CA13", function(e){
...
But, if I try to instead point to an address from a server instead of local path, I cannot visualize the pointcloud. It's very possible this is due to the permissions on my server. For context. I am using a form of S3 (Minio), and created a publicly accesible link to the metadata.json. I say this because my domain console is giving errors such as below which suggests potree does not cannot access that file:
OctreeLoader.js:246
GET https://my_server.../hierarchy.bin 400 (Bad Request)