GithubHelp home page GithubHelp logo

gaofei / osgexport Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cedricpinson/osgexport

0.0 2.0 0.0 36.95 MB

Blender exporter for OpenSceneGraph

License: GNU General Public License v2.0

CMake 3.06% Shell 0.08% Python 96.86%

osgexport's Introduction

Follow instruction from github to get the repository

https://github.com/cedricpinson/osgexport

Installation (blender 2.7+)

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

Command line usage

osgexport needs to inject the path to exporter modules into PYTHONPATH. The injection is done by reading the value of the BlenderExporter environment variable (see __init__.py).

$ 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-animation] \
    [--bake-all] [--bake-quaternions]

How to report a bug

Open an issue and send a minimal blender file that produce the problem.

Tests

To run tests:

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/

To troubleshoot python tests: ctest --debug or ctest --output-on-failure

osgexport's People

Contributors

aurl avatar marchelbling avatar zqsd avatar cedricpinson avatar aluaces avatar blobfish avatar x-bee avatar

Watchers

James Cloos avatar GaoTengFei avatar

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.