-
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gltf_auto_export): component filtering for exports, bug-fixes an…
…d tests(#143) * added filtering out of invalid components/ custom properties: * includes filtering out of invalid / disabled components as defined in bevy_components, components_meta etc * completely changed handling of "unique" (non blueprint) objects by copying them instead of moving/renaming them & manipulating their custom properties : much cleaner, much simpler ! * disabled default gltf export of optimised animations * added tests ! * closes #139 * closes #141 * closes #142 * closes #146
- Loading branch information
1 parent
e83ef32
commit dfc2be8
Showing
24 changed files
with
11,518 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[package] | ||
name = "bevy_example" | ||
version = "0.3.0" | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
||
[dependencies] | ||
bevy="0.12" | ||
bevy_gltf_blueprints = { path = "../../crates/bevy_gltf_blueprints" } | ||
bevy_registry_export = { path = "../../crates/bevy_registry_export" } | ||
bevy_gltf_worlflow_examples_common = { path = "../../examples/common" } | ||
|
||
bevy_rapier3d = { version = "0.23.0", features = [ "serde-serialize", "debug-render-3d", "enhanced-determinism"] } | ||
bevy_asset_loader = { version = "0.18", features = ["standard_dynamic_assets" ]} | ||
bevy_editor_pls = { version = "0.6" } | ||
rand = "0.8.5" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Bevy registry export example/demo | ||
|
||
This example showcases | ||
* the use of the bevy_registry_export crate to extract all components & types information into a json file. | ||
* That file is then used by the [Blender addon](https://github.com/kaosat-dev/Blender_bevy_components_workflow/tree/main/tools/bevy_components) to create Uis for each component, | ||
to be able to add & edit Bevy components easilly in Blender ! | ||
|
||
|
||
## Running this example | ||
|
||
``` | ||
cargo run --features bevy/dynamic_linking | ||
``` | ||
|
||
Running the example also regenerates the registry.json file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
({}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
({ | ||
"world":File (path: "models/World.glb"), | ||
"models": Folder ( | ||
path: "models/library", | ||
), | ||
}) |
Oops, something went wrong.