three-potree-loader-example
Warning
This does not include any server-related codes and pointclouds. To run this, you need server that serves PointCloud files which are converted by PotreeConverter.
Connect with server
You should adjust serverConfig
variable in src/main.js
.
serverConfig
includes two properties.
cloudjs
: path of server servingcloud.js
file of the result ofPotreeConverter
. Of course you can send its json contents instead of send the file, sincecloud.js
is just a json file. (I cannot understand its name.)makeURL
: function that takespath
of each request, and returns full URL for the request. You can surely modifypath
, but result ofPotreeConverter
use samepath
so you should be careful.