Potree 1.3 - web point cloud viewer

3DUserNet, Cintoo, GeoSignum Pointer, Pillr, Pointbox, Pointerra, Pointly, PointSharePlus, Pythagoras, Potree, Vercator, WebShareCloud, Etc.
gwhitch
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Mon Jul 02, 2018 3:34 pm
5
Full Name: Gary Whitcher
Company Details: Blue Sky Evolution
Company Position Title: Research and Development
Country: United States
Linkedin Profile: Yes

Re: Potree 1.3 - web point cloud viewer

Post by gwhitch »

Is there a way to completely remove the annotation? I have tried every thing I have seen to do this and it always leaves the annotation. I can remove the cloud and any solid object I have placed within it. But not the annotation.

This didn't work or any variation I have found

let annotations = viewer.scene.getAnnotations();
annotations.children.forEach(anno => {
annotations.remove(anno);
anno.dispose();
});
gwhitch
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Mon Jul 02, 2018 3:34 pm
5
Full Name: Gary Whitcher
Company Details: Blue Sky Evolution
Company Position Title: Research and Development
Country: United States
Linkedin Profile: Yes

Re: Potree 1.3 - web point cloud viewer

Post by gwhitch »

I stumbled across this:

I looked at the elements on the page and noticed a div for the annotations with an ID of 'potree_annotation_container'. Before I load a new cloud into the viewer, I set the innerHTML to and empty string ('').

This give me the affect I have been looking for.
gwhitch
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Mon Jul 02, 2018 3:34 pm
5
Full Name: Gary Whitcher
Company Details: Blue Sky Evolution
Company Position Title: Research and Development
Country: United States
Linkedin Profile: Yes

Re: Potree 1.3 - web point cloud viewer

Post by gwhitch »

I have another issue regarding the Image Paths on the sidebar.

I am working on a site that has to be bale to load a cloud by selecting it from a grid, then selecting another cloud from the grid and:

1. Clear the existing cloud and annotations if there are any.
2. Load the new cloud with new annotations.

I have both of those two steps working. The problem I have is When I try to use the sidebar menu, Most of the information/links and Icons are gone.
I am doing things a little bit unconventional. I am using a single .aspx page to load whichever cloud is selected from the grid and not a single .html page for each cloud created. The folder structure for the libs are as follows in relation to the .aspx page

/scripts/Potree/libs

I'm fairly sure this is a path thing since everything else is working as expected. I can not figure out how to resolve this. has anyone else tried this and if so, how did you resolve this?

Thanks.
gwhitch
I have made 10-20 posts
I have made 10-20 posts
Posts: 12
Joined: Mon Jul 02, 2018 3:34 pm
5
Full Name: Gary Whitcher
Company Details: Blue Sky Evolution
Company Position Title: Research and Development
Country: United States
Linkedin Profile: Yes

Re: Potree 1.3 - web point cloud viewer

Post by gwhitch »

There was another version of Jquery being loaded after this page loads from the Master page. I had to correct it to only load that JQuery if it is not the page loading the cloud. That has corrected the problem
Post Reply

Return to “Web Based Software”