Comments (3)
Steve, may I ask you to please test #9 and let me know if that resolves the issues for you? Thanks in advance.
from gltf2glb.
Thanks for getting back to me - that branch didn't work for me (output below). Perhaps that PR expects only gltf 2 data but mine is gltf 1.0.
In any case I did a workaround to create binary uri resources so my use case is solved. Also I realized that the byteLength parameter on some of my buffers was incorrect (this didn't cause a problem for threejs but maybe it impacted your converter?).
In any case you can feel free to close this issue or use the data I linked above for testing if you want.
$ ./gltf2glb.py -o ~/slicer4/latest/scenes/tumor-testing/mrml.glb ~/slicer4/latest/scenes/tumor-testing/mrml.gltf
Traceback (most recent call last):
File "./gltf2glb.py", line 239, in <module>
main()
File "./gltf2glb.py", line 146, in main
buf_type = buf.get("type",None)
AttributeError: 'unicode' object has no attribute 'get'
from gltf2glb.
This tool no longer generates GLBs from GLTFs; closing.
from gltf2glb.
Related Issues (14)
- The glb file size is bigger than the size of gltf file HOT 11
- b3dm HOT 11
- how to create a tileset with discrete LODs HOT 1
- gltf to b3dm HOT 12
- syntax error HOT 2
- support for gltf 2.0?
- Example of the batch table data?
- Refactor FeatureTable and BatchTable
- Use numpy arrays instead of Python lists for working with data in-memory
- gltf2glb.py no longer functions (and is no longer needed)
- Upgrade from Python 2 to Python 3
- gltf2glb HOT 1
- JSON for instance semantics example
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gltf2glb.