xuzhusheng / gltf-to-3d-tiles

Convert glTF model to Glb, b3dm and 3D tiles format.
MIT License
133 stars 38 forks source link

read_gltf #1

Closed gisonjourney closed 1 year ago

gisonjourney commented 2 years ago

when i put a gltf path in b3dm() or other function ,it has fault like:
OSError: [Errno 63] File name too long: '/Users/zc/work/test/data:application/octet-stream;base64
this is why?how i can solve this problem or how can i convert gltf to b3dm or 3dtiles?

xuzhusheng commented 2 years ago

seems you embeded image textures in your gltf files. if you could provide more details or share a test model, it would be appreciated

gisonjourney commented 2 years ago

thanks a lot, this is the demo data. https://github.com/gisonjourney/gltf_data. ,you can have a try

xuzhusheng commented 2 years ago

@gisonjourney I haven't support data uir scheam or multiply buffers yet. will fix it in coming days

gisonjourney commented 2 years ago

@dreamergz thank you very much , hope it will coming soon

xuzhusheng commented 2 years ago

add dara uri support in commit 7e20ccf9e2c01aaebd593bc8288313cf59ab3f8e

gisonjourney commented 2 years ago

add dara uri support in commit 7e20ccf

did you test it successful ? it always told me kinds of fault

xuzhusheng commented 1 year ago

fixed in commit c645e77500e798415864bb5cca552f5475f280d5