xuzhusheng/gltf-to-3d-tiles

Big memory usage

Opened this issue · 1 comments

Amoki commented

Hi,

I'm trying the CLI to convert a 16MB glTF to 3d-tiles and the process takes more than 10 BG of RAM until it is killed by my kernel.

The gltf file uses big coordinates (up to ~5 000 000), I don't know if it may be related.

python main.py tileset building.gltf outputs/

building.zip

I check your gltf model. while spliting gltf to b3dm / i3dm, I copy the needed buffer views. for your model, it share buffer views between gltf nodes, as a result, when splited to thousands of b3dm/i3dm, the buffer data copy thousands time