Skip to content

Stakhan/PotreeAPI_demonstrator

Repository files navigation

PotreeAPI demonstrator

About

A small demonstrator proving the ability to communicate between some C++ code and a slightly modified version of Potree.

Getting Started

Cloning this repository

⚠️ You have to use the --recursive option to ensure that the whole repository is being cloned, because it contains a submodule (a nested repository):

git clone --recursive https://github.com/Stakhan/PotreeAPI_demonstrator

Dependencies

Make sure you have qt5 installed with the websockets and webengine modules.

On Ubuntu 20.04 / Debian 10:

  • qt5-default
  • libqt5websockets5-dev
  • qtwebengine5-dev

On Manjaro Linux:

  • qt5-base
  • qt5-websockets
  • qt5-webengine

Compiling

In the project folder, in a shell:

qmake
make

Running

  1. Make sure the slightly modified version of Potree has been installed.

To install it, go to the potree folder and launch:

npm install
  1. Make sure Potree is running on http://localhost:1234. The latter can easily be done by using npm in the potree folder:
npm start 

Or by launching any static http server one-liner on port 1234.

  1. You should then be able to run the binary file called demo.

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published