Giter Site home page Giter Site logo

Code samples request about gltf-sdk HOT 7 CLOSED

microsoft avatar microsoft commented on July 22, 2024 1
Code samples request

from gltf-sdk.

Comments (7)

agrittmsft avatar agrittmsft commented on July 22, 2024 2

Thanks for posting this issue @Sazonoff it's definitely on our radar to write some clean samples. We will get back to you when we have some.

from gltf-sdk.

dsazonoff avatar dsazonoff commented on July 22, 2024

Please, don't forget samples, how to write single .glb file. Because it's not clear enough from source code, how to use GLB/GLTF writers. And example, how to write to a single .gltf file (with base64 encoded buffers).
Thanks for a current progress in samples branch.

from gltf-sdk.

najadojo avatar najadojo commented on July 22, 2024

@Sazonoff I think that the glTF-Toolkit might give you some understanding of SDK usage.

from gltf-sdk.

chriche-ms avatar chriche-ms commented on July 22, 2024

@Sazonoff We are nearly finished writing deserialize and serialize sample apps (just need to make a few small changes). You can find the in-progress code at: https://github.com/Microsoft/glTF-SDK/tree/agritt/samples/GLTFSDK.Samples

We only have support for decoding base64 data URIs at the moment. Please make a separate issue if you would like encode support adding to the SDK.

from gltf-sdk.

chriche-ms avatar chriche-ms commented on July 22, 2024

I've created a PR for the samples (#12). Feel free to add comments to the PR if any part of the sample code is unclear.

from gltf-sdk.

agrittmsft avatar agrittmsft commented on July 22, 2024

Closing this. Please create another issue if there is something else we should cover in samples.

from gltf-sdk.

ifcquery avatar ifcquery commented on July 22, 2024

Is it possible with glTF-SDK to serialize a mesh with a data URI?
Or only to de-serialize?

from gltf-sdk.

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.