Skip to content

Commit

Permalink
feat: scenes (#31)
Browse files Browse the repository at this point in the history
## what does this do?
- [x] supports switching between different types of generated scenes
(object vs. room scales)
- [x] supports dynamic directional lighting /w shadows enabled
- [x] cameras render at full resolution, even in grid view
- [x] scaffolding for headless mode
- [x] plucker visualization moved out of viewer.rs and into plucker.rs,
rendering elements directly to each camera
- [x] procedural room scale
  • Loading branch information
mosure authored Jul 19, 2024
2 parents a6426e6 + 41be366 commit 63e3d6b
Show file tree
Hide file tree
Showing 19 changed files with 1,533 additions and 449 deletions.
7 changes: 3 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ perftest = []
plucker = []

viewer = [
"bevy_args",
"bevy-inspector-egui",
"bevy_panorbit_camera",
"clap",
"bevy/bevy_ui",
]

Expand All @@ -69,10 +67,10 @@ webgpu = [


[dependencies]
bevy_args = { version = "1.5", optional = true }
bevy_args = "1.6"
bevy-inspector-egui = { version = "0.25", optional = true }
bevy_panorbit_camera = { version = "0.19", optional = true, features = ["bevy_egui"] }
clap = { version = "4.4", features = ["derive"], optional = true }
clap = { version = "4.4", features = ["derive"] }
glob = "0.3"
itertools = "0.13"
noise = { version = "0.9" }
Expand All @@ -94,6 +92,7 @@ default-features = false
features = [
"bevy_asset",
"bevy_core_pipeline",
"bevy_gizmos",
"bevy_pbr",
"bevy_render",
"bevy_winit",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bevy zeroverse synthetic reconstruction dataset generator. view the [live demo](
- [X] plücker camera labels
- [X] generate parameteric zeroverse primitives
- [X] primitive deformation
- [ ] procedural zeroverse composite environments
- [x] procedural zeroverse composite environments
- [ ] primitive boolean operations
- [ ] primitive pbr wireframe
- [ ] online dataloader
Expand All @@ -27,7 +27,7 @@ bevy zeroverse synthetic reconstruction dataset generator. view the [live demo](
## mat-synth

- download the mat-synth dataset [here](https://huggingface.co/datasets/gvecchio/MatSynth/blob/main/scripts/download_dataset.py)
- crop the mat-synth dataset (4k is heavy) using `python mat-synth/resize.py --source_dir <path-to-mat-synth> --dest_dir assets/materials`
- resize the mat-synth dataset (4k is heavy) using `python mat-synth/resize.py --source_dir <path-to-mat-synth> --dest_dir assets/materials`
- material basecolor grid view (`cargo run -- --material-grid` or [live demo](https://mosure.github.io/bevy_zeroverse?material_grid=true))

![Alt text](docs/bevy_zeroverse_material_grid.webp)
Expand Down
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit 63e3d6b

Please sign in to comment.