ComfyUI Node
kubakub scene walkthrough
Makes a previz video of the projection as someone walking past would see it: a camera walks through the audience along keyframes while the matrix (a still or video frames, frame i of the walk shows matrix frame i, looping) is projected onto the model. Optional background image / frames behind the building. Output: IMAGE frames (-> Create Video / Save Video). The camera views are kept on disk: a changed path or matrix renders only new views (25 per Blender job).
kubakub scene walkthrough
- scene
- matrix
- background
- clay_color
- frames
- report
- fps
- shadow
◄path-15, 25, 1.7
0, 15, 1.7
15, 10, 1.7►
◄seconds8.0►
◄fps25►
◄lens_mm24►
◄width960►
◄height540►
◄ambient0.15►
◄gain1.00►
◄physical1.00►
◄shaderclay►
Categorykubakub/3d/scene
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| scene | KUBA_SCENE | From kubakub scene render. | |
| path | STRING | -15, 25, 1.7 0, 15, 1.7 15, 10, 1.7 | Keyframes, one per line: x along the wall from the frame centre, distance from the wall, eye height[, look x, look height] (m). Spread evenly over the walk, smooth spline between them. No look = the frame centre. |
| seconds | FLOAT | 8.00.1–600 | Length of the walk in seconds (frames = seconds x fps). |
| fps | INT | 251–120 | Frames per second of the video. A whole number typed here: the decimal fps output of other nodes does not connect to it. The 'fps' output of this node passes it on (-> Create Video). |
| lens_mm | FLOAT | 246–300 | Walking camera lens (36 mm sensor); 20 = wide, 35 = natural. |
| width | INT | 96064–8192 | Video width in pixels. |
| height | INT | 54064–8192 | Video height in pixels. |
| ambient | FLOAT | 0.150–1 | Brightness of the unlit building (clay) around the projection. |
| gain | FLOAT | 1.000–4 | Brightness of the projected image; 1 = as it is, 2 = twice as bright. |
| physical | FLOAT | 1.000–1 | 1 = surfaces hit at a steep angle or far away get darker, as with a real projector; 0 = flat. |
| matrixopt | IMAGE | Matrix image or frames. Nothing connected: the walk past the clay model, without a picture. | |
| backgroundopt | IMAGE | Behind the building: a still or frames (looping), scaled to cover the view. Default black. | |
| clay_coloropt | COLOR | #f2f2f2 | Colour of the clay: the building and its surroundings where no picture lands. Almost white by default; pick the stone's colour for a closer look. |
| shaderopt | COMBO | clay | How the model is drawn where no picture lands: clay, wireframe (its edges as lines in the clay colour, not dimmed by ambient) or clay with the edges on it. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| frames | IMAGE | The walk as video frames (-> Create Video / Save Video). |
| report | STRING | Frame count, time, views rendered new or from the cache, and the projection shadow share. |
| fps | FLOAT | The frames per second of this walk (-> Create Video, fps). |
| shadow | MASK | Per frame: 1 where the audience sees the building but the projector does not reach it (as on kubakub scene preview). |