Addon for Blender to directly export to a Godot Scene

Lu Jiacheng ab954cd286 Merge pull request #297 from Jason0214/fix_none_skeleton_node преди 5 години
.github 66f3d73ee6 create issue template преди 6 години
io_scene_godot 3bab628d07 Fix crash on None armature object преди 5 години
tests 5c408699bb Explicitly normalize quaternion when exporting преди 6 години
.gitignore 1f1b15ce39 add animation export option преди 7 години
.pylintrc f3ec35adcb Redo constraint baking, a much simpler approach преди 6 години
.travis.yml a16087ee88 Fix missing library python-setuptools and libGLU1 преди 5 години
LICENSE.txt d5b6588f27 Include a copy of the GPLv2 instead of the GPLv3 преди 7 години
Makefile ab3639493f Fixed duplicate pylint call (which has been present for 3 months!) преди 7 години
README.md 56a2986db2 Fixing some typos. преди 6 години
requirements.txt 4ac72488be Specified exact versions of packages to fix travis build issue преди 7 години

README.md

Godot Engine's native Blender exporter add-on.

Native Godot scene format exporter for Blender, making the export process to Godot Engine as straightforward as possible.

WARNING: This exporter is experimental, and still lacks many features.

Installation

  1. Copy the io_scene_godot directory the location where Blender stores the scripts/addons folder on your system (you should see other ioscene* folders there from other addons). Copy the entire dir and not just its contents.
  2. Go to the Blender settings and enable the "Godot Exporter" plugin.
  3. Export your file with File -> Export -> Godot Engine (.escn)

If you find bugs or want to suggest improvements, please open an issue on the upstream GitHub repository.

Development Notes

This repository includes a Makefile to assist with development. Running make from the project root will:

  1. Export all of the blend files from the tests/scenes directory.
    If you add a feature, it is suggested that you add a new blend file to the tests/scenes directory that uses this feature.
  2. Runs diff on the output files compared to the reference exports. This acts as a regression test.
  3. Runs pycodestyle and pylint style tests. Your code must pass these to be elegible to merge.

Due to differences in Blender versions creating minor differences in the output files (even with the same Blender release number), the regression tests are best run with Blender 2.79 downloaded from this exact url, which is used for the Travis builds. If you think your Blender version is adequate, the hash (visble in the upper right of Blender's splash screen) should be 5bd8ac9abfa. The exporter itself should run on all modern versions of Blender, but the output may differ slightly.

License

This Godot exporter is distributed under the terms of the GNU General Public License, version 2 or later. See the LICENSE.txt file for details.