Code Monkey home page Code Monkey logo

Comments (6)

devxkh avatar devxkh commented on May 30, 2024

hmm seems like seperation works only with non binary -b

from obj2gltf.

mramato avatar mramato commented on May 30, 2024

Order shouldn't matter, can you paste the command line you were using that caused the problem?

from obj2gltf.

emackey avatar emackey commented on May 30, 2024

Actually I think it's correct that .glb files are self-contained and don't support -s.

Perhaps we need a console message to that effect, if I'm right about that.

from obj2gltf.

mramato avatar mramato commented on May 30, 2024

Actually I think it's correct that .glb files are self-contained and don't support -s.

I just checked with @lilleyse, glb files can be separate as well, so this is a bug if order matters.

from obj2gltf.

emackey avatar emackey commented on May 30, 2024

glb files can be separate as well

Interesting. I believe it, I guess nothing prevents it. We don't have a single sample of it, anywhere in Cesium or Khronos published sample models, as far as I know.

Anyway I'm re-opening this, for the command-line order problem as described by @mramato.

from obj2gltf.

lilleyse avatar lilleyse commented on May 30, 2024

So I think this behavior is actually expected. The shaders/textures are still written separately but the geometry buffer is embedded in the binary body of the glb. A separate .bin doesn't offer any advantage for binary gltf, so the tool just doesn't handle it (speaking of gltf-pipeline here).

I also checked that the order of commands doesn't matter.

from obj2gltf.

Related Issues (20)

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.