Tessellation implements Manifold Dual Contouring.
Tessellation is a library for 3d tessellation, e.g. it will create a set of triangles from any implicit function of volume. Tessellation implements Manifold Dual Contouring.
Create a unit sphere and tessellate it:
```rust
extern crate nalgebra as na;
extern crate tessellation;
//!
struct UnitSphere {
bbox : tessellation::BoundingBox
impl tessellation::ImplicitFunction
let sphere = UnitSphere::new(); let mut mdc = tessellation::ManifoldDualContouring::new(&sphere, 0.2, 0.1); let triangles = mdc.tessellate().unwrap(); ```
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.