trimesh.exchange.load.load() breaks a glb file
See original GitHub issueI execute just this code:
scene = trimesh.exchange.load.load(self.input_path, process=False)
file_name = 'test.glb'
full_path = join(self.store.directory, file_name)
glb_data = trimesh.exchange.gltf.export_glb(scene)
with(open(full_path, 'wb')) as glb_file:
glb_file.write(glb_data)
origin: I got:
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
trimesh.exchange.gltf — trimesh 3.17.1 documentation
Load a GLTF file in the binary GLB format into a trimesh.Scene. Implemented from specification: https://github.com/KhronosGroup/glTF/tree/master/specification/ ...
Read more >trimesh/gltf.py at main - GitHub
Python library for loading and using triangular meshes. ... return files ... Load a GLTF file in the binary GLB format into a...
Read more >Saving textured GLB file in trimesh - python - Stack Overflow
I am trying to save a textured OBJ file as a GLB. ... mesh = trimesh.load("models/all/odm_texturing/odm_textured_model_geo.obj") mesh.show() ...
Read more >trimesh - Bountysource
I'm trying to display a .glb file with Trimesh library. If I only do trimesh.load("model/path/"), it doesn't show all the elements on the...
Read more >trimesh/Lobby - Gitter
data/simple.glb') scene_bounds = scene.bounding_box max_bounds ... export an mesh in STL format from your 3mf file, and then load this STL with Trimesh....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah unfortunately there’s no easy workaround other than supporting
byteStride
, PR’s welcome!I updated my origin glb file: med_gas_2.zip But I lost materials and colors: