Giter Site home page Giter Site logo

Comments (3)

KermMartian avatar KermMartian commented on August 30, 2024

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.

pieper avatar pieper commented on August 30, 2024

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.

KermMartian avatar KermMartian commented on August 30, 2024

This tool no longer generates GLBs from GLTFs; closing.

from gltf2glb.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.