bevy gaussian splatting render pipeline plugin. view the live demo
use bevy::prelude::*;
use bevy_gaussian_splatting::GaussianSplattingPlugin;
fn main() {
App::build()
.add_plugins(DefaultPlugins)
.add_plugins(GaussianSplattingPlugin)
.add_systems(Startup, setup_gaussian_cloud)
.run();
}
fn setup_gaussian_cloud(
mut commands: Commands,
asset_server: Res<AssetServer>,
) {
commands.spawn(GaussianSplattingBundle {
cloud: asset_server.load("scenes/icecream.gcloud"),
..Default::default()
});
commands.spawn(Camera3dBundle::default());
}
cargo run --bin compare_aabb_obb
bevy_gaussian_splatting |
bevy |
---|---|
2.1 |
0.13 |
0.4 - 2.0 |
0.12 |
0.1 - 0.3 |
0.11 |