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

#48 in Rendering

Download history 164/week @ 2024-09-20 573/week @ 2024-09-27 315/week @ 2024-10-04 282/week @ 2024-10-11 249/week @ 2024-10-18 280/week @ 2024-10-25 151/week @ 2024-11-01 33/week @ 2024-11-08 6/week @ 2024-11-15 1/week @ 2024-11-22 1/week @ 2024-11-29

91 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

~53–93MB
~1.5M SLoC