.msh (SWBF toolchain version) exporter for Blender
Go to file
SleepKiller 98cc5af1d6 fill out bl_info properly 2019-11-22 02:10:21 +13:00
.vscode basic working version 2019-11-11 23:03:52 +13:00
addons/io_scene_swbf_msh fill out bl_info properly 2019-11-22 02:10:21 +13:00
docs more docs 2019-11-22 01:57:19 +13:00
.gitattributes Initial commit 2019-11-03 03:54:52 +13:00
.gitignore basic working version 2019-11-11 23:03:52 +13:00
README.md add exporter docs 2019-11-20 17:37:53 +13:00
glTF-Blender-IO-license.txt basic working version 2019-11-11 23:03:52 +13:00

README.md

SWBF-msh-Blender-Export

WIP .msh (SWBF toolchain version) exporter for Blender 2.8

Currently capable of exporting the active scene without collision primitives or skinning information.

Installing

TODO: Install instructions.

Work to be done

  • Raise an error when a .msh segment has more than 32767 vertices.
  • Convert from Blender's coordinate space to .msh cooordinate space.
  • Add support for exporting materials. Blender's materials are all based around it's own renderers, so possibly going to need custom UI and properties in order to provide something useful for .msh files.
  • Add support for collision primitives. Blender doesn't seam to support having basic boxes, cylinders or spheres so it's likely some wacky rules and conventions will need to be used by the modeler. "Add a 1m mesh primitive, have "sphere/box/cylinder" in the name and control the size with the object's scale." Less intuitive than I'd like but it might be the best course of action.
  • Investigate and add support for exporting bones and vertex weights.
  • Investigate and add support for exporting animations.
  • Investigate if anything special needs to be done for lod/lowres exporting.
  • Implement .msh importing. Currently you can use the 1.2 release of swbf-unmunge to save out munged models to glTF 2.0 files if you need to open a model in Blender.

What from glTF-Blender-IO was used?

The reload_package function from __init__.py. Before writing this I had barely touched Python and when I saw that glTF-Blender-IO had a function to assist script reloading "I thought that's useful, I think I kinda need that and I don't know how to write something like that myself yet.". And it was very useful, so thank you to all the glTF-Blender-IO developers and contributors.