Code Monkey home page Code Monkey logo

Comments (3)

SaraVieira avatar SaraVieira commented on May 26, 2024

Hey!

Glb files are really hard to handle in the browser and would require a complete overwrite if everything because they can't just be read that's why we went with gltf, with them we can parse them as json and literally just send people the json file

We are doing some tests in small models like the ones we have and see if that 20/30% difference stands or if it's just big scenes because in terms of DX it is waaay better to use gltf

from market.

donmccurdy avatar donmccurdy commented on May 26, 2024

Oh! Do you mean that the market page is doing some processing on the file in the web client? I guess I'd assumed these were static downloads from a CDN, sorry if I got that wrong. Or by DX do you mean easier for users to edit in an exported "Starter Project"?

I agree that for small files it doesn't matter much, but for the big ones (e.g. with heavy textures) the 20/30% adds up, and it stalls THREE.GLTFLoader for a bit while parsing the Data URI synchronously, unfortunately.

If you did want to convert .gltf to .glb in the client (e.g. when the user presses the download button) I'd be happy to help with that, it's not too complicated as conversions go.

from market.

donmccurdy avatar donmccurdy commented on May 26, 2024

Anyway, I'll close this since it seems to be intentional, but still glad to help with that conversion if needed.

from market.

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.