9 releases

new 0.3.0 Oct 10, 2024
0.2.6 Oct 3, 2024
0.2.0 Sep 24, 2024
0.1.0 Jun 28, 2024

#56 in Rendering

Download history 144/week @ 2024-06-24 21/week @ 2024-07-01 185/week @ 2024-09-23 680/week @ 2024-09-30

865 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

~49–89MB
~1.5M SLoC