Has anybody been able to deploy Potree on a Linux server?

3DUserNet, Cintoo, GeoSignum Pointer, Pillr, Pointbox, Pointerra, Pointly, PointSharePlus, Pythagoras, Potree, Vercator, WebShareCloud, Etc.
Post Reply
Raymond
I have made 70-80 posts
I have made 70-80 posts
Posts: 71
Joined: Fri Aug 24, 2018 6:15 pm
5
Full Name: Ramon F Herrera
Company Details: Free Open Source3D Model of Dealey Plaza
Company Position Title: Founder - Chief Bottle Washer
Country: US
Linkedin Profile: Yes
Location: Houston, Texas
Has thanked: 8 times
Contact:

Has anybody been able to deploy Potree on a Linux server?

Post by Raymond »

Potree is an application that offers so much promise, and yet it eludes me.

My goal is to install it in a webserver, reachable by anybody, more specifically here:

http://jfknumbers-forum.org/potree-1234

It is known that there are at least two installations that have been properly deployed and are therefore Internet reachable:

(1) This one, of course:

https://github.com/potree/potree
[scroll to the bottom of the page, there are many examples]

(2) Another one, at the University of Arkansas.
http://view3d.cast.uark.edu/petroglyphpoint/index.html

The 2nd. ones is running Windows IIS and therefore the owner can only provide limited help for the Linux issues.

The OS of the first one is unknown, but it seems that Potree was developed on Windows and therefore it works fine on Windows.

TIA,

-Ramon F. Herrera
JFK Numbers

NB: It is well known that Potree works perfectly listening to 'localhost' ports. That is not Internet reachable.
Raymond
I have made 70-80 posts
I have made 70-80 posts
Posts: 71
Joined: Fri Aug 24, 2018 6:15 pm
5
Full Name: Ramon F Herrera
Company Details: Free Open Source3D Model of Dealey Plaza
Company Position Title: Founder - Chief Bottle Washer
Country: US
Linkedin Profile: Yes
Location: Houston, Texas
Has thanked: 8 times
Contact:

Re: Has anybody been able to deploy Potree on a Linux server?

Post by Raymond »

These is my Apache configuration:
Apache Configuration.jpg
It is presumably correct, since this identically configured service is working fine:

http://jfknumbers-forum.org/hello-world
Hello World.jpg
This is the output that I get when attempting to reach Potree:
Directory Listing.jpg

Thanks!

-Ramon F. Herrera
JFK Numbers
You do not have the required permissions to view the files attached to this post.
mschuetz
I have made 40-50 posts
I have made 40-50 posts
Posts: 40
Joined: Fri Nov 01, 2013 7:03 am
10
Full Name: Markus Schuetz
Company Details: potree.org
Company Position Title: developer
Country: Austria
Linkedin Profile: No
Been thanked: 5 times

Re: Has anybody been able to deploy Potree on a Linux server?

Post by mschuetz »

Hi,

If it works localy, all you need to do is upload the folders "build", "examples", "libs" and "pointclouds" to your web server. You do not need to - or rather should not - install node on your server and usually you should not need to configure anything since the default configuration is fine. It should work with default configurations of apache and nginx. If you're using IIS, you may have to add *.hrc and/or *.bin to your list of mime types in your IIS configuration.
jedfrechette
V.I.P Member
V.I.P Member
Posts: 1236
Joined: Mon Jan 04, 2010 7:51 pm
14
Full Name: Jed Frechette
Company Details: Lidar Guys
Company Position Title: CEO and Lidar Supervisor
Country: USA
Linkedin Profile: Yes
Location: Albuquerque, NM
Has thanked: 62 times
Been thanked: 219 times
Contact:

Re: Has anybody been able to deploy Potree on a Linux server?

Post by jedfrechette »

It's been a while since I've done it, but I remember deployment to a typical shared Linux web host being pretty straight forward. From memory, the method I used was to use potreeconvertor to generate the support files. Edit the HTML file to set various viewer parameters, following the examples on GitHub. Then upload the whole lot to the webserver. Basically this:

http://www.potree.org/getting_started.html

It looks like you might need to update your config to point to the actual HTML file defining your viewer.
Jed
Raymond
I have made 70-80 posts
I have made 70-80 posts
Posts: 71
Joined: Fri Aug 24, 2018 6:15 pm
5
Full Name: Ramon F Herrera
Company Details: Free Open Source3D Model of Dealey Plaza
Company Position Title: Founder - Chief Bottle Washer
Country: US
Linkedin Profile: Yes
Location: Houston, Texas
Has thanked: 8 times
Contact:

Re: Has anybody been able to deploy Potree on a Linux server?

Post by Raymond »

jedfrechette wrote: Sat Aug 29, 2020 5:23 pm
It looks like you might need to update your config to point to the actual HTML file defining your viewer.
I am at that point right now, Jed.

Getting a properly functioning cmake is my current challenge. Both source and binary distributions have problems.

Thanks!

-Ramon
JFK Numbers
Raymond
I have made 70-80 posts
I have made 70-80 posts
Posts: 71
Joined: Fri Aug 24, 2018 6:15 pm
5
Full Name: Ramon F Herrera
Company Details: Free Open Source3D Model of Dealey Plaza
Company Position Title: Founder - Chief Bottle Washer
Country: US
Linkedin Profile: Yes
Location: Houston, Texas
Has thanked: 8 times
Contact:

Re: Has anybody been able to deploy Potree on a Linux server?

Post by Raymond »

mschuetz wrote: Sat Aug 29, 2020 2:21 pm Hi,

If it works localy, all you need to do is upload the folders "build", "examples", "libs" and "pointclouds" to your web server. You do not need to - or rather should not - install node on your server and usually you should not need to configure anything since the default configuration is fine. It should work with default configurations of apache and nginx. If you're using IIS, you may have to add *.hrc and/or *.bin to your list of mime types in your IIS configuration.
I am glad to report that I have that great application finally domesticated:

http://jfknumbers-forum.org/potree/examples/

My next step is, of course to convert my 2 Dealey Plaza point clouds.

http://www.dealey-plaza.org/this-govern ... s-Schuetz/

I noticed several features that may be useful for my one-location project. This, for instance, can display the elevation of the presidential vehicle as it went downhill to meet its doom and become part of (unresolved) history:

http://jfknumbers-forum.org/potree/exam ... ofile.html

One feature that I would like to implement (request?) is the ability to [Shift] click on the dot icon, when multiple points are needed, to mark the trajectory of a 1961 Lincoln Continental limousine, for example.

American Model (Official by Ford):
https://www.turbosquid.com/3d-models/co ... el-1350776

Russian Model:
https://hum3d.com/3d-models/lincoln-con ... -100-1961/

Thanks!

-Ramon
JFK Numbers
Post Reply

Return to “Web Based Software”