glTF-Blender-IO | Blender glTF 20 importer and exporter | Addon library

 by   KhronosGroup Python Version: 2.79 License: Apache-2.0

kandi X-RAY | glTF-Blender-IO Summary

kandi X-RAY | glTF-Blender-IO Summary

glTF-Blender-IO is a Python library typically used in Plugin, Addon applications. glTF-Blender-IO has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. However glTF-Blender-IO build file is not available. You can download it from GitHub.

| Blender Version | Documentation | |---------|---------------------| | 3.0 | | | dev | |. Notes: * 2.80 - 2.93 are previous stable releases. * 2.93 is the current Blender LTS release. Check the blender-v2.93-release branch. * 3.0 is the current stable release. Check the blender-v3.0-release branch. * master branch of this addon is mirrored in [Blender Addons master] that will become 3.1.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              glTF-Blender-IO has a medium active ecosystem.
              It has 1295 star(s) with 267 fork(s). There are 76 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 131 open issues and 1130 have been closed. On average issues are closed in 92 days. There are 13 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of glTF-Blender-IO is 2.79

            kandi-Quality Quality

              glTF-Blender-IO has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

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

            kandi-Reuse Reuse

              glTF-Blender-IO releases are available to install and integrate.
              glTF-Blender-IO has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions are available. Examples and code snippets are not available.
              It has 10055 lines of code, 654 functions and 83 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed glTF-Blender-IO and discovered the below as its top functions. This is intended to give you an instant insight into glTF-Blender-IO implemented functionality, and help decide if they suit your requirements.
            • Gather keyframes from an object
            • Gets the target length
            • Completes key tangents
            • Complete a keyframe
            • Gather animation channels from an object
            • Gather the object channel groups of the object
            • Sort channel group by shapekey
            • Get rotation modes
            • Execute the filter
            • Gets the animation for a given object and tracks
            • Save a GLTF file
            • Calculates the specularity of the image
            • Gather an animation sampler
            • Gets a texture transform from a mapping node
            • Encodes scene primitives
            • Gather primitive primitives
            • Gather the image
            • Gathers a Mesh object and returns it
            • Get the socket for a given name
            • Gather a texture from the given sockets
            • Return a dictionary representation of the object
            • Gathers a material PBR material from a blend texture
            • Get the factor from the socket
            • Gather the animation channel target
            • Gathers the sampler from the given node
            • Convert a list of values to a vector
            Get all kandi verified functions for this library.

            glTF-Blender-IO Key Features

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

            glTF-Blender-IO Examples and Code Snippets

            Widgets,Blender
            Pythondot img1Lines of Code : 20dot img1License : Strong Copyleft (GPL-3.0)
            copy iconCopy
            import guibedos.blender
            from some import SomeWidget
            
            class SomeOperator(bpy.types.Operator):
                """
                Does something useful, with PySide
                """
                bl_idname = "cube.some"
                bl_label = "Some"
            
                def execute(self, context):
                    self.report  
            pongo-blender,Using pongo-blender
            Godot img2Lines of Code : 19dot img2License : Permissive (MIT)
            copy iconCopy
            vim vars
            
            export SHOES="green"
            export CATS="cute"
            export STATE="busy"
            
            my shoes are {{ SHOES }}
            my cats are {{ CATS }}
            my state is {{ STATE }}
            
            . vars && pongo-blender template > output
            
            egidijus@ub-sol:/tmp/pongos$ cat output 
            my shoes ar  
            blender-kitti,Work on a scene in Blender
            Pythondot img3Lines of Code : 13dot img3License : Permissive (MIT)
            copy iconCopy
            # Create a random [Nx3] numpy array and add as point cloud to a scene in blender.
            import bpy
            import numpy as np
            from blender_kitti import add_point_cloud
            
            # create some points
            points = np.random.normal(loc=0.0, scale=2.0, size=(100, 3))
            
            # get curren  

            Community Discussions

            QUESTION

            How can I get textures with alpha on 3D models working in A-Frame?
            Asked 2019-Jan-10 at 01:11

            I made a 3d model with a .png texture that has an alpha channel. The texture does not render correctly in A-Frame. I created the model in Autodesk Maya and exported the model as .OBJ. Then, I used obj2gltf to convert from .obj to .gltf format. The transparency does not appear correctly in A-Frame. There are some rendering problems with the model as shown in the images.

            The model renders incorrectly in all the browsers I tested it in: Chrome, Firefox and Safari (iOS). When exporting from obj2gltf, the model does not show any transparency when used without --checkTransparency. It does not work if it is called from or inline. I also imported the model into Blender and then exported as .gtlf using the blender gltf exporter, and A-Frame failed to recognize the transparency at all. The model does not appear correctly if loaded as an .OBJ with tags either.

            https://i.imgur.com/HbFoBBb.png This is how it shows up in A-Frame

            https://i.imgur.com/1zk3uVl.png This is what the model looks like in Maya, and how it should appear.

            ...

            ANSWER

            Answered 2019-Jan-10 at 01:11

            Transparency seems to be working here, your problem seems to be the classic opengl sorting order + transparency + depth Buffer. Some leaves on the front render first than others, so back leaves don't render because there's something in front of them already. The optimal way of rendering all leaves would be pre sorting by distance to camera all leaves before rendering, but this is usually unfeasible when loading external models.

            I'd recommend you to try activating side:double and depthTest: false in A-Frame's material. Also, use an obj model instead of a gltf, so you can use the material component with it (you cannot use material component with gltf models).

            depthTest will do the trick, although it may render over other stuff in your scene. Try to find the best alternative..

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install glTF-Blender-IO

            The Khronos glTF 2.0 importer and exporter is enabled by default in [Blender 2.8](https://www.blender.org/2-8/) and higher. To reinstall it — for example, when testing recent or upcoming changes — copy the addons/io_scene_gltf2 folder into the scripts/addons/ directory of the Blender installation, then enable it under the Add-ons tab. For additional development documentation, see [Debugging](DEBUGGING.md).

            Support

            | Blender Version | Documentation | |---------|---------------------| | 3.0 | https://docs.blender.org/manual/en/3.0/addons/import_export/scene_gltf2.html | | dev | https://docs.blender.org/manual/en/dev/addons/import_export/scene_gltf2.html |. Notes: * 2.80 - 2.93 are previous stable releases. * 2.93 is the current Blender LTS release. Check the blender-v2.93-release branch. * 3.0 is the current stable release. Check the blender-v3.0-release branch. * master branch of this addon is mirrored in [Blender Addons master](https://developer.blender.org/diffusion/BA/browse/master/io_scene_gltf2/), that will become 3.1.
            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/KhronosGroup/glTF-Blender-IO.git

          • CLI

            gh repo clone KhronosGroup/glTF-Blender-IO

          • sshUrl

            git@github.com:KhronosGroup/glTF-Blender-IO.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

            Explore Related Topics

            Consider Popular Addon Libraries

            anki

            by ankitects

            ember-cli

            by ember-cli

            trojan

            by Jrohy

            data

            by emberjs

            Try Top Libraries by KhronosGroup

            glTF

            by KhronosGroupHTML

            Vulkan-Samples

            by KhronosGroupC++

            Vulkan-Hpp

            by KhronosGroupC++

            glslang

            by KhronosGroupC++

            Vulkan-Docs

            by KhronosGroupJavaScript