glTF-Transform | glTF 2.0 SDK for JavaScript TypeScript , on Web | Graphics library

 by   donmccurdy TypeScript Version: v3.4.0 License: MIT

kandi X-RAY | glTF-Transform Summary

kandi X-RAY | glTF-Transform Summary

glTF-Transform is a TypeScript library typically used in User Interface, Graphics, Nodejs, WebGL applications. glTF-Transform has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

glTF 2.0 SDK for JavaScript, TypeScript, and Node.js.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              glTF-Transform has a medium active ecosystem.
              It has 950 star(s) with 101 fork(s). There are 26 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 33 open issues and 358 have been closed. On average issues are closed in 100 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of glTF-Transform is v3.4.0

            kandi-Quality Quality

              glTF-Transform has 0 bugs and 0 code smells.

            kandi-Security Security

              glTF-Transform has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              glTF-Transform code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              glTF-Transform is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              glTF-Transform releases are not available. You will need to build from source code and install.
              It has 1631 lines of code, 0 functions and 231 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of glTF-Transform
            Get all kandi verified functions for this library.

            glTF-Transform Key Features

            No Key Features are available at this moment for glTF-Transform.

            glTF-Transform Examples and Code Snippets

            No Code Snippets are available at this moment for glTF-Transform.

            Community Discussions

            QUESTION

            gltfLoader vertexColors issue
            Asked 2021-Oct-04 at 18:33

            I am using glTF-transform to create GLB (compressed by gltf-pack), and encountered strange behavior in THREE.GLTFLoader.

            I am using vertex colors and passing them this way

            My pipeline looks like: Create Glb -> gltfpack -> load to THREE using gltfLoader -> mergeBufferGeometry -> render() with opacity in fragmentShader

            ...

            ANSWER

            Answered 2021-Oct-04 at 18:33

            COLOR_0 (not COLOR) is the expected name of the vertex color attribute – the model could have more than one vertex color set. gltfpack is "normalizing" the float32 colors, which means it replaces float32 values in [0, 1] with uint8 values in [0, 255] instead, requiring ~75% less space. three.js can support both.

            Source https://stackoverflow.com/questions/69311760

            QUESTION

            Possible to remove hidden textures from GLTF using gltf-transform?
            Asked 2021-Sep-14 at 00:03

            Lets say I have 2 models with opaque materials merged in same scene. In some cases one of the model is small and in completely/partially hidden/encapsulated by large model. Eg (sphere inside a sphere). Is there a way to identify hidden parts and remove the textures related to the hidden portions so that unused textures can be removed and size be reduced?

            Previously I had issues regarding merging of various models Multiple GLTF loading and Merging on server side which got solved using gltf-transform.

            Just thing out if it can be optimized wrt to this area.

            ...

            ANSWER

            Answered 2021-Sep-14 at 00:03

            The harder part of this question is deciding how to define something like "partially hidden", and then how to detect which parts of the scene meet that criteria. Commercial tools like RapidCompact will likely do a good job of this, but without them I would expect you'll need some custom work and tuning for your specific models by a technical artist.

            If you can identify the unwanted meshes somehow then yes, gltf-transform could be used to remove or downscale those textures... a fairly naive implementation would look something like this:

            Source https://stackoverflow.com/questions/69158752

            QUESTION

            Use GLTF-transform merge command - node js script
            Asked 2021-Mar-24 at 01:46

            I want to use the gltf-transform command "merge" in my script and wrote something like this to merge two or more gltf files.

            ...

            ANSWER

            Answered 2021-Mar-24 at 01:46

            The @gltf-transform/cli package you're importing isn't really designed for programmatic usage; it's just a CLI. Code meant for programmatic use is in the /lib, /core, and /extensions packages.

            If you'd like to implement something similar in JavaScript, I would try this instead:

            Source https://stackoverflow.com/questions/66761278

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install glTF-Transform

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/donmccurdy/glTF-Transform.git

          • CLI

            gh repo clone donmccurdy/glTF-Transform

          • sshUrl

            git@github.com:donmccurdy/glTF-Transform.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link