1 unstable release
0.8.0 | Jul 9, 2024 |
---|
#76 in Rendering
60 downloads per month
Used in 6 crates
(5 directly)
1.5MB
31K
SLoC
All is Cubes Renderer
All is Cubes is a “voxel game” where each block is made out of smaller blocks (one level of recursion).
This particular package provides a raytracer which can render All is Cubes scenes, as well as types related to rendering by any means.
License
All source code and other materials are Copyright © 2020-2024 Kevin Reid, and licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
lib.rs
:
Raytracer and rendering abstractions for the all-is-cubes engine.
Package features
This package, all-is-cubes-render
, defines the following feature flags:
"auto-threads"
: Enable use of threads for parallel and background processing, including viarayon
’s global thread pool. This feature does not affect the public API (except via enabling other features), only performance and dependencies."raytracer"
: Enables theraytracer
module."std"
(enabled by default): If disabled, the library becomesno_std
compatible, at this cost:raytracer::RtRenderer
does not implementheadless::HeadlessRenderer
.- Error types do not implement
std::error::Error
.
Dependencies
~11MB
~169K SLoC