ComfyUI Node
kubakub pieces render
Renders the moving pieces from the projection camera in Blender Cycles, frame by frame (one Blender session; every frame is kept, so a change renders only what changed). clay = the model in light; projected matrix = the matrix (or its frames) cast from the projector onto the moving pieces, the way the audience would see it.
kubakub pieces render
- pieces
- matrix
- clay_color
- viewer
- frames
- alpha
- fps
- report
◄duration4.0►
◄fps25►
◄lookclay►
◄projector_brightness1.0►
◄environmentnight►
◄env_strength0.30►
◄clay0.70►
◄backgroundblack►
◄resolution_scale0.50►
◄samples32►
◄viewprojector►
◄audience_distance_m15.0►
◄audience_offset_m0.0►
◄eye_height_m1.7►
◄lens_mm24►
◄exposure0.0►
Categorykubakub/3d/pieces
Inputs (20)
| Name | Type | Default | Description |
|---|---|---|---|
| pieces | KUBA_PIECES | The pieces with their transforms. | |
| duration | FLOAT | 4.00.04–600 | Seconds. |
| fps | FLOAT | 251–120 | Frames per second. |
| look | COMBO | clay | clay = the model in light (content to project); projected matrix = the matrix cast from the projector onto the moving pieces. |
| projector_brightness | FLOAT | 1.00–20 | projected matrix: 1 = the matrix at its own brightness on the stone. |
| environment | COMBO | night | The light around the building (Blender's built-in HDRIs). |
| env_strength | FLOAT | 0.300–20 | How bright that light is. |
| clay | FLOAT | 0.700–1 | Brightness of the stone. |
| background | COMBO | black | black = only the building (alpha output); environment = the HDRI behind it. |
| resolution_scale | FLOAT | 0.500.1–1 | Of the scene's size (1 = the matrix size). |
| samples | INT | 321–4096 | Cycles samples per frame (more = cleaner, slower; denoised either way). |
| matrixopt | IMAGE | projected matrix: one image or one per frame (the last one repeats). | |
| viewopt | COMBO | projector | projector = from the projection camera (what the projector sends); audience = from a spot in front of the building: the pieces show their depth. |
| audience_distance_mopt | FLOAT | 15.00.5–500 | view = audience: metres in front of the facade. |
| audience_offset_mopt | FLOAT | 0.0-500–500 | view = audience: metres left (-) or right (+) of the facade's middle. |
| eye_height_mopt | FLOAT | 1.70–200 | view = audience: eye height above the ground (metres). |
| lens_mmopt | FLOAT | 246–300 | view = audience: focal length (smaller = wider). |
| clay_coloropt | COLOR | #ffffff | Colour of the stone (and of the surroundings); 'clay' sets how bright it is. White = neutral grey clay, as before. |
| exposureopt | FLOAT | 0.0-10–10 | Overall exposure in stops: +1 = twice as bright, -1 = half (0 = as before). |
| vieweropt | KUBA_VIEWER | The audience spot of kubakub scene measure / audience viewpoint / project settings. With view = audience it replaces audience_distance_m, audience_offset_m and eye_height_m of this node. |
Outputs (4)
| Name | Type | Description |
|---|---|---|
| frames | IMAGE | — |
| alpha | MASK | — |
| fps | FLOAT | — |
| report | STRING | — |