diff --git a/Cargo.toml b/Cargo.toml index fa493093..3b5ab2c9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,6 +57,8 @@ default = [ # "morph_particles", "morph_interpolate", + "nightly_generic_alias", + "sort_bitonic", "sort_radix", # TODO: fix macos radix sort "sort_rayon", @@ -80,6 +82,8 @@ material_noise = ["noise", "dep:noise"] morph_particles = [] morph_interpolate = [] +nightly_generic_alias = [] + noise = [] sh0 = [] diff --git a/README.md b/README.md index b78f07b0..a3030804 100644 --- a/README.md +++ b/README.md @@ -10,13 +10,15 @@ bevy gaussian splatting render pipeline plugin. view the [live demo](https://mos ![Alt text](docs/go.gif) -## install cli +## install ```bash -cargo install bevy_gaussian_splatting +cargo +nightly install bevy_gaussian_splatting bevy_gaussian_splatting --input-cloud [file://gaussian.ply | https://mitchell.mosure.me/go_trimmed.ply] ``` +> note: default bevy_gaussian_splatting features require nightly rust for generic associated types. to use on stable, disable default features and `nightly_generic_alias` feature + ## capabilities diff --git a/src/lib.rs b/src/lib.rs index 0a1d716c..abfe39fb 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,5 +1,5 @@ #![allow(incomplete_features)] -#![feature(lazy_type_alias)] +#![cfg_attr(feature = "nightly_generic_alias", feature(lazy_type_alias))] use bevy::prelude::*; pub use bevy_interleave::prelude::*;