#plot #voxel #bevy

bevy_voxel_plot

An efficient voxel plot with support for transparency for bevy

3 stable releases

new 2.1.0 Apr 29, 2025
2.0.1 Apr 29, 2025
1.0.0 Apr 29, 2025

#274 in GUI

Download history 217/week @ 2025-04-25

217 downloads per month

Apache-2.0

1MB
285 lines

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

Dependencies

~18–24MB
~411K SLoC