@seatlayer/core 0.110.0 → 0.110.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. package/dist/ar-C5PA2DVE.js +1 -0
  2. package/dist/be-TMKSMYPN.js +1 -0
  3. package/dist/bg-V6HTEDUB.js +1 -0
  4. package/dist/ca-CTZMHWW4.js +1 -0
  5. package/dist/{categoryInventory-BfvwE3nC.d.cts → categoryInventory-BE1AThTx.d.cts} +1 -1
  6. package/dist/{categoryInventory-ClZ-68jI.d.ts → categoryInventory-DxciZQK_.d.ts} +1 -1
  7. package/dist/{chunk-6VOUTNRV.js → chunk-2VYFNNYC.js} +1 -1
  8. package/dist/{chunk-YE4NP3XB.js → chunk-3V32MDJI.js} +1 -1
  9. package/dist/chunk-4AGC7B64.js +1 -0
  10. package/dist/{chunk-ZYQXT5JP.js → chunk-5IADCFUU.js} +1 -1
  11. package/dist/{chunk-2JFCDE27.js → chunk-6CBJBESS.js} +1 -1
  12. package/dist/{chunk-WUNZCUE6.js → chunk-DLHW3UDD.js} +1 -1
  13. package/dist/{chunk-UUIZHJYL.js → chunk-GVVZR3YS.js} +1 -1
  14. package/dist/{chunk-MRLWH6RC.js → chunk-GWGWNBGU.js} +1 -1
  15. package/dist/chunk-JQBJZMLG.js +1 -0
  16. package/dist/{chunk-OJSGMXJS.js → chunk-NVAF2E7Q.js} +1 -1
  17. package/dist/{chunk-FBXZWNND.js → chunk-YRDOE3N7.js} +1 -1
  18. package/dist/{chunk-BNLANXXZ.js → chunk-ZY6WTPTI.js} +1 -1
  19. package/dist/core/chart-ops/index.cjs +1 -1
  20. package/dist/core/chart-ops/index.d.cts +6 -4
  21. package/dist/core/chart-ops/index.d.ts +6 -4
  22. package/dist/core/chart-ops/index.js +1 -1
  23. package/dist/core/inventory/index.d.cts +4 -4
  24. package/dist/core/inventory/index.d.ts +4 -4
  25. package/dist/core/inventory/index.js +1 -1
  26. package/dist/core/layout/index.d.cts +5 -5
  27. package/dist/core/layout/index.d.ts +5 -5
  28. package/dist/core/layout/index.js +1 -1
  29. package/dist/core/quality/index.cjs +1 -1
  30. package/dist/core/quality/index.d.cts +3 -3
  31. package/dist/core/quality/index.d.ts +3 -3
  32. package/dist/core/render-assets/index.cjs +1 -1
  33. package/dist/core/render-assets/index.d.cts +2 -2
  34. package/dist/core/render-assets/index.d.ts +2 -2
  35. package/dist/core/render-assets/index.js +1 -1
  36. package/dist/core/seatConfidence.d.cts +1 -1
  37. package/dist/core/seatConfidence.d.ts +1 -1
  38. package/dist/core/sections/index.d.cts +5 -5
  39. package/dist/core/sections/index.d.ts +5 -5
  40. package/dist/core/sections/index.js +1 -1
  41. package/dist/cs-FUDGOUFL.js +1 -0
  42. package/dist/cy-5RRARIAP.js +1 -0
  43. package/dist/da-PONPPWKY.js +1 -0
  44. package/dist/de-PKG7AAB5.js +1 -0
  45. package/dist/el-H7OFU4QQ.js +1 -0
  46. package/dist/es-QSW5IZ6U.js +1 -0
  47. package/dist/et-GTMPSS72.js +1 -0
  48. package/dist/{eventConfigurations-DsW5Mj2e.d.ts → eventConfigurations-Cdt-e0uD.d.ts} +1 -1
  49. package/dist/{eventConfigurations-dmn9FClw.d.cts → eventConfigurations-D0us5j0K.d.cts} +1 -1
  50. package/dist/fa-SGLTFGJF.js +1 -0
  51. package/dist/fi-7YTEAVDM.js +1 -0
  52. package/dist/fr-ECCQ24MZ.js +1 -0
  53. package/dist/he-YHMMDOX7.js +1 -0
  54. package/dist/hi-GRAQX2E6.js +1 -0
  55. package/dist/hr-MN33LRIJ.js +1 -0
  56. package/dist/hu-NW3SMQVM.js +1 -0
  57. package/dist/id-3OPRAUF7.js +1 -0
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.cts +13 -13
  60. package/dist/index.d.ts +13 -13
  61. package/dist/index.js +1 -1
  62. package/dist/it-RYM74YWO.js +1 -0
  63. package/dist/ja-4NI6DG5D.js +1 -0
  64. package/dist/{ko-6YCWWHFQ.js → ko-C4F6UEMK.js} +1 -1
  65. package/dist/ku-DMSBMWTC.js +1 -0
  66. package/dist/{labeling-Bn41ByDd.d.ts → labeling-DXgkxMoi.d.ts} +1 -1
  67. package/dist/{labeling-BmEjVxFt.d.cts → labeling-eYKVPLMb.d.cts} +1 -1
  68. package/dist/localeLoaders-G3GCGLPW.js +1 -0
  69. package/dist/lt-3EXKKZFG.js +1 -0
  70. package/dist/lv-4EWNRDCG.js +1 -0
  71. package/dist/ms-7LJBSAEJ.js +1 -0
  72. package/dist/nl-GWTIWXRW.js +1 -0
  73. package/dist/no-T3FW2WLX.js +1 -0
  74. package/dist/pl-OG5OBRHR.js +1 -0
  75. package/dist/pt-YQ6VES5R.js +1 -0
  76. package/dist/{renderedQuality-MDkNe8GA.d.ts → renderedQuality-Dzo2_8f4.d.ts} +1 -1
  77. package/dist/{renderedQuality-Bt2d0uq1.d.cts → renderedQuality-Frgw6jdx.d.cts} +1 -1
  78. package/dist/{renderer-DH0yI32q.d.cts → renderer-DM2sv1un.d.cts} +1 -1
  79. package/dist/{renderer-BJrpMV6U.d.ts → renderer-DuieD7jP.d.ts} +1 -1
  80. package/dist/ro-VK5MASYF.js +1 -0
  81. package/dist/ru-YU5CYR6T.js +1 -0
  82. package/dist/{seatTypeIcons-CG_Uzpaw.d.ts → seatTypeIcons-Bz0OJtEi.d.ts} +1 -1
  83. package/dist/{seatTypeIcons-Ck7oEFei.d.cts → seatTypeIcons-Cm8tjLYl.d.cts} +1 -1
  84. package/dist/{sections-C-UAqr1x.d.ts → sections-Bf_DV0oG.d.ts} +1 -1
  85. package/dist/{sections-C8HApYxd.d.cts → sections-PbQiqN0i.d.cts} +1 -1
  86. package/dist/{segmentedRowModel-DR1w9M13.d.ts → segmentedRowModel-CO7DD803.d.ts} +1 -1
  87. package/dist/{segmentedRowModel-CeoMsBnt.d.cts → segmentedRowModel-Co9LqS4i.d.cts} +1 -1
  88. package/dist/sk-CE7PXAYL.js +1 -0
  89. package/dist/sl-EYUPV4BG.js +1 -0
  90. package/dist/sr-PPXCN4IK.js +1 -0
  91. package/dist/sv-WR2BJBCJ.js +1 -0
  92. package/dist/{tableSizing-RRmpxOXl.d.ts → tableSizing-BDePQyPD.d.ts} +3 -3
  93. package/dist/{tableSizing-Bz-hxLza.d.cts → tableSizing-C6EjKNnk.d.cts} +3 -3
  94. package/dist/th-JUB2DODR.js +1 -0
  95. package/dist/{ticketRestrictions-lq4dH4k6.d.cts → ticketRestrictions-CgYwHQOf.d.cts} +2 -2
  96. package/dist/{ticketRestrictions-C7KUrulv.d.ts → ticketRestrictions-D5wgOq4P.d.ts} +2 -2
  97. package/dist/tr-GFHA7FT6.js +1 -0
  98. package/dist/{types-DM-OneoD.d.ts → types-CGOr0BpE.d.cts} +40 -16
  99. package/dist/{types-DM-OneoD.d.cts → types-CGOr0BpE.d.ts} +40 -16
  100. package/dist/uk-3FTS2SRK.js +1 -0
  101. package/dist/vi-7OTXPOQV.js +1 -0
  102. package/dist/view3d/crossfade/panorama.d.cts +1 -1
  103. package/dist/view3d/crossfade/panorama.d.ts +1 -1
  104. package/dist/view3d/index.cjs +410 -169
  105. package/dist/view3d/index.d.cts +100 -4
  106. package/dist/view3d/index.d.ts +100 -4
  107. package/dist/view3d/index.js +408 -167
  108. package/dist/view3d/scene/scene.worker.cjs +1 -1
  109. package/dist/view3d/scene/scene.worker.js +1 -1
  110. package/dist/zh-Hans-FD4XNYUA.js +1 -0
  111. package/dist/zh-Hant-7TXVJKJQ.js +1 -0
  112. package/package.json +1 -1
  113. package/dist/ar-O3RHQRH3.js +0 -1
  114. package/dist/be-SXFCG3F5.js +0 -1
  115. package/dist/bg-W7YBNYB2.js +0 -1
  116. package/dist/ca-FA7WHACR.js +0 -1
  117. package/dist/chunk-4N5CHKHD.js +0 -1
  118. package/dist/chunk-4QQG5EEP.js +0 -1
  119. package/dist/cs-RR3VIKRC.js +0 -1
  120. package/dist/cy-U4JJ5C47.js +0 -1
  121. package/dist/da-ATULGB2M.js +0 -1
  122. package/dist/de-VB543CPC.js +0 -1
  123. package/dist/el-7Y2KXU6N.js +0 -1
  124. package/dist/es-GUV5XIYC.js +0 -1
  125. package/dist/et-SZ6I4Z44.js +0 -1
  126. package/dist/fa-FM6ELEN7.js +0 -1
  127. package/dist/fi-6QQ2M5JI.js +0 -1
  128. package/dist/fr-2SEQSVLR.js +0 -1
  129. package/dist/he-V3EVB7IW.js +0 -1
  130. package/dist/hi-I4QIBK5Q.js +0 -1
  131. package/dist/hr-I5DNEVUU.js +0 -1
  132. package/dist/hu-KTFWBQMF.js +0 -1
  133. package/dist/id-RZWUH426.js +0 -1
  134. package/dist/it-CNQP36V4.js +0 -1
  135. package/dist/ja-JQZOYIHI.js +0 -1
  136. package/dist/ku-33PM4OWG.js +0 -1
  137. package/dist/localeLoaders-VFQOZMUH.js +0 -1
  138. package/dist/lt-24JO2B7V.js +0 -1
  139. package/dist/lv-HTSDEEAB.js +0 -1
  140. package/dist/ms-PUEZJJ3R.js +0 -1
  141. package/dist/nl-NQPDRSCW.js +0 -1
  142. package/dist/no-3N3MUMSA.js +0 -1
  143. package/dist/pl-YHBEO6ZF.js +0 -1
  144. package/dist/pt-5RPESNZB.js +0 -1
  145. package/dist/ro-XDFXIMHX.js +0 -1
  146. package/dist/ru-BIIALOM5.js +0 -1
  147. package/dist/sk-LHSFRUFT.js +0 -1
  148. package/dist/sl-MPE5TPI3.js +0 -1
  149. package/dist/sr-T3N67KTP.js +0 -1
  150. package/dist/sv-LJWWYUIY.js +0 -1
  151. package/dist/th-E5POGG37.js +0 -1
  152. package/dist/tr-2DCWQ2CY.js +0 -1
  153. package/dist/uk-C3VJP6EA.js +0 -1
  154. package/dist/vi-XVMTKCOL.js +0 -1
  155. package/dist/zh-Hans-RG4CQGBY.js +0 -1
  156. package/dist/zh-Hant-YHNTYPFS.js +0 -1
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-DM-OneoD.cjs';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-dmn9FClw.cjs';
3
- import { E as ExpandedSeat } from '../renderer-DH0yI32q.cjs';
1
+ import { P as Point, C as ChartDoc } from '../types-CGOr0BpE.cjs';
2
+ import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-D0us5j0K.cjs';
3
+ import { E as ExpandedSeat } from '../renderer-DM2sv1un.cjs';
4
4
  import { S as StageKind } from '../stage-CKb7aNoH.cjs';
5
5
  import { SeatView } from './crossfade/panorama.cjs';
6
6
 
@@ -77,7 +77,8 @@ interface MeshData {
77
77
  /**
78
78
  * Small renderer material class per vertex:
79
79
  * 0 = ordinary structure, 1 = authored powered display,
80
- * 2 = row riser, 3 = row tread, 4 = football turf, 5 = generated concrete.
80
+ * 2 = row riser, 3 = row tread, 4 = football turf, 5 = generated concrete,
81
+ * 6 = a walled room's wall, 7 = an aisle step's nosing strip.
81
82
  */
82
83
  material: Float32Array;
83
84
  /** Vertex count (position.length / 3). */
@@ -97,6 +98,41 @@ interface SharedAisleCandidate {
97
98
  outline: Point[];
98
99
  }
99
100
 
101
+ /**
102
+ * Venue looks: named presentations for the 3D view.
103
+ *
104
+ * A look is what a lighting designer would call the state of the house: what
105
+ * colour the light is, how dark the room around the venue is, and which way the
106
+ * bare surfaces lean. It is NOT a second theme system. A look only supplies
107
+ * what a chart leaves unset, field by field, and everything it supplies still
108
+ * passes through `resolveTheme3D`: structure is pinned to the day or night
109
+ * lightness targets (`VENUE_LIGHTNESS`) and keeps only a hint of hue
110
+ * (`STRUCTURE_CHROMA_CAP`), seats stay in their band, and the colours that
111
+ * carry meaning (available, held, sold, selected) are never a look's to change.
112
+ *
113
+ * What a look adds that a theme could not express is the LIGHT. Until now the
114
+ * rig was white whatever the venue: a theatre under house lights and a stadium
115
+ * at noon were lit identically and differed only in paint. `light.key` tints
116
+ * the one directional light and `light.ambient` the sky-and-bounce term, as
117
+ * multipliers around 1, so a look changes the mood of a venue without moving a
118
+ * single surface off its lightness target.
119
+ *
120
+ * WHERE A LOOK COMES FROM. A chart may name one (`theme.venue3d.look`), which
121
+ * also gives it the look's background if it has none of its own. A chart that
122
+ * names none gets one chosen from the kind of venue it draws
123
+ * (`automaticVenueLook`): the light and the unset surfaces, but NOT the
124
+ * background, so the 3D view keeps the same backdrop as the 2D map it is
125
+ * switched from. `'plain'` switches looks off: white light, as before looks
126
+ * existed.
127
+ */
128
+
129
+ interface VenueLookLight {
130
+ /** Tint of the directional key light, a multiplier per channel. */
131
+ key: RGB;
132
+ /** Tint of the ambient (sky and bounce) and fill light, a multiplier per channel. */
133
+ ambient: RGB;
134
+ }
135
+
100
136
  /**
101
137
  * Resolve a chart's authored theme into the 3D scene's colours.
102
138
  *
@@ -146,6 +182,25 @@ interface Theme3D {
146
182
  shell: RGB | null;
147
183
  roughness: number;
148
184
  };
185
+ /**
186
+ * Tint of the rig, from the chart's look (see looks.ts): multipliers on the
187
+ * key light and on the ambient and fill. White for a chart with no look.
188
+ */
189
+ light: VenueLookLight;
190
+ /**
191
+ * The room an indoor venue shows above and behind its stands from a seat
192
+ * (scene/model/house.ts): its ceiling, its wall and its house lights.
193
+ * `indoor` is whether the venue stands under a roof: the chosen look's own
194
+ * answer, or, for a chart that chose none, what it draws (`drawnIndoors`).
195
+ * A venue whose drawn walls make it a room is closed whatever this says.
196
+ * Null for a chart with no look.
197
+ */
198
+ house: {
199
+ indoor: boolean;
200
+ ceiling: RGB;
201
+ wall: RGB;
202
+ lamp: RGB;
203
+ } | null;
149
204
  }
150
205
 
151
206
  /**
@@ -213,6 +268,36 @@ interface SceneLabel {
213
268
  wheelchairSeats?: number[];
214
269
  }
215
270
 
271
+ /**
272
+ * The house: the room an indoor venue is seen in from inside.
273
+ *
274
+ * From a seat in an arena or a theatre the stands used to end in the chart's
275
+ * flat backdrop: no ceiling, no wall above the top row, a black void where the
276
+ * room should be (reference walk, 2026-11-11, gap C1). An open-air venue
277
+ * already shows a sky there (`SceneModel.outdoor`); this is the indoor
278
+ * counterpart.
279
+ *
280
+ * It is a BACKDROP, not a building. Nothing here adds a triangle: the
281
+ * background pass works out, for each pixel, where that line of sight meets a
282
+ * ceiling plane or an elliptical wall and paints it (materials.ts BG_FRAG).
283
+ * So it is always behind everything drawn, cannot stand between a seat and the
284
+ * stage, casts no shadow, takes no tap and does not move the camera's framing.
285
+ * That is the line the September audit drew ("no invented roof, balcony,
286
+ * support columns or skyline in an asserted seat view"): the room is closed,
287
+ * and nothing is invented that a buyer could mistake for an obstruction.
288
+ *
289
+ * It shows only while the camera is inside it and under its ceiling. Every
290
+ * overview stands outside or above, and is unchanged.
291
+ */
292
+ interface HouseBounds {
293
+ /** Centre of the room, world metres (x, z). */
294
+ centre: [number, number];
295
+ /** Half-widths of the elliptical wall, world metres (x, z). */
296
+ radii: [number, number];
297
+ floorY: number;
298
+ ceilingY: number;
299
+ }
300
+
216
301
  /**
217
302
  * Pure builder for the instanced seat cloud. Produces the per-instance arrays a
218
303
  * single OGL InstancedMesh consumes (one draw call for every seat), plus the
@@ -292,6 +377,11 @@ interface SeatInstanceData {
292
377
  iGlyph: Float32Array;
293
378
  /** 1 = physical chair; 0 = sellable empty wheelchair bay. */
294
379
  iPhysicalSeat: Float32Array;
380
+ /** vec4 per instance: where this seat's armrests stand, as two world offsets
381
+ * (x, z) in metres from the seat: xy = the one it shares with the next seat
382
+ * in its row, zw = the one on its other side, carried only where no seat
383
+ * before it carries it. (0, 0) = no armrest there. See `fixedRowSeating`. */
384
+ iArmrests: Float32Array;
295
385
  /** seatId → instance index (drives targeted availability updates). */
296
386
  idToIndex: Map<string, number>;
297
387
  }
@@ -303,6 +393,8 @@ interface StageBounds {
303
393
  y: number;
304
394
  halfX: number;
305
395
  halfZ: number;
396
+ /** The deck's own top colour, as built: what light laid on it fades out to. */
397
+ top?: [number, number, number];
306
398
  }
307
399
  /** Event-specific semantics resolved onto base-chart geometry in world metres. */
308
400
  interface SceneProductionElement {
@@ -452,6 +544,8 @@ interface SceneModel {
452
544
  room?: {
453
545
  centre: [number, number];
454
546
  };
547
+ /** An indoor venue's room, seen from inside it: a ceiling and a wall (see house.ts). */
548
+ house?: HouseBounds;
455
549
  /** Exact enclosing sphere for rendered solids plus near-field seat detail. */
456
550
  renderBounds: {
457
551
  center: [number, number, number];
@@ -730,9 +824,11 @@ interface Venue3DQualityEvidence {
730
824
  webgl2: boolean;
731
825
  lost: boolean;
732
826
  };
827
+ /** `smoothed`: the frame on screen was drawn with edge smoothing (gl/frameSmoothing.ts). */
733
828
  frame: {
734
829
  rendered: number;
735
830
  idle: boolean;
831
+ smoothed?: boolean;
736
832
  };
737
833
  camera: {
738
834
  position: [number, number, number];
@@ -1,6 +1,6 @@
1
- import { P as Point, C as ChartDoc } from '../types-DM-OneoD.js';
2
- import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-DsW5Mj2e.js';
3
- import { E as ExpandedSeat } from '../renderer-BJrpMV6U.js';
1
+ import { P as Point, C as ChartDoc } from '../types-CGOr0BpE.js';
2
+ import { E as EventConfigurationProductionElementKind, a as EventConfigurationOcclusion, b as EventConfigurationVersion } from '../eventConfigurations-Cdt-e0uD.js';
3
+ import { E as ExpandedSeat } from '../renderer-DuieD7jP.js';
4
4
  import { S as StageKind } from '../stage-CKb7aNoH.js';
5
5
  import { SeatView } from './crossfade/panorama.js';
6
6
 
@@ -77,7 +77,8 @@ interface MeshData {
77
77
  /**
78
78
  * Small renderer material class per vertex:
79
79
  * 0 = ordinary structure, 1 = authored powered display,
80
- * 2 = row riser, 3 = row tread, 4 = football turf, 5 = generated concrete.
80
+ * 2 = row riser, 3 = row tread, 4 = football turf, 5 = generated concrete,
81
+ * 6 = a walled room's wall, 7 = an aisle step's nosing strip.
81
82
  */
82
83
  material: Float32Array;
83
84
  /** Vertex count (position.length / 3). */
@@ -97,6 +98,41 @@ interface SharedAisleCandidate {
97
98
  outline: Point[];
98
99
  }
99
100
 
101
+ /**
102
+ * Venue looks: named presentations for the 3D view.
103
+ *
104
+ * A look is what a lighting designer would call the state of the house: what
105
+ * colour the light is, how dark the room around the venue is, and which way the
106
+ * bare surfaces lean. It is NOT a second theme system. A look only supplies
107
+ * what a chart leaves unset, field by field, and everything it supplies still
108
+ * passes through `resolveTheme3D`: structure is pinned to the day or night
109
+ * lightness targets (`VENUE_LIGHTNESS`) and keeps only a hint of hue
110
+ * (`STRUCTURE_CHROMA_CAP`), seats stay in their band, and the colours that
111
+ * carry meaning (available, held, sold, selected) are never a look's to change.
112
+ *
113
+ * What a look adds that a theme could not express is the LIGHT. Until now the
114
+ * rig was white whatever the venue: a theatre under house lights and a stadium
115
+ * at noon were lit identically and differed only in paint. `light.key` tints
116
+ * the one directional light and `light.ambient` the sky-and-bounce term, as
117
+ * multipliers around 1, so a look changes the mood of a venue without moving a
118
+ * single surface off its lightness target.
119
+ *
120
+ * WHERE A LOOK COMES FROM. A chart may name one (`theme.venue3d.look`), which
121
+ * also gives it the look's background if it has none of its own. A chart that
122
+ * names none gets one chosen from the kind of venue it draws
123
+ * (`automaticVenueLook`): the light and the unset surfaces, but NOT the
124
+ * background, so the 3D view keeps the same backdrop as the 2D map it is
125
+ * switched from. `'plain'` switches looks off: white light, as before looks
126
+ * existed.
127
+ */
128
+
129
+ interface VenueLookLight {
130
+ /** Tint of the directional key light, a multiplier per channel. */
131
+ key: RGB;
132
+ /** Tint of the ambient (sky and bounce) and fill light, a multiplier per channel. */
133
+ ambient: RGB;
134
+ }
135
+
100
136
  /**
101
137
  * Resolve a chart's authored theme into the 3D scene's colours.
102
138
  *
@@ -146,6 +182,25 @@ interface Theme3D {
146
182
  shell: RGB | null;
147
183
  roughness: number;
148
184
  };
185
+ /**
186
+ * Tint of the rig, from the chart's look (see looks.ts): multipliers on the
187
+ * key light and on the ambient and fill. White for a chart with no look.
188
+ */
189
+ light: VenueLookLight;
190
+ /**
191
+ * The room an indoor venue shows above and behind its stands from a seat
192
+ * (scene/model/house.ts): its ceiling, its wall and its house lights.
193
+ * `indoor` is whether the venue stands under a roof: the chosen look's own
194
+ * answer, or, for a chart that chose none, what it draws (`drawnIndoors`).
195
+ * A venue whose drawn walls make it a room is closed whatever this says.
196
+ * Null for a chart with no look.
197
+ */
198
+ house: {
199
+ indoor: boolean;
200
+ ceiling: RGB;
201
+ wall: RGB;
202
+ lamp: RGB;
203
+ } | null;
149
204
  }
150
205
 
151
206
  /**
@@ -213,6 +268,36 @@ interface SceneLabel {
213
268
  wheelchairSeats?: number[];
214
269
  }
215
270
 
271
+ /**
272
+ * The house: the room an indoor venue is seen in from inside.
273
+ *
274
+ * From a seat in an arena or a theatre the stands used to end in the chart's
275
+ * flat backdrop: no ceiling, no wall above the top row, a black void where the
276
+ * room should be (reference walk, 2026-11-11, gap C1). An open-air venue
277
+ * already shows a sky there (`SceneModel.outdoor`); this is the indoor
278
+ * counterpart.
279
+ *
280
+ * It is a BACKDROP, not a building. Nothing here adds a triangle: the
281
+ * background pass works out, for each pixel, where that line of sight meets a
282
+ * ceiling plane or an elliptical wall and paints it (materials.ts BG_FRAG).
283
+ * So it is always behind everything drawn, cannot stand between a seat and the
284
+ * stage, casts no shadow, takes no tap and does not move the camera's framing.
285
+ * That is the line the September audit drew ("no invented roof, balcony,
286
+ * support columns or skyline in an asserted seat view"): the room is closed,
287
+ * and nothing is invented that a buyer could mistake for an obstruction.
288
+ *
289
+ * It shows only while the camera is inside it and under its ceiling. Every
290
+ * overview stands outside or above, and is unchanged.
291
+ */
292
+ interface HouseBounds {
293
+ /** Centre of the room, world metres (x, z). */
294
+ centre: [number, number];
295
+ /** Half-widths of the elliptical wall, world metres (x, z). */
296
+ radii: [number, number];
297
+ floorY: number;
298
+ ceilingY: number;
299
+ }
300
+
216
301
  /**
217
302
  * Pure builder for the instanced seat cloud. Produces the per-instance arrays a
218
303
  * single OGL InstancedMesh consumes (one draw call for every seat), plus the
@@ -292,6 +377,11 @@ interface SeatInstanceData {
292
377
  iGlyph: Float32Array;
293
378
  /** 1 = physical chair; 0 = sellable empty wheelchair bay. */
294
379
  iPhysicalSeat: Float32Array;
380
+ /** vec4 per instance: where this seat's armrests stand, as two world offsets
381
+ * (x, z) in metres from the seat: xy = the one it shares with the next seat
382
+ * in its row, zw = the one on its other side, carried only where no seat
383
+ * before it carries it. (0, 0) = no armrest there. See `fixedRowSeating`. */
384
+ iArmrests: Float32Array;
295
385
  /** seatId → instance index (drives targeted availability updates). */
296
386
  idToIndex: Map<string, number>;
297
387
  }
@@ -303,6 +393,8 @@ interface StageBounds {
303
393
  y: number;
304
394
  halfX: number;
305
395
  halfZ: number;
396
+ /** The deck's own top colour, as built: what light laid on it fades out to. */
397
+ top?: [number, number, number];
306
398
  }
307
399
  /** Event-specific semantics resolved onto base-chart geometry in world metres. */
308
400
  interface SceneProductionElement {
@@ -452,6 +544,8 @@ interface SceneModel {
452
544
  room?: {
453
545
  centre: [number, number];
454
546
  };
547
+ /** An indoor venue's room, seen from inside it: a ceiling and a wall (see house.ts). */
548
+ house?: HouseBounds;
455
549
  /** Exact enclosing sphere for rendered solids plus near-field seat detail. */
456
550
  renderBounds: {
457
551
  center: [number, number, number];
@@ -730,9 +824,11 @@ interface Venue3DQualityEvidence {
730
824
  webgl2: boolean;
731
825
  lost: boolean;
732
826
  };
827
+ /** `smoothed`: the frame on screen was drawn with edge smoothing (gl/frameSmoothing.ts). */
733
828
  frame: {
734
829
  rendered: number;
735
830
  idle: boolean;
831
+ smoothed?: boolean;
736
832
  };
737
833
  camera: {
738
834
  position: [number, number, number];