Skip to main content

image_to_heightfield_mesh

Function image_to_heightfield_mesh 

Source
pub fn image_to_heightfield_mesh(
    image: ImageView<'_>,
    grid: u32,
) -> Result<(MeshIR, ImageTo3dReceipt, MeshValidationReport), VisionError>
Expand description

Build a heightfield mesh from image luminance. grid is samples per side (2..=64).