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
217 downloads per month
1MB
285 lines
Bevy Voxel Plot
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.
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