bevy_voxel_plot

Crates.iobevy_voxel_plot
lib.rsbevy_voxel_plot
version2.1.0
created_at2025-04-29 00:00:44.712069+00
updated_at2025-04-29 08:27:44.011127+00
descriptionAn efficient voxel plot with support for transparency for bevy.
homepagehttps://github.com/hacknus/bevy_voxel_plot
repositoryhttps://github.com/hacknus/bevy_voxel_plot
max_upload_size
id1652813
size1,564,835
(hacknus)

documentation

https://docs.rs/bevy_voxel_plot

README

Bevy Voxel Plot

crates.io Docs Rust

A simple and efficient Voxel Plot for Bevy. Developed for data visualisation purposes (e.g. pointclouds/voxelplots of 3D structures).

It uses instancing and is an adaptation of the custom_shader_instancing.rs example of bevy which also supports opacity control.

Able to plot 2 million voxels on an M2Pro Macbook Pro.

screenshot_main screenshot_bunny

Examples:

cargo run --release --examples bevy_egui
  • Bevy Pan Orbit Camera

Simple implementation of the Voxel Plot along with the bevy_panorbit_camera crate.

  • Bevy Egui

More advanced implementation of the Voxel Plot along with the bevy_panorbit_camera crate inside an egui image texture, implemented with the bevy_egui crate.

  • Bevy Pointcloud Bunny

Load the test file bunny.pcd from pcl and display it as colorful voxels with low alpha.

Version Compatibility

bevy bevy_voxel_plot
0.16 2.0
0.15 1.0

Note: version 1.0 requires the shader to be copied in your directory (did only fix that from 2.1+ )

Credits

Commit count: 36

cargo fmt