Limits of Potree 3D viewer?

Is there a defined limit for viewing 3D models in WebODM? I have exceeded the limit previously with tasks with many thousands of images, but have just run into the limit again with a 1607 image task, the Potree viewer crashes when I try to load textures.

1 Like

There’s no defined limit, instead it’s some mix of potree, graphics card, and browser overhead.

2 Likes

Since the textured model is loaded in memory all at once (we don’t have tiling, yet), I think browsers/WebGL have a hard limit that cannot be exceeded in terms of memory, but I can’t remember exact numbers. Either way, this could be fixed by bringing GitHub - DroneDB/libnexus: Self-contained, dependency-free C Library to generate Nexus files. to WebODM/Potree.

3 Likes

To perhaps better define the problem, I can display a point cloud produced from 2323 images, but it crashes Potree when attempting to add the textures.
Here is a screen grab of the error and task manager showing GPU, dedicated GPU memory, and shared memory with point cloud displayed, then attempting to load textures- the surge in memory usage.
Dedicated GPU memory was at 3.6GB out of 4GB total, shared was at 12.6GB of 52GB available. Using latest native Windows build 3.0.1

The odm_texturing folder is 5.34GB, and in Meshlab the GPU/memory details are shown here:

1 Like

Hei Piero, this is a naive question and has to be taken with respect to my fairly narrow (geospatial, standards oriented) view - would it be smarter to implement Cesium 3D tiles or similar in PoTree, as a way to progressively render meshes?

…here thinking about what ODM already makes, and what is useable more widely.

2 Likes

We could add GitHub - NASA-AMMOS/3DTilesRendererJS: Renderer for 3D Tiles in Javascript using three.js and use Cesium 3D tiles.

There’s also the option to do better compression of the textures, which we currently do not do and would allow significant savings.

5 Likes

Hi Adam!

Good question. I’ve been thinking about this as well since there are now a number of streaming point cloud viewers rather than just potree and some of them may be more fit for purpose (anyone want to way in on this?)

1 Like

What format does ODM render the point clouds in now? Potree can show various formats right? I get confused since potree is both a file format and a viewer that can show multiple point cloud formats (I presume this is listed online somewhere but I couldn’t find it, so apologies in advance if I didn’t look hard enough)

1 Like

Currently EPT (Entwine Point Tiles).

2 Likes