Skip to content

Access and host potree pointclouds on separate server #678

Description

@manye31

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)

Any help or insights would be much appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions