15 releases (4 breaking)

0.5.1 Nov 6, 2024
0.5.0 Oct 30, 2024
0.4.0 Oct 28, 2024
0.3.3 Oct 23, 2024
0.1.0 Jun 28, 2024

#47 in Rendering

Download history 172/week @ 2024-09-21 633/week @ 2024-09-28 270/week @ 2024-10-05 352/week @ 2024-10-12 171/week @ 2024-10-19 270/week @ 2024-10-26 164/week @ 2024-11-02 16/week @ 2024-11-09

714 downloads per month
Used in bevy_zeroverse_ffi

MIT license

2MB
6K SLoC

Rust 3.5K SLoC // 0.0% comments JavaScript 2K SLoC // 0.1% comments WebGPU Shader Language 86 SLoC // 0.0% comments Python 82 SLoC // 0.1% comments

bevy_zeroverse ♾️

test GitHub License GitHub Last Commit GitHub Issues Average time to resolve an issue crates.io

arXiv | project page

bevy zeroverse synthetic reconstruction dataset generator. view the live demo.

capabilities

  • depth/normal rendering modes
  • plücker camera labels
  • generate parameteric zeroverse primitives
  • primitive deformation
  • procedural zeroverse composite environments
  • online torch dataloader
  • safetensor chunking
  • primitive boolean operations
  • primitive pbr wireframe
  • primitive 4d augmentation

dataloader

Alt text

from bevy_zeroverse_dataloader import BevyZeroverseDataset
from torch.utils.data import DataLoader

dataset = BevyZeroverseDataset(
    editor=False, headless=True, num_cameras=6,
    width=640, height=480, num_samples=1e6,
)
dataloader = DataLoader(
    dataset, batch_size=4, shuffle=True, num_workers=1,
)

for batch in dataloader:
    visualize(batch)

mat-synth

  • download the mat-synth dataset here
  • 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)

Alt text

compatible bevy versions

bevy_zeroverse bevy
0.2 0.14
0.1 0.13

credits

Dependencies

~52–92MB
~1.5M SLoC