OpenDroneMap / Obj2Tiles

Converts OBJ files to OGC 3D tiles by performing splitting, decimation and conversion
GNU Affero General Public License v3.0
196 stars 58 forks source link

When using cesium to load 3dtiles, the browser crashes due to high memory usage #53

Open lohcve opened 1 year ago

lohcve commented 1 year ago

How did you install WebODM (docker, installer, etc.)?

docker [Type answer here]

What's your browser and operating system? (Copy/paste the output of https://www.whatismybrowser.com/)

Your version is: Chrome 107 on Windows 11 [Type answer here]

What is the problem?

When using cesium to load 3dtiles, the browser crashes due to high memory usage。(The browser occupies more than 8GB, and the physical memory is 16GB)。 [Type answer here]

How can we reproduce this? (What steps trigger the problem? What parameters are you using for processing? Include screenshots. If you are having issues processing a dataset, you must include a copy of your dataset uploaded on Dropbox, Google Drive or https://dronedb.app)

Use the generated 3dtiles file to load it in cesium 1.99, causing the browser to crash. The raw data used are: https://github.com/merkato/odm_wietrznia 。 Does ODM provide the function of dividing obj files into small files by grid? Whether it will support splitting obj into multiple small obj files in the future, converting each small obj file into 3dtiles, and finally summarizing to generate tilesets.json With this obj file splitting, you can load a large amount of data and significantly reduce the memory consumption of the browser. [Type answer here]

NotEmptyWKL commented 1 year ago

I also have the same problem

tangerren commented 10 months ago

this repo can help you https://github.com/OpenDroneMap/Obj2Tiles