forked from cedricpinson/osgexport
-
Notifications
You must be signed in to change notification settings - Fork 0
Blender exporter for OpenSceneGraph
License
AurL/osgexport
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Follow instruction from github to get the repository https://github.com/cedricpinson/osgexport ## Installation (blender 2.5+) To install last version of the exporter go in user preference, then 'install addons' with the zip from https://github.com/cedricpinson/osgexport/tree/master/blender-2.5/build ## 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](https://github.com/sketchfab/osgexport/blob/feature/cycles/blender-2.5/exporter/osg/__init__.py#L46-51)). ```shell $ 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] ``` ## How to report a bug Open an [issue](https://github.com/cedricpinson/osgexport/issues/new) and send a minimal blender file that produce the problem. ## Tests To run tests: ```shell 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`
About
Blender exporter for OpenSceneGraph
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Python 90.5%
- CMake 9.4%
- Shell 0.1%