ComfyUI Node
kubakub relief field (from depth)
Turns a depth map into a physical relief panel in millimetres, the start of every relief chain. Set the real panel width and the deepest relief; the other relief nodes then shape, check, weigh and export it.
kubakub relief field (from depth)
- depth
- field
- preview
- height
◄panel_width_mm2400►
◄max_relief_mm120►
◄panel_bottom_mm300►
◄invertfalse►
◄gamma1.00►
◄flatten_percentile0.5►
Categorykubakub/3d/fabricate/relief
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| depth | IMAGE | Depth map of the relief (bright = sticks out, unless invert is on). Only the first image of a batch is used. | |
| panel_width_mm | FLOAT | 2400100–20000 | Real width of the panel in mm. The depth map is stretched to it; the panel height follows from the image aspect. |
| max_relief_mm | FLOAT | 1201–1000 | How far the brightest point sticks out from the back, in mm. |
| panel_bottom_mm | FLOAT | 3000–10000 | Height of the panel's lower edge above the ground, in mm. The safety check uses it to know what a person can reach. |
| invert | BOOLEAN | false | Turn the depth around: on when your depth map has near = dark. |
| gamma | FLOAT | 1.000.1–4 | Shapes the depth curve: below 1 lifts the mid tones (more shallow detail), above 1 pushes them back. 1 = linear. |
| flatten_percentile | FLOAT | 0.50–10 | Percent of the darkest and brightest pixels clipped before scaling, so single stray pixels from a depth model do not set the range. 0 = no clipping. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| field | RELIEFFORGE_FIELD | The relief as heights in mm with its real size, for the other relief nodes. |
| preview | IMAGE | Grey preview of the relief (white = sticks out furthest). |
| height | MASK | The relief as a mask: 0 = the lowest, 1 = the highest point (the same picture as preview), to use as a depth or displacement map. Here 0 = the back and 1 = max_relief_mm. |