bevy_zeroverse

Crates.iobevy_zeroverse
lib.rsbevy_zeroverse
version0.5.1
sourcesrc
created_at2024-06-28 02:50:57.180298
updated_at2024-11-06 20:05:14.474107
descriptionbevy zeroverse synthetic dataset generator
homepagehttps://github.com/mosure/bevy_zeroverse
repositoryhttps://github.com/mosure/bevy_zeroverse
max_upload_size
id1286401
size3,316,608
Mitchell Mosure (mosure)

documentation

README

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

Commit count: 168

cargo fmt