Trimble Connect User Forum

Expand all | Collapse all

Potree Point Cloud in Trimble Connect Web

  • 1.  Potree Point Cloud in Trimble Connect Web

    Posted 06-02-2020 00:41

    Hi, 

     

    I managed to host a potree point cloud on  a server and add it via URL to a Trimble Connect Desktop project. Very nice feature! As soon as I add these urls (.js), they show up in the data folder "Point clouds" as "Pointcloudname.purl", as expected. And they also work perfectly in the desktop version.

    Unfortunatly, when I try to view the point cloud in the web version of trimble connect, I get an error "Potree Point Cloud in Trimble Connect Web". According to another post, this should be possible: Import Point cloud (url). Furthermore, I saw that links from Pointscene also should work in the web version: Trimble Connect and Pointscene.

     

    Any idea what could be wrong?

     

    Thanks



  • 2.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 04-13-2021 10:34
    Edited by Tero Laine 04-13-2021 10:33
    Did you get it working?





  • 3.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 09-17-2021 05:20
    Did any of you get it working? For me it works in TC Desktop, but in TC Web it just doesn't load. I'd be thankful for hints.

    Cheers, 
    Tobias

    ------------------------------
    Tobias Steinhardt
    ------------------------------



  • 4.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 09-20-2021 01:23

    Hi,

    I could get it working. You have to use an old version of potree, e.g. 1.6 works for me. Then add the link to the "cloud.js" in TC Desktop. This should then also work in TC Web



    ------------------------------
    Marco Graf
    ------------------------------



  • 5.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 09-21-2021 12:57
    Hi Marco, 

    Thank you for the advice, sadly it still gives me the endless loading in TC Web. 
    I used Potree 1.6 and even converted it using Potree Converter 1.6 and everything loads fine in TC Desktop. Is there anything i could be missing? Is your webserver publicly reachable or just locally, via http or do i need https? 
    Thanks,
    Tobias

    ------------------------------
    Tobias Steinhardt
    ------------------------------



  • 6.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 09-21-2021 22:37
    Hi Tobias,

    My server is publicly accessible. But it has to serve the stream over https. If it still doesn't work, probably the browser console could give some hint what's wrong.

    ------------------------------
    Marco Graf
    ------------------------------



  • 7.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 09-23-2021 01:30
    Hi Marco,

    Thanks, that was exactly the advise i needed, enabled https on my server and added some CORS-Header stuff and now it's finally working!

    Cheers,
    Tobias

    ------------------------------
    Tobias Steinhardt
    ------------------------------



  • 8.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 30 days ago
    Hi, I have the same issue, is it possible to explain more in detail how you did? I do not have the admin rights on the server but the URL I use starts with "Https".
    Everything works fine in TC desktop but I will not load in the web viewer.

    /Johan

    ------------------------------
    Johan Waldemar
    ------------------------------



  • 9.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 30 days ago
      |   view attached
    Once i got the https working i had to look into the browser console to check the error messages.

    there it said something about CORS, so i just googled the error and did what it told me to do :D 
    For me this solved it: https://ubiq.co/tech-blog/enable-cors-apache-web-server/

    ------------------------------
    Tobias Steinhardt
    ------------------------------



  • 10.  RE: Potree Point Cloud in Trimble Connect Web

    Posted 26 days ago
    Have anyone got classification to work when using point cloud via URL in Trimble CONNECT? 
    I get very strange results in Trimble CONNECT, it looks like it works fine in Potree viewer.

    ------------------------------
    Johan Waldemar
    ------------------------------