Blender_bevy_components_wor.../examples/bevy_gltf_blueprints/materials
Mark Moissette 2ae8351e0f
feat(gltf_auto_export): rewrite for more cleaner code & a lot of bug fixes (#109)
* fundamental rewrite of a lot of aspects of the exporter, for cleaner code & to solve a number of issues
* set export_separate_dynamic_and_static_objects default to FALSE, as it is an edge use case
* added central tracker class, to track the post save & depsgraph changes
* auto_export is now more operator centric, with functional undo
* now storing add-on configuration at the blend file level  (bpy.data.texts)
* found source of export issues ! mismatch between context.scene & context.window.scene (the last we can set, the other not)
* overhauled & cleaned up materials handling to avoid context issues & reliance on bpy.ops
* huge restructure of how temporary scenes are created & cleaned up
* added support for exports in edit_mode
* updated examples
* a lot more
* fixes #103 
* fixes #112 
* fixes #113 
* fixes #114 
* fixes #115 
* fixes #116
2024-02-05 09:49:19 +01:00
..
assets feat(gltf_auto_export): rewrite for more cleaner code & a lot of bug fixes (#109) 2024-02-05 09:49:19 +01:00
src feat(Save & load): new crate bevy_gltf_save_load + lots of upgrades & improvements (#95) 2024-01-10 14:49:29 +01:00
Cargo.toml feat(materials): Materials libraries tooling & bevy code for material/texture reuse (#71) 2023-12-12 13:21:53 +01:00
README.md feat(materials): Materials libraries tooling & bevy code for material/texture reuse (#71) 2023-12-12 13:21:53 +01:00

Materials example/demo

Example of materials use & reuse (including textures) to avoid redundant materials in blueprints gltfs that lead to asset & memory bloat

  • to be used together with gltf_auto_export version >0.6 with the "materials library" option for exports
  • It shows you how ou can configureBevy_gltf_blueprints to support material libraries
  • material library is here

Running this example

cargo run --features bevy/dynamic_linking