Nodes/ComfyUI_KubaNodes/kubakub scene measure
ComfyUI Node

kubakub scene measure

Real distances from the 3D scene: per pixel of the projection view the distance to the projector, the angle it hits the surface, the size of one matrix pixel on the building, the relative brightness and the offset from the wall; per region the same as medians plus area (written into the regions, report as a table). Also a viewer (for frame in frame) with the real facade width and your audience spot for frame in frame.

By kubakubkub·Created 15 days ago·Updated 3 days ago· 9
kubakub scene measure
  • scene
  • regions
  • regions
  • viewer
  • map
  • table
  • report
  • raw
◄viewer_x_m0.0►
◄viewer_distance_m15.0►
◄eye_height_m1.70►
◄mapbrightness►
◄grazing_deg60►
Categorykubakub/3d/scene

Inputs (7)

NameTypeDefaultDescription
sceneKUBA_SCENEFrom kubakub scene render.
viewer_x_mFLOAT0.0-10000–10000Audience spot along the wall, from the centre of the projector frame (m).
viewer_distance_mFLOAT15.00.5–10000Audience distance from the main wall (m).
eye_height_mFLOAT1.700–1000Eye height of the audience above the ground (m).
mapCOMBObrightnessWhich measurement the map output shows in colour: brightness (1 = a typical facade), distance to the projector, incidence angle, mm per matrix pixel, or offset from the main wall.
grazing_degFLOAT600–90Regions hit at a steeper angle than this get the tag 'grazing' (stretched, dim projection).
regionsoptKUBA_REGIONSRegions at the projection view's size (e.g. regions from id renders with the clay as matrix). They get the measurements and a 'grazing' tag.

Outputs (6)

NameTypeDescription
regionsKUBA_REGIONSThe regions with a 'scene' entry each (+ grazing tag). Without regions connected to this node the output is empty: leave it unconnected then.
viewerKUBA_VIEWERFacade width / bottom from the projector frame on the wall, viewer at the audience spot.
mapIMAGEThe chosen measurement as a colour map of the projection view.
tableSTRINGPer region: distance, offset, incidence, mm per px, brightness, area, viewer distance (tab separated).
reportSTRINGProjector frame on the wall, median measurements, the viewer and the map's colour range.
rawMASKThe chosen measurement as a grey mask, not colourised: 0 = the lowest value of the colour range, 1 = the highest, 0 outside the building. The report says which values (metres, degrees, mm ...) 0 and 1 stand for.