Blender_bevy_components_wor.../tools/blender_auto_export
Mark Moissette d9060a4d6b
chore(cleanups): overall minor cleanups & tweaks (#3)
* split documentation between main docs & example docs
* clearer seperation between example, blender add on etc
*  some  minor code quality improvements based on Clippy linting
* minor tweaks & additions to Blender & gltf example files: swapped out one mesh collider 
   for a capsule collider for demo purposes
* cleanups, tweaks, badges etc
2023-08-12 00:35:14 +02:00
..
__init__.py feat(tools): added & slightly improved Blender gltf-auto-export tool 2023-07-26 23:34:08 +02:00
blender_auto_export_gltf.py feat(tools): updated blender_auto_export_gltf 2023-07-29 16:41:57 +02:00
README.md chore(cleanups): overall minor cleanups & tweaks (#3) 2023-08-12 00:35:14 +02:00

gltf_auto_export

For convenience I also added this Blender addon that automatically exports your level/world from Blender to gltf whenever you save your Blend file (actually when you save inside your level/world scene or in the "library" scene, where I personally usually store all collections to instanciate). It is very barebones and messy, but it does a minimal ok job.

Installation:

  • in Blender go to edit => preferences => install

blender addon install

  • choose the path where blender_auto_export/blender_auto_export_gltf.py is stored

blender addon install

Usage:

  • before it can automatically save to gltf, you need to configure it
  • go to file => export => gltf auto export

blender addon use

  • set up your parameters: output path, name of your main scene etc

    blender addon use2

  • click on "apply settings"

  • now next time you save your blend file you will get an automatically exported gltf file