Scan

Description

Name

class Tinman.Model.Scan

Derived from

Operation

Converts a 3D model into a heightmap dataset by ray casting.

Fields / Required

model

Type

Model

Constraint

# != null

The input 3D model.


heightmap

Type

path

Constraint

# != null

Output path of the heightmap dataset that uses elevation and displacement to represent the scanned surface of the 3D model.

Fields / Optional

size

Type

number

Default

257

The minimum heightmap size to use.


blur

Type

Vec2

Default

{Vec2: 50, 5}

Edge length of the Gaussian blur filter that is applied to the heightmap samples:

  • Vec2.x :
    Blur amount for elevation samples, before computing displacement samples.

  • Vec2.y :
    Blur amount for displacement samples.