Online3DViewer
Online3DViewer copied to clipboard
Support Rendering of Large STL File
The 3D viewer seems to crash when rendering file size exceed 480MB
Thanks!!
Could you please upload an example somewhere to test?
Please download it here
My viewers can show both this STL file as well as its GLB exported version (which is around 286MB in size).
Online 3D Viewer is running out of memory for both files.
A wild guess of mine would be that this is caused by sorting out meshes and materials of the model, which seems to be a part of the Online 3D Viewer process.
A wild guess of mine would be that this is caused by sorting out meshes and materials of the model, which seems to be a part of the Online 3D Viewer process.
Perhaps you are right.
Definitely it's because the internal model representation. It allows to implement several features (like mesh selection, calculations, export, etc.), but comes with a price. The task here is to minimize the memory footprint of the internal model, but it doesn't seem to be an easy task.
Might be related: https://stackoverflow.com/questions/62049063/retained-size-in-chrome-memory-snapshot-what-exactly-is-being-retained