ComfyUI Node
kubakub frame guide (old)
Perspective guide for frame in frame. Depth rules give regions a depth in metres: > 0 = a room or world behind the frame (the facade hides everything outside the frame, a window's mullions stay in front), < 0 = a 'parasite' sticking out of the facade towards the viewer. The guide shows side walls (shaded) and back / front faces as the viewer sees them; use it as the structure for generation, and the masks and quads to place media.
kubakub frame guide (old)
- regions
- viewer
- matrix
- guide
- area
- back
- walls
- frames_json
- report
◄depth_rules►
◄default_depth_m0.0►
◄dim0.55►
◄window_hulltrue►
Categorykubakub/lab
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| regions | KUBA_REGIONS | The facade regions (the same size as the viewer's matrix). | |
| viewer | KUBA_VIEWER | From kubakub audience viewpoint: where the audience stands. | |
| depth_rules | STRING | '<name wildcard> = metres', 'group:<g> = m', 'tag:<t> = m'. Later lines win. Negative = in front of the facade. | |
| default_depth_m | FLOAT | 0.0-100–1000 | Depth for regions no rule names; 0 = not a frame. |
| dim | FLOAT | 0.550–1 | Dim the matrix outside the frames: 0.55 for looking, 0 when the guide is the input of a generation (the facade stays as it is). |
| window_hull | BOOLEAN | true | On: a frame made of several parts (glass panes) is one opening, the gaps (mullions) stay in front. Off: the largest part only. |
| matrixopt | IMAGE | Background of the guide (dimmed). |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| guide | IMAGE | Matrix dimmed, frames drawn as the viewer sees them. |
| area | MASK | Pixels generation may change (window for rooms; frame, walls and front face for parasites). |
| back | MASK | Back faces (rooms) and front faces (parasites). |
| walls | MASK | Side walls. |
| frames_json | STRING | Per frame: depth, scale, outline, back_quad (corner pin). |
| report | STRING | The frames with their depth and scale. |