Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ bevy_gilrs = ["bevy_internal/bevy_gilrs"]
# [glTF](https://www.khronos.org/gltf/) support
bevy_gltf = ["bevy_internal/bevy_gltf"]

# [FBX](https://en.wikipedia.org/wiki/FBX) support
fbx = ["bevy_internal/bevy_fbx"]

# Adds PBR rendering
bevy_pbr = ["bevy_internal/bevy_pbr"]

Expand Down Expand Up @@ -1166,6 +1169,17 @@ description = "Renders meshes with both forward and deferred pipelines"
category = "3D Rendering"
wasm = true

[[example]]
name = "load_fbx"
path = "examples/3d/load_fbx.rs"
doc-scrape-examples = true

[package.metadata.example.load_fbx]
name = "Load FBX"
description = "Loads and renders an FBX file as a scene"
category = "3D Rendering"
wasm = false

[[example]]
name = "motion_blur"
path = "examples/3d/motion_blur.rs"
Expand Down Expand Up @@ -1468,6 +1482,18 @@ description = "Plays an animation on a skinned glTF model of a fox"
category = "Animation"
wasm = true

[[example]]
name = "animated_mesh_fbx"
path = "examples/animation/animated_mesh_fbx.rs"
required-features = ["fbx"]
doc-scrape-examples = true

[package.metadata.example.animated_mesh_fbx]
name = "Animated Mesh FBX"
description = "Plays an animation on an FBX model of an animated cube"
category = "Animation"
wasm = false

[[example]]
name = "animated_mesh_control"
path = "examples/animation/animated_mesh_control.rs"
Expand Down Expand Up @@ -3190,6 +3216,18 @@ description = "A simple way to view glTF models with Bevy. Just run `cargo run -
category = "Tools"
wasm = true

[[example]]
name = "scene_viewer_fbx"
path = "examples/tools/scene_viewer_fbx/main.rs"
required-features = ["fbx"]
doc-scrape-examples = true

[package.metadata.example.scene_viewer_fbx]
name = "FBX Scene Viewer"
description = "A simple way to view FBX models with Bevy. Just run `cargo run --release --example scene_viewer_fbx --features=fbx /path/to/model.fbx`, replacing the path as appropriate. Provides enhanced controls for FBX-specific features like material inspection and texture debugging"
category = "Tools"
wasm = false

[[example]]
name = "gamepad_viewer"
path = "examples/tools/gamepad_viewer.rs"
Expand Down
Binary file added assets/models/animated/cube_anim.fbx
Binary file not shown.
Binary file added assets/models/cube/cube.fbx
Binary file not shown.
Loading
Loading