Strata - v1.4.10
    Preparing search index...

    Interface MarchingCubesOptions

    Options for the marching cubes algorithm.

    interface MarchingCubesOptions {
        bounds: { max: Vector3; min: Vector3 };
        isoLevel?: number;
        resolution: number;
    }
    Index

    Properties

    bounds: { max: Vector3; min: Vector3 }

    World-space boundaries for the extraction volume.

    Type Declaration

    • max: Vector3

      Maximum corner of the bounding box.

    • min: Vector3

      Minimum corner of the bounding box.

    isoLevel?: number

    Target distance value for the isosurface. Default: 0.

    resolution: number

    Grid resolution (number of cells per axis). Max: 256.