osgexport | Blender exporter for OpenSceneGraph | Addon library

 by   cedricpinson Python Version: 0.14.2 License: GPL-2.0

kandi X-RAY | osgexport Summary

kandi X-RAY | osgexport Summary

osgexport is a Python library typically used in Plugin, Addon applications. osgexport has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However osgexport build file is not available. You can download it from GitHub.

Blender exporter for OpenSceneGraph
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              osgexport has a low active ecosystem.
              It has 71 star(s) with 51 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 16 open issues and 11 have been closed. On average issues are closed in 213 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of osgexport is 0.14.2

            kandi-Quality Quality

              osgexport has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              osgexport is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              osgexport releases are available to install and integrate.
              osgexport has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 2730 lines of code, 280 functions and 6 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed osgexport and discovered the below as its top functions. This is intended to give you an instant insight into osgexport implemented functionality, and help decide if they suit your requirements.
            • Write contents to a file
            • Close the log file
            • Return the full path with the given extension
            • Logs a message
            • Processes the selected objects
            • Create the log file
            • Return True if file is valid
            • Execute the configuration
            • Export a scene graph
            • Write the object to a file
            • Writes this Reference to the given output
            • Serialize the namespace to the given output
            • Serializes the object
            • Write the influence to the given output
            • Serializes the state attribute to the given output
            • Serialize the state attribute to the given output
            • Export an OpenSceneGraph object
            • Serialize the object to the given output
            • Serialize the node
            • Serializes the object to the given output
            • Serialize this node to the given output
            • Serialize this node
            • Write the object to the given output
            • Serializes the node to the given output
            • Writes the class to the given output
            • Write the array to the given output
            Get all kandi verified functions for this library.

            osgexport Key Features

            No Key Features are available at this moment for osgexport.

            osgexport Examples and Code Snippets

            Command line usage
            Pythondot img1Lines of Code : 7dot img1License : Strong Copyleft (GPL-2.0)
            copy iconCopy
            
            $ BlenderExporter="/path-to-osgexport/blender-2.5/exporter" \
                blender -b "input.blend" \
                -P "${BlenderExporter}/osg/__init__.py" \
                -- --output="output.osgt" \
                [--apply-modifiers] [--enable-animation] [--json-materials] [--enable-anim  
            Tests
            Pythondot img2Lines of Code : 6dot img2License : Strong Copyleft (GPL-2.0)
            copy iconCopy
            
            mkdir tests && cd tests
            cmake ../ -DBLENDER:FILEPATH="/my/path/to/blender" -DTEST=ON
            make  # runs test building osgt files for models in blender-2.xx/data/
            make test  # runs python test located in blender-2.xx/test/
            
              

            Community Discussions

            QUESTION

            osgexport for Blender: Imported meshes impact scene ( possibly the lighting? )
            Asked 2017-Dec-21 at 20:10

            Blender Version 2.79

            OSG Version: 3.4.0-9

            Operating System: Fedora

            I have been using Blender's export utility to export obj files and then using osgconv to convert them to osg files. The files are then imported and rendered into a scene that looks like: Image of the working scene before using the export tool

            Today I installed osgexport by Cedric Pinson ( Github page: https://github.com/cedricpinson/osgexport ) to directly export from Blender to osgt files. I get the following results when I import those files and render them. Image of the scene where everything goes dark and the lighting is wierd

            Additional Details:

            • The code is set to follow the human character. The rest of the scene is static.
            • When I use the old human model I get the working effect, but the whole purpose of using the converter is to be able to export its animations.

            Any ideas? I saw the effect and I don't really even know where to start. The only difference is the outputted file from the converter. Everything else is the same. Also, if there is a newer/better way to export blender files into files that OSG can read, then I'm open to any and all suggestions.

            Thank you in advance,

            ...

            ANSWER

            Answered 2017-Dec-21 at 20:10

            For what it's worth, the OSG forum/mailing list is usually pretty good about answering questions, and I believe I've seen Cedric's name there regularly, along with all the main contributors: http://forum.openscenegraph.org/

            New users usually have to have their questions go through moderation, to cut down on spam, so just have some patience.

            On this specific question, I have 3 suggestions:

            1. Convert both files to osgt and run a diff. Ignore any numerical differences, look for things like node arrangement, material types, etc.

            2. Try opening your exported model in osgviewer, just to see how the default settings display it. You can also easily play with things like backfaces, lighting settings, clipping planes, before dropping it into your application - press h to see all the run-time options.

            3. Instantiate your light with all 3 types of lighting enabled. Particularly, I have found some models depend heavily on specular lighting, but some of the examples don't turn it on. Of course, if you use the full-white values shown here, you may oversaturate, but this is for an example:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install osgexport

            To install last version of the exporter go in user preference, then 'Install from File' in the Add-ons tab with the zip from https://github.com/cedricpinson/osgexport/releases.

            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/cedricpinson/osgexport.git

          • CLI

            gh repo clone cedricpinson/osgexport

          • sshUrl

            git@github.com:cedricpinson/osgexport.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 cedricpinson

            osgjs

            by cedricpinsonJavaScript

            globe

            by cedricpinsonJavaScript

            globetweeter

            by cedricpinsonJavaScript

            vox2mesh

            by cedricpinsonC++

            rgbx

            by cedricpinsonC++