2

Has anyone found or created any information regarding the different user interfaces of Potree?

I have created LiDAR portals using the LAStools laspublish tool to create Potree sites, but cannot see how I could adapt the GUI.

Here are two examples:

1

The first one is from Potree 1.3, where all the available stuff fit into a dat.gui panel (top-right), whereas the second link is from Potree 1.5RC, where everything has been stacked into the sidebar to the left.

The sidebar could theoretically be modified by adjusting sidebar.html, sidebar.js and potree.css in the src/viewer directory.

You could also try to build a custom interface by not calling the viewer.loadGUI function and instead create your own html interface, similar to the stuff in sidebar.html, and then add actions to it similar to what's done in sidebar.js.

It's going to be a lot of work, though. The user interface with its tools and interaction with the 3D scene is one of the largest parts of the development.

If you just want to modify some settings, take a look at the available setters in viewer.js or simply open your browsers developer tools and type "viewer.set" and you should get a list of setter functions you can call.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.