Skip to content
OpenMW-tailored changes to the Blender exporter for OpenSceneGraph
Python CMake Shell
Branch: master
Clone or download
Pull request Compare This branch is 2 commits ahead, 72 commits behind cedricpinson:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Follow instruction from github to get the repository

## Installation (blender 2.5+)

To install last version of the exporter go in user preference, then 'install addons' with the zip from

## 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 [](


$ BlenderExporter="/path-to-osgexport/blender-2.5/exporter" blender \
                                                            -b "input.blend" \
                                                            -P "${BlenderExporter}/osg/" \
                                                            -- --output="output.osgt" \
                                                            [--apply-modifiers] [--enable-animation] [--json-materials]

## 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 ../blender-2.5 -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`
You can’t perform that action at this time.