@roomle/web-sdk 5.1.0-alpha.2 → 5.1.0-alpha.4

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 (113) hide show
  1. package/lib/{BufferGeometry-Cd2ewNVQ.mjs → BufferGeometry-Bl5whHAB.mjs} +1 -1
  2. package/lib/{BufferGeometry-Cd2ewNVQ.mjs.map → BufferGeometry-Bl5whHAB.mjs.map} +1 -1
  3. package/lib/ConfiguratorKernel.js +2 -2
  4. package/lib/ConfiguratorKernel.wasm +0 -0
  5. package/lib/{GLTFExporter-n80QLoDf.mjs → GLTFExporter-yQ7mMauu.mjs} +1 -1
  6. package/lib/{GLTFExporter-n80QLoDf.mjs.map → GLTFExporter-yQ7mMauu.mjs.map} +1 -1
  7. package/lib/{GaussianBlurNode-Cwy3kx8H.mjs → GaussianBlurNode-DNBEf5-n.mjs} +14 -14
  8. package/lib/{GaussianBlurNode-Cwy3kx8H.mjs.map → GaussianBlurNode-DNBEf5-n.mjs.map} +1 -1
  9. package/lib/{PointLightHelper-DlPLsDNy.mjs → PointLightHelper-CuPSBuDU.mjs} +2 -2
  10. package/lib/{PointLightHelper-DlPLsDNy.mjs.map → PointLightHelper-CuPSBuDU.mjs.map} +1 -1
  11. package/lib/RoomleCore.wasm +0 -0
  12. package/lib/RoomleToolsCore.wasm +0 -0
  13. package/lib/{SpotLightHelper-YWHbVXAF.mjs → SpotLightHelper-m-Rh8vGU.mjs} +2 -2
  14. package/lib/{SpotLightHelper-YWHbVXAF.mjs.map → SpotLightHelper-m-Rh8vGU.mjs.map} +1 -1
  15. package/lib/{USDZExporter-Bm-c5e_n.mjs → USDZExporter-MdkuT226.mjs} +1 -1
  16. package/lib/{USDZExporter-Bm-c5e_n.mjs.map → USDZExporter-MdkuT226.mjs.map} +1 -1
  17. package/lib/{api-B5wIZIHt.mjs → api-Bznmr-xZ.mjs} +2 -2
  18. package/lib/{api-B5wIZIHt.mjs.map → api-Bznmr-xZ.mjs.map} +1 -1
  19. package/lib/{asset-loader.worker-CE4O0JU-.mjs → asset-loader.worker-CzI1oyTY.mjs} +1 -1
  20. package/lib/asset-loader.worker-CzI1oyTY.mjs.map +1 -0
  21. package/lib/{banana-for-scale-D0bw51dn.mjs → banana-for-scale-DpKXNBt_.mjs} +2 -2
  22. package/lib/{banana-for-scale-D0bw51dn.mjs.map → banana-for-scale-DpKXNBt_.mjs.map} +1 -1
  23. package/lib/{budgeteer.sw-yR2xApHT.mjs → budgeteer.sw-D80jTmYa.mjs} +1 -1
  24. package/lib/budgeteer.sw-D80jTmYa.mjs.map +1 -0
  25. package/lib/{component-dimensioning-VIUcXV7r.mjs → component-dimensioning-BaUqwqYJ.mjs} +4 -4
  26. package/lib/{component-dimensioning-VIUcXV7r.mjs.map → component-dimensioning-BaUqwqYJ.mjs.map} +1 -1
  27. package/lib/{component-raycast-helper-CEAdBcdx.mjs → component-raycast-helper-4i8b4E5B.mjs} +3 -3
  28. package/lib/{component-raycast-helper-CEAdBcdx.mjs.map → component-raycast-helper-4i8b4E5B.mjs.map} +1 -1
  29. package/lib/configurator-BYQdWEvf.mjs +2 -0
  30. package/lib/{configurator-CxlLvBCx.mjs → configurator-CDw_c6tB.mjs} +4 -4
  31. package/lib/{configurator-CxlLvBCx.mjs.map → configurator-CDw_c6tB.mjs.map} +1 -1
  32. package/lib/{continuous-drawing-helper-Dr1r-5N2.mjs → continuous-drawing-helper-DqHIR_qF.mjs} +1 -1
  33. package/lib/{continuous-drawing-helper-Dr1r-5N2.mjs.map → continuous-drawing-helper-DqHIR_qF.mjs.map} +1 -1
  34. package/lib/{dimensioning-helper-ChQDwSjn.mjs → dimensioning-helper-CGPjS2hW.mjs} +2 -2
  35. package/lib/{dimensioning-helper-ChQDwSjn.mjs.map → dimensioning-helper-CGPjS2hW.mjs.map} +1 -1
  36. package/lib/dimensioning-helper-VndKlIXS.mjs +2 -0
  37. package/lib/{glb-viewer-27e6wfY4.mjs → glb-viewer-B-Zr743e.mjs} +4 -4
  38. package/lib/{glb-viewer-27e6wfY4.mjs.map → glb-viewer-B-Zr743e.mjs.map} +1 -1
  39. package/lib/glb-viewer-Bd5Xn6Oq.mjs +2 -0
  40. package/lib/{highlight-coordinator-C05kDjj5.mjs → highlight-coordinator-4gkjde82.mjs} +2 -2
  41. package/lib/{highlight-coordinator-C05kDjj5.mjs.map → highlight-coordinator-4gkjde82.mjs.map} +1 -1
  42. package/lib/{homag-intelligence-BRQ1WoQo.mjs → homag-intelligence-D7S7r-Gc.mjs} +3 -3
  43. package/lib/{homag-intelligence-BRQ1WoQo.mjs.map → homag-intelligence-D7S7r-Gc.mjs.map} +1 -1
  44. package/lib/hosek-wilkie-sky-iMar2iw-.mjs +3755 -0
  45. package/lib/hosek-wilkie-sky-iMar2iw-.mjs.map +1 -0
  46. package/lib/{imos-ix-poc-export-helper-DhxAAMc9.mjs → imos-ix-poc-export-helper-CyGqK7nu.mjs} +1 -1
  47. package/lib/{imos-ix-poc-export-helper-DhxAAMc9.mjs.map → imos-ix-poc-export-helper-CyGqK7nu.mjs.map} +1 -1
  48. package/lib/kernel-BWfRHWkW.mjs.map +1 -1
  49. package/lib/{layer-DaGoZ5YI.mjs → layer-DRMDGxT7.mjs} +2 -2
  50. package/lib/layer-DRMDGxT7.mjs.map +1 -0
  51. package/lib/{material-viewer-Byi5t7-x.mjs → material-viewer-CTsSfTfL.mjs} +4 -4
  52. package/lib/{material-viewer-Byi5t7-x.mjs.map → material-viewer-CTsSfTfL.mjs.map} +1 -1
  53. package/lib/{packages-3jOdcfbr.mjs → packages-BXAZEcKa.mjs} +5 -5
  54. package/lib/{packages-3jOdcfbr.mjs.map → packages-BXAZEcKa.mjs.map} +1 -1
  55. package/lib/planner-DMk3T4ts.mjs +2 -0
  56. package/lib/{planner-BeINcWRR.mjs → planner-jvLAnYww.mjs} +3 -3
  57. package/lib/{planner-BeINcWRR.mjs.map → planner-jvLAnYww.mjs.map} +1 -1
  58. package/lib/{plugin-system-DR5maiUo.mjs → plugin-system-CRaC04G5.mjs} +2 -2
  59. package/lib/{plugin-system-DR5maiUo.mjs.map → plugin-system-CRaC04G5.mjs.map} +1 -1
  60. package/lib/roomle-headless.d.ts +183 -8
  61. package/lib/roomle-headless.js +11 -11
  62. package/lib/roomle-renderer-Ato6RMrd.mjs.map +1 -1
  63. package/lib/{roomle-sdk-CsSQAqQG.mjs → roomle-sdk-CBwhwX_e.mjs} +3364 -3158
  64. package/lib/roomle-sdk-CBwhwX_e.mjs.map +1 -0
  65. package/lib/roomle-sdk.d.ts +183 -8
  66. package/lib/roomle-sdk.js +8 -8
  67. package/lib/{roomle-webgpu-renderer-BBE14A8V.mjs → roomle-webgpu-renderer-BfZKcXSz.mjs} +349 -344
  68. package/lib/{roomle-webgpu-renderer-BBE14A8V.mjs.map → roomle-webgpu-renderer-BfZKcXSz.mjs.map} +1 -1
  69. package/lib/{scene-renderer-B8SBMSQ7.mjs → scene-renderer-BHYZac3H.mjs} +3 -3
  70. package/lib/{scene-renderer-B8SBMSQ7.mjs.map → scene-renderer-BHYZac3H.mjs.map} +1 -1
  71. package/lib/{script-loader-Dx3gOiB3.mjs → script-loader-CvnG6LgL.mjs} +2 -2
  72. package/lib/{script-loader-Dx3gOiB3.mjs.map → script-loader-CvnG6LgL.mjs.map} +1 -1
  73. package/lib/src-Bbq3Hqzn.mjs +2 -0
  74. package/lib/src-HhklrVDg.mjs +1950 -0
  75. package/lib/src-HhklrVDg.mjs.map +1 -0
  76. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
  77. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +16 -0
  78. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js +5 -1
  79. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +1 -1
  80. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +2 -8
  81. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js +1 -5
  82. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +1 -1
  83. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js +2 -2
  84. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
  85. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
  86. package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
  87. package/lib/{stats-helper-W654V5ay.mjs → stats-helper-PndcZCzL.mjs} +2 -2
  88. package/lib/{stats-helper-W654V5ay.mjs.map → stats-helper-PndcZCzL.mjs.map} +1 -1
  89. package/lib/three.tsl-BTc4fg8T.mjs +2 -0
  90. package/lib/{three.tsl-B7hcNZE8.mjs → three.tsl-Cf0-sCqB.mjs} +70 -66
  91. package/lib/{three.tsl-B7hcNZE8.mjs.map → three.tsl-Cf0-sCqB.mjs.map} +1 -1
  92. package/lib/{threejs-utils-WK7Uu2TS.mjs → threejs-utils-v1uOvccg.mjs} +175 -184
  93. package/lib/threejs-utils-v1uOvccg.mjs.map +1 -0
  94. package/lib/{tools-core-CWrR_N9g.mjs → tools-core-B29U-88K.mjs} +3 -3
  95. package/lib/{tools-core-CWrR_N9g.mjs.map → tools-core-B29U-88K.mjs.map} +1 -1
  96. package/lib/webgpu-BHAP6BLI.mjs +3140 -0
  97. package/lib/webgpu-BHAP6BLI.mjs.map +1 -0
  98. package/lib/workers-B_wmKVL0.mjs +6 -0
  99. package/lib/{workers-B-AqdQMe.mjs.map → workers-B_wmKVL0.mjs.map} +1 -1
  100. package/package.json +2 -2
  101. package/lib/asset-loader.worker-CE4O0JU-.mjs.map +0 -1
  102. package/lib/budgeteer.sw-yR2xApHT.mjs.map +0 -1
  103. package/lib/configurator-h8QoUnMz.mjs +0 -2
  104. package/lib/dimensioning-helper-BEGkpZFA.mjs +0 -2
  105. package/lib/glb-viewer-Dc2Tl8Ef.mjs +0 -2
  106. package/lib/layer-DaGoZ5YI.mjs.map +0 -1
  107. package/lib/planner-Ler1UMAp.mjs +0 -2
  108. package/lib/roomle-sdk-CsSQAqQG.mjs.map +0 -1
  109. package/lib/three.tsl-BBUCm-uB.mjs +0 -2
  110. package/lib/threejs-utils-WK7Uu2TS.mjs.map +0 -1
  111. package/lib/webgpu-DSecxaB8.mjs +0 -5084
  112. package/lib/webgpu-DSecxaB8.mjs.map +0 -1
  113. package/lib/workers-B-AqdQMe.mjs +0 -6
@@ -1177,6 +1177,7 @@ export declare interface ConfiguratorInitData {
1177
1177
  transparentHighlighting?: boolean;
1178
1178
  /**
1179
1179
  * @description If set to true, the background is transparent and allows elements behind the configurator to be visible through the scene.
1180
+ * Not compatible with the WebGPU sky feature
1180
1181
  * usage: transparentBackground=true
1181
1182
  * @groups scene-settings
1182
1183
  */
@@ -1407,6 +1408,7 @@ export declare interface ConfiguratorKernelClass {
1407
1408
  getPlanObjectParameters(planObjectId: number): KernelParameter[];
1408
1409
  getCommonPlanObjectParameters(planObjectIds: EmsArray<number>): KernelParameter[];
1409
1410
  getPlanObjectAnimations(planObjectId: number): KernelAnimation[];
1411
+ getPlanViews(planObjectId: number): KernelConfigurationPlanView[];
1410
1412
  setPlanObjectParameter(planObjectId: number, parameterKey: string, value: string): void;
1411
1413
  setPlanObjectsParameter(planObjectIds: any, parameterKey: string, value: string): void;
1412
1414
  dockComponent(childId: number, childDockId: number, parentId: number, parentDockId: number, position?: KernelVector3): void;
@@ -2673,6 +2675,7 @@ export declare interface Element_2 {
2673
2675
  export declare interface ElevationPlan {
2674
2676
  planSvg: string;
2675
2677
  viewType?: PlanViewType;
2678
+ label: string;
2676
2679
  }
2677
2680
 
2678
2681
  export declare interface ElevationPlans {
@@ -4468,6 +4471,13 @@ export declare interface KernelConfiguration {
4468
4471
  children: KernelConfiguration[];
4469
4472
  }
4470
4473
 
4474
+ export declare interface KernelConfigurationPlanView {
4475
+ viewType: PlanViewType;
4476
+ lineOfSight: KernelVector3f;
4477
+ enabled: boolean;
4478
+ label: string | null;
4479
+ }
4480
+
4471
4481
  export declare interface KernelCube {
4472
4482
  origin: KernelVector3;
4473
4483
  size: KernelVector3;
@@ -5232,7 +5242,7 @@ export declare class MeshGenerator implements Context {
5232
5242
  _creator_: string;
5233
5243
  materialQueue: PromiseQueue<void>;
5234
5244
  protected _geometryComponentMaterialCache: Map<string, string>;
5235
- private _initData;
5245
+ protected _initData: InitData;
5236
5246
  protected _rapiAccess: RapiAccess;
5237
5247
  private _materialProvider;
5238
5248
  protected _dataSyncer: DataSyncer;
@@ -6239,7 +6249,6 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6239
6249
  * {@link awaitPendingConfigurationSaves}.
6240
6250
  */
6241
6251
  private _pendingConfigurationSaves;
6242
- private _sky;
6243
6252
  private _drawingEnabled;
6244
6253
  private _configureInRoom;
6245
6254
  private _keepWallsAndCeilingVisible;
@@ -6349,7 +6358,6 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6349
6358
  exportUSDZ(options?: ModelExportOptions): Promise<void>;
6350
6359
  importGLB(url: string): void;
6351
6360
  clearScene(): void;
6352
- private _addSky;
6353
6361
  toggleConfigureInRoom(): void;
6354
6362
  switchTo2D(): void;
6355
6363
  switchTo3D(): void;
@@ -6361,6 +6369,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
6361
6369
  private _getHighestWallHeight;
6362
6370
  private _shouldShowCeiling;
6363
6371
  private _setCeiling;
6372
+ private _setCeilingVisibility;
6364
6373
  cameraBehaviourChanged(updateDistance?: boolean): void;
6365
6374
  private _updatePaperBackground;
6366
6375
  sceneChanged(): void;
@@ -6667,7 +6676,14 @@ export declare interface PlanOverview {
6667
6676
  bounds: KernelCube;
6668
6677
  objects: KernelPlanObjectList;
6669
6678
  outsideWalls: PlanElement_2[];
6670
- rooms: PlanElement_2[];
6679
+ rooms: PlanOverviewRoom[];
6680
+ }
6681
+
6682
+ export declare interface PlanOverviewRoom {
6683
+ runtimeId: RuntimeId;
6684
+ area: number;
6685
+ bounds: KernelCube;
6686
+ objects: KernelPlanObjectList;
6671
6687
  }
6672
6688
 
6673
6689
  export declare type PlanRoomGeometryMode = (typeof PLAN_ROOM_GEOMETRY_MODE)[keyof typeof PLAN_ROOM_GEOMETRY_MODE];
@@ -8194,11 +8210,12 @@ export declare class RoomleConfigurator<P extends readonly PluginName[] = readon
8194
8210
  private _onInitDone;
8195
8211
  constructor(creator: string, activePlugins?: P);
8196
8212
  /**
8197
- * Creates the 2D plans of the current configuration: the floor plan, the front
8198
- * elevation and the side elevation seen from the left. Each plan is returned as
8199
- * raw SVG markup (wireframe rendering with dimensionings).
8213
+ * Creates the 2D plans of the current configuration: the enabled plan views its root
8214
+ * component defines, or the floor plan, the front elevation and the side elevation seen
8215
+ * from the left when it defines none. Each plan is returned as raw SVG markup (wireframe
8216
+ * rendering with dimensionings).
8200
8217
  *
8201
- * @returns the plans, each containing its SVG markup and its view type
8218
+ * @returns the plans, each containing its SVG markup, its view type and its label
8202
8219
  */
8203
8220
  create2DPlanViews(): Promise<ElevationPlans>;
8204
8221
  /**
@@ -9306,6 +9323,12 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
9306
9323
  * this includes info about size, rotation, id and parts
9307
9324
  */
9308
9325
  getObjects(): Promise<UiPlanObject[]>;
9326
+ /**
9327
+ * returns the objects in the room of the given floor, without its doors and windows
9328
+ * this includes info about size, rotation, id and parts, like getObjects
9329
+ * @param floorId runtime id of the floor, e.g. the id of the selected floor
9330
+ */
9331
+ getObjectsInRoom(floorId: RuntimeId): Promise<UiPlanObject[]>;
9309
9332
  awaitPendingConfigurationSaves(): Promise<void>;
9310
9333
  /**
9311
9334
  * get all info available for the current plan, including objects, rooms and walls
@@ -9972,10 +9995,13 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
9972
9995
  private readonly debugRenderPass;
9973
9996
  private _domHelper;
9974
9997
  private _webGpuGroundShadowReflection;
9998
+ private _webGpuSkyContainer;
9999
+ private _skyStateTracker;
9975
10000
  private _initData;
9976
10001
  constructor(creator: string, renderer: WebGPURenderer, enableSSGI: boolean, outlineColors?: OutlineColors, enableTraa?: boolean);
9977
10002
  private enableDefaultRenderPasses;
9978
10003
  addGroundShadowLightAndFloor(scene: Scene_2): Promise<void>;
10004
+ addSky(scene: Scene_2): Promise<void>;
9979
10005
  private addRenderPass;
9980
10006
  clearCache(): void;
9981
10007
  disableUiInteractionMode(): void;
@@ -10122,6 +10148,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
10122
10148
  protected _imageRenderer: ImageRenderer;
10123
10149
  protected _cameraBehaviourState: CameraBehaviourState;
10124
10150
  protected _cacheHolder: CacheHolder;
10151
+ protected _skyStateTracker: SkyStateTracker;
10125
10152
  private _cameraControl3D;
10126
10153
  private _cameraControl2D;
10127
10154
  private _cameraControlFirstPerson;
@@ -10336,6 +10363,26 @@ export declare class SinglePromiseFactory implements Context {
10336
10363
  export declare class SizeTArray extends EmsArray<number> {
10337
10364
  }
10338
10365
 
10366
+ export declare const SKY_EVENT: {
10367
+ readonly ENTERED_PLANNER: "sky:entered-planner";
10368
+ readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
10369
+ };
10370
+
10371
+ export declare type SkyEvent = ValuesFromObject<typeof SKY_EVENT>;
10372
+
10373
+ export declare type SkyFeatureEventMap = Record<SkyEvent, void>;
10374
+
10375
+ export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap> implements Context {
10376
+ _creator_: string;
10377
+ private readonly _isSkyEnabled;
10378
+ private _isCurrentlyActive;
10379
+ private _initData;
10380
+ constructor(creator: string);
10381
+ get isCurrentlyActive(): boolean;
10382
+ notifyEnteredPlanner(): void;
10383
+ notifyEnteredConfigurator(): void;
10384
+ }
10385
+
10339
10386
  export declare const enum SnapMode {
10340
10387
  OFF = 0,
10341
10388
  ON_COLLISION = 1,
@@ -11071,6 +11118,7 @@ export declare class WebGpuConfig implements WebGpuConfigDefinition {
11071
11118
  topLight: WebGpuTopLightConfig;
11072
11119
  groundReflection: WebGpuGroundReflectionConfig;
11073
11120
  fog: WebGpuFogConfig;
11121
+ sky: WebGpuSkyConfig;
11074
11122
  ssgi: WebGpuSSGIConfig;
11075
11123
  toneMapping: WebGpuToneMapping;
11076
11124
  toneMappingExposure: number;
@@ -11110,6 +11158,10 @@ export declare interface WebGpuConfigDefinition {
11110
11158
  * @description Visual configuration for the WebGPU fog.
11111
11159
  */
11112
11160
  fog?: WebGpuFogConfigDefinition;
11161
+ /**
11162
+ * @description Visual configuration for the WebGPU sky and sun.
11163
+ */
11164
+ sky?: WebGpuSkyConfigDefinition;
11113
11165
  /**
11114
11166
  * @description Visual configuration for the WebGPU screen space global illumination (SSGI) effect.
11115
11167
  */
@@ -11166,6 +11218,7 @@ export declare class WebGpuGroundReflectionConfig implements WebGpuGroundReflect
11166
11218
  intensity: number;
11167
11219
  startFadeout: number;
11168
11220
  endFadeout: number;
11221
+ reflectionScale: number;
11169
11222
  }
11170
11223
 
11171
11224
  export declare interface WebGpuGroundReflectionConfigDefinition {
@@ -11192,6 +11245,128 @@ export declare interface WebGpuGroundReflectionConfigDefinition {
11192
11245
  * @default 0.15
11193
11246
  */
11194
11247
  endFadeout?: number;
11248
+ /**
11249
+ * @description How much the resolution of the scene is scaled by for the reflection resolution
11250
+ * If transmissive objects are not in use, this can be set to a lower value like 0.5 to improve performance.
11251
+ * @default 1
11252
+ */
11253
+ reflectionScale?: number;
11254
+ }
11255
+
11256
+ export declare class WebGpuSkyConfig implements WebGpuSkyConfigDefinition {
11257
+ enabled: boolean;
11258
+ turbidity: number;
11259
+ albedo: number;
11260
+ azimuthAngle: number;
11261
+ polarAngle: number;
11262
+ sunLightIntensity: number;
11263
+ sunRadius: number;
11264
+ sunSoftness: number;
11265
+ tonemapExposure: number;
11266
+ tonemapWhite: number;
11267
+ cloudCoverage: number;
11268
+ cloudDensity: number;
11269
+ cloudElevation: number;
11270
+ overrideEnvironmentMapIntensity: number;
11271
+ }
11272
+
11273
+ export declare interface WebGpuSkyConfigDefinition {
11274
+ /**
11275
+ * @description If true, adds a physically based (Hosek-Wilkie) sky and a matching
11276
+ * sun providing light to the scene.
11277
+ * @default false
11278
+ */
11279
+ enabled?: boolean;
11280
+ /**
11281
+ * @description Value determining the amount of aerosol particles in the sky. This
11282
+ * very much impacts the sky's color and clearness.
11283
+ * From the original paper: T = 2 yields a very clear, Arctic-like sky,
11284
+ * T = 3 a clear sky in a temperate climate,
11285
+ * T = 6 a sky on a warm, moist day,
11286
+ * T = 10 a slightly hazy sky
11287
+ * Valid range: `[1,10]`
11288
+ * @default 2.5
11289
+ */
11290
+ turbidity?: number;
11291
+ /**
11292
+ * @description Represents how much light the ground bounces back into the atmosphere,
11293
+ * which brightens the sky near the horizon if this value is high.
11294
+ * Valid range: `[0,1]`
11295
+ * @default 0.9
11296
+ */
11297
+ albedo?: number;
11298
+ /**
11299
+ * @description Horizontal orientation of the sun in radians.
11300
+ * Changing this value rotates the sun clockwise around
11301
+ * the scene without changing its height.
11302
+ * Valid range: `[-pi, pi]`
11303
+ * @default 0
11304
+ */
11305
+ azimuthAngle?: number;
11306
+ /**
11307
+ * @description Height of the sun measured as the angle
11308
+ * from straight up (the zenith), in radians. Smaller values raise the sun toward
11309
+ * noon; larger values lower it toward the horizon.
11310
+ * Valid range: `[0,pi/2≈1.57]`.
11311
+ * @default 1
11312
+ */
11313
+ polarAngle?: number;
11314
+ /**
11315
+ * @description Intensity of the sun that lights the scene and casts shadows.
11316
+ * This does not influence how the sun disc looks in the sky.
11317
+ * @default 10
11318
+ */
11319
+ sunLightIntensity?: number;
11320
+ /**
11321
+ * @description Radius of the visible sun disc in the sky.
11322
+ * @default 0.03
11323
+ */
11324
+ sunRadius?: number;
11325
+ /**
11326
+ * @description Blurryness of the edge of the visible sun disc in the sky.
11327
+ * @default 0.002
11328
+ */
11329
+ sunSoftness?: number;
11330
+ /**
11331
+ * @description Exposure multiplier applied during the sky-specific tone mapping.
11332
+ * Higher values make the sky brighter.
11333
+ * @default 0.5
11334
+ */
11335
+ tonemapExposure?: number;
11336
+ /**
11337
+ * @description The HDR brightness value which the sky-specific tone mapping considers as white.
11338
+ * Lower values clip bright areas (like the sun) to white sooner, increasing contrast.
11339
+ * Higher values preserve more detail in the brightest regions.
11340
+ * @default 14
11341
+ */
11342
+ tonemapWhite?: number;
11343
+ /**
11344
+ * @description Fraction of the sky covered by clouds.
11345
+ * At `0` no clouds are rendered. at `1` the sky is fully covered by clouds.
11346
+ * @default 0.25
11347
+ */
11348
+ cloudCoverage?: number;
11349
+ /**
11350
+ * @description Opacity of the clouds when they are blended over the sky. At `0` clouds
11351
+ * are invisible even if coverage is high; at `1` they fully replace the sky color
11352
+ * beneath them.
11353
+ * @default 0.3
11354
+ */
11355
+ cloudDensity?: number;
11356
+ /**
11357
+ * @description Height of the virtual cloud plane. A value of `0` places the plane
11358
+ * very high (clouds appear small and distant); `1` pulls it down towards the horizon
11359
+ * so clouds appear lower and larger.
11360
+ * @default 0.7
11361
+ */
11362
+ cloudElevation?: number;
11363
+ /**
11364
+ * @description Intensity of the environment map lighting while the sky is
11365
+ * enabled. Because the sky already contributes its own image-based lighting,
11366
+ * the environment map is dimmed to this value to keep the overall scene brightness balanced.
11367
+ * @default 0.5
11368
+ */
11369
+ overrideEnvironmentMapIntensity?: number;
11195
11370
  }
11196
11371
 
11197
11372
  export declare class WebGpuSSGIConfig implements WebGpuSSGIConfigDefinition {
package/lib/roomle-sdk.js CHANGED
@@ -1,9 +1,9 @@
1
- import { a as e, i as t, n, r, t as i } from "./packages-3jOdcfbr.mjs";
1
+ import { a as e, i as t, n, r, t as i } from "./packages-BXAZEcKa.mjs";
2
2
  import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
3
- import { bt as s, gt as c } from "./threejs-utils-WK7Uu2TS.mjs";
4
- import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-CsSQAqQG.mjs";
5
- import { t as M } from "./configurator-CxlLvBCx.mjs";
6
- import { t as N } from "./planner-BeINcWRR.mjs";
7
- import { n as P, t as F } from "./glb-viewer-27e6wfY4.mjs";
8
- import { t as I } from "./api-B5wIZIHt.mjs";
9
- export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, M as Configurator, x as FloorPlanElementViewModel, F as GlbViewer, j as HI_CONTEXT_ACTION, g as MeasurementLinePlanElementViewModel, A as PLAN_ELEMENT_CHANGE_TYPES, l as PlanElementViewModel, h as PlanObjectViewModel, N as Planner, y as RapiAccess, C as RapiInvalidIdError, O as RapiOfflineError, I as RoomDesignerApi, S as RoomleConfigurator, P as RoomleGLBViewer, w as RoomleLightSource, D as RoomlePlanner, E as RoomleSdk, m as StaticPlanObjectViewModel, p as WallPlanElementViewModel, _ as createExtObj, d as createExtObjId, b as getCatalogIdFromConfigurationHash, u as isExtObjId, f as isExternalObject, v as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, k as isSafari, T as removeExtObjIdPrefix };
3
+ import { ht as s, yt as c } from "./threejs-utils-v1uOvccg.mjs";
4
+ import { F as l, G as u, J as d, K as f, M as p, N as m, P as h, S as g, W as _, b as v, ct as y, dt as b, j as x, k as S, lt as C, mt as w, q as T, t as E, u as D, ut as O, x as k, y as A, z as j } from "./roomle-sdk-CBwhwX_e.mjs";
5
+ import { t as M } from "./configurator-CDw_c6tB.mjs";
6
+ import { t as N } from "./planner-jvLAnYww.mjs";
7
+ import { n as P, t as F } from "./glb-viewer-B-Zr743e.mjs";
8
+ import { t as I } from "./api-Bznmr-xZ.mjs";
9
+ export { o as CONFIGURATION_TYPE, s as CORE_EDGE_TYPE, c as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, M as Configurator, x as FloorPlanElementViewModel, F as GlbViewer, j as HI_CONTEXT_ACTION, g as MeasurementLinePlanElementViewModel, A as PLAN_ELEMENT_CHANGE_TYPES, l as PlanElementViewModel, h as PlanObjectViewModel, N as Planner, y as RapiAccess, C as RapiInvalidIdError, O as RapiOfflineError, I as RoomDesignerApi, S as RoomleConfigurator, P as RoomleGLBViewer, w as RoomleLightSource, D as RoomlePlanner, E as RoomleSdk, m as StaticPlanObjectViewModel, p as WallPlanElementViewModel, _ as createExtObj, d as createExtObjId, b as getCatalogIdFromConfigurationHash, u as isExtObjId, f as isExternalObject, v as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, k as isSafari, T as removeExtObjIdPrefix };