@roomle/web-sdk 5.1.0-alpha.1 → 5.1.0-alpha.3
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.
- package/lib/{BufferGeometry-Cd2ewNVQ.mjs → BufferGeometry-Bl5whHAB.mjs} +1 -1
- package/lib/{BufferGeometry-Cd2ewNVQ.mjs.map → BufferGeometry-Bl5whHAB.mjs.map} +1 -1
- package/lib/ConfiguratorKernel.js +2 -2
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/{GLTFExporter-n80QLoDf.mjs → GLTFExporter-yQ7mMauu.mjs} +1 -1
- package/lib/{GLTFExporter-n80QLoDf.mjs.map → GLTFExporter-yQ7mMauu.mjs.map} +1 -1
- package/lib/{GaussianBlurNode-Cwy3kx8H.mjs → GaussianBlurNode-DNBEf5-n.mjs} +14 -14
- package/lib/{GaussianBlurNode-Cwy3kx8H.mjs.map → GaussianBlurNode-DNBEf5-n.mjs.map} +1 -1
- package/lib/{PointLightHelper-DlPLsDNy.mjs → PointLightHelper-CuPSBuDU.mjs} +2 -2
- package/lib/{PointLightHelper-DlPLsDNy.mjs.map → PointLightHelper-CuPSBuDU.mjs.map} +1 -1
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{SpotLightHelper-YWHbVXAF.mjs → SpotLightHelper-m-Rh8vGU.mjs} +2 -2
- package/lib/{SpotLightHelper-YWHbVXAF.mjs.map → SpotLightHelper-m-Rh8vGU.mjs.map} +1 -1
- package/lib/{USDZExporter-Bm-c5e_n.mjs → USDZExporter-MdkuT226.mjs} +1 -1
- package/lib/{USDZExporter-Bm-c5e_n.mjs.map → USDZExporter-MdkuT226.mjs.map} +1 -1
- package/lib/{api-B5wIZIHt.mjs → api-KWh-ESd5.mjs} +2 -2
- package/lib/{api-B5wIZIHt.mjs.map → api-KWh-ESd5.mjs.map} +1 -1
- package/lib/{asset-loader.worker-CE4O0JU-.mjs → asset-loader.worker-CzI1oyTY.mjs} +1 -1
- package/lib/asset-loader.worker-CzI1oyTY.mjs.map +1 -0
- package/lib/{banana-for-scale-D0bw51dn.mjs → banana-for-scale-DpKXNBt_.mjs} +2 -2
- package/lib/{banana-for-scale-D0bw51dn.mjs.map → banana-for-scale-DpKXNBt_.mjs.map} +1 -1
- package/lib/{budgeteer.sw-yR2xApHT.mjs → budgeteer.sw-D80jTmYa.mjs} +1 -1
- package/lib/budgeteer.sw-D80jTmYa.mjs.map +1 -0
- package/lib/{component-dimensioning-VIUcXV7r.mjs → component-dimensioning-luQ3LgrU.mjs} +4 -4
- package/lib/{component-dimensioning-VIUcXV7r.mjs.map → component-dimensioning-luQ3LgrU.mjs.map} +1 -1
- package/lib/{component-raycast-helper-CEAdBcdx.mjs → component-raycast-helper-hj6sm7jw.mjs} +3 -3
- package/lib/{component-raycast-helper-CEAdBcdx.mjs.map → component-raycast-helper-hj6sm7jw.mjs.map} +1 -1
- package/lib/{configurator-CxlLvBCx.mjs → configurator-CQ7KsW0O.mjs} +4 -4
- package/lib/{configurator-CxlLvBCx.mjs.map → configurator-CQ7KsW0O.mjs.map} +1 -1
- package/lib/configurator-ymHt9qjg.mjs +2 -0
- package/lib/{continuous-drawing-helper-Dr1r-5N2.mjs → continuous-drawing-helper-DqHIR_qF.mjs} +1 -1
- package/lib/{continuous-drawing-helper-Dr1r-5N2.mjs.map → continuous-drawing-helper-DqHIR_qF.mjs.map} +1 -1
- package/lib/{dimensioning-helper-ChQDwSjn.mjs → dimensioning-helper-CGPjS2hW.mjs} +2 -2
- package/lib/{dimensioning-helper-ChQDwSjn.mjs.map → dimensioning-helper-CGPjS2hW.mjs.map} +1 -1
- package/lib/dimensioning-helper-VndKlIXS.mjs +2 -0
- package/lib/{glb-viewer-27e6wfY4.mjs → glb-viewer-BWMMzvuG.mjs} +4 -4
- package/lib/{glb-viewer-27e6wfY4.mjs.map → glb-viewer-BWMMzvuG.mjs.map} +1 -1
- package/lib/glb-viewer-D5QHd6Da.mjs +2 -0
- package/lib/{highlight-coordinator-C05kDjj5.mjs → highlight-coordinator-DYjBxYpy.mjs} +2 -2
- package/lib/{highlight-coordinator-C05kDjj5.mjs.map → highlight-coordinator-DYjBxYpy.mjs.map} +1 -1
- package/lib/{homag-intelligence-BRQ1WoQo.mjs → homag-intelligence-lbse0Y0v.mjs} +3 -3
- package/lib/{homag-intelligence-BRQ1WoQo.mjs.map → homag-intelligence-lbse0Y0v.mjs.map} +1 -1
- package/lib/hosek-wilkie-sky-iMar2iw-.mjs +3755 -0
- package/lib/hosek-wilkie-sky-iMar2iw-.mjs.map +1 -0
- package/lib/{imos-ix-poc-export-helper-DhxAAMc9.mjs → imos-ix-poc-export-helper-CyGqK7nu.mjs} +1 -1
- package/lib/{imos-ix-poc-export-helper-DhxAAMc9.mjs.map → imos-ix-poc-export-helper-CyGqK7nu.mjs.map} +1 -1
- package/lib/{layer-DaGoZ5YI.mjs → layer-DRMDGxT7.mjs} +2 -2
- package/lib/layer-DRMDGxT7.mjs.map +1 -0
- package/lib/{material-viewer-Byi5t7-x.mjs → material-viewer-BKTxh5Ui.mjs} +4 -4
- package/lib/{material-viewer-Byi5t7-x.mjs.map → material-viewer-BKTxh5Ui.mjs.map} +1 -1
- package/lib/{packages-3jOdcfbr.mjs → packages-B4K6xrdJ.mjs} +5 -5
- package/lib/{packages-3jOdcfbr.mjs.map → packages-B4K6xrdJ.mjs.map} +1 -1
- package/lib/planner-BM825oIz.mjs +2 -0
- package/lib/{planner-BeINcWRR.mjs → planner-HMMHSMAp.mjs} +3 -3
- package/lib/{planner-BeINcWRR.mjs.map → planner-HMMHSMAp.mjs.map} +1 -1
- package/lib/{plugin-system-DR5maiUo.mjs → plugin-system-CRaC04G5.mjs} +2 -2
- package/lib/{plugin-system-DR5maiUo.mjs.map → plugin-system-CRaC04G5.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +162 -4
- package/lib/roomle-headless.js +11 -11
- package/lib/roomle-renderer-Ato6RMrd.mjs.map +1 -1
- package/lib/{roomle-sdk-CsSQAqQG.mjs → roomle-sdk-5aB4wxLW.mjs} +3045 -2876
- package/lib/roomle-sdk-5aB4wxLW.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +162 -4
- package/lib/roomle-sdk.js +8 -8
- package/lib/{roomle-webgpu-renderer-BBE14A8V.mjs → roomle-webgpu-renderer-BfZKcXSz.mjs} +349 -344
- package/lib/{roomle-webgpu-renderer-BBE14A8V.mjs.map → roomle-webgpu-renderer-BfZKcXSz.mjs.map} +1 -1
- package/lib/{scene-renderer-B8SBMSQ7.mjs → scene-renderer-DXvavD4L.mjs} +3 -3
- package/lib/{scene-renderer-B8SBMSQ7.mjs.map → scene-renderer-DXvavD4L.mjs.map} +1 -1
- package/lib/{script-loader-Dx3gOiB3.mjs → script-loader-axxcKvph.mjs} +2 -2
- package/lib/{script-loader-Dx3gOiB3.mjs.map → script-loader-axxcKvph.mjs.map} +1 -1
- package/lib/src-Bbq3Hqzn.mjs +2 -0
- package/lib/src-HhklrVDg.mjs +1950 -0
- package/lib/src-HhklrVDg.mjs.map +1 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/package.json +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.d.ts +16 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js +5 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/configuratorCoreInterface.js.map +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.d.ts +2 -8
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js +1 -5
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/src/embind/plannerCoreInterface.js.map +1 -1
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.js +2 -2
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/ConfiguratorKernel.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleCore.wasm +0 -0
- package/lib/static/roomle-core-hsc/node_modules/roomle-core-hsc/wasm_modern/RoomleToolsCore.wasm +0 -0
- package/lib/{stats-helper-W654V5ay.mjs → stats-helper-BSmoG68E.mjs} +2 -2
- package/lib/{stats-helper-W654V5ay.mjs.map → stats-helper-BSmoG68E.mjs.map} +1 -1
- package/lib/three.tsl-BTc4fg8T.mjs +2 -0
- package/lib/{three.tsl-B7hcNZE8.mjs → three.tsl-Cf0-sCqB.mjs} +70 -66
- package/lib/{three.tsl-B7hcNZE8.mjs.map → three.tsl-Cf0-sCqB.mjs.map} +1 -1
- package/lib/{threejs-utils-WK7Uu2TS.mjs → threejs-utils-CLdyrCet.mjs} +14 -14
- package/lib/threejs-utils-CLdyrCet.mjs.map +1 -0
- package/lib/{tools-core-CWrR_N9g.mjs → tools-core-DusxT3AY.mjs} +3 -3
- package/lib/{tools-core-CWrR_N9g.mjs.map → tools-core-DusxT3AY.mjs.map} +1 -1
- package/lib/webgpu-BHAP6BLI.mjs +3140 -0
- package/lib/webgpu-BHAP6BLI.mjs.map +1 -0
- package/lib/workers-B_wmKVL0.mjs +6 -0
- package/lib/{workers-B-AqdQMe.mjs.map → workers-B_wmKVL0.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +0 -1
- package/lib/budgeteer.sw-yR2xApHT.mjs.map +0 -1
- package/lib/configurator-h8QoUnMz.mjs +0 -2
- package/lib/dimensioning-helper-BEGkpZFA.mjs +0 -2
- package/lib/glb-viewer-Dc2Tl8Ef.mjs +0 -2
- package/lib/layer-DaGoZ5YI.mjs.map +0 -1
- package/lib/planner-Ler1UMAp.mjs +0 -2
- package/lib/roomle-sdk-CsSQAqQG.mjs.map +0 -1
- package/lib/three.tsl-BBUCm-uB.mjs +0 -2
- package/lib/threejs-utils-WK7Uu2TS.mjs.map +0 -1
- package/lib/webgpu-DSecxaB8.mjs +0 -5084
- package/lib/webgpu-DSecxaB8.mjs.map +0 -1
- package/lib/workers-B-AqdQMe.mjs +0 -6
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -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
|
*/
|
|
@@ -5232,7 +5233,7 @@ export declare class MeshGenerator implements Context {
|
|
|
5232
5233
|
_creator_: string;
|
|
5233
5234
|
materialQueue: PromiseQueue<void>;
|
|
5234
5235
|
protected _geometryComponentMaterialCache: Map<string, string>;
|
|
5235
|
-
|
|
5236
|
+
protected _initData: InitData;
|
|
5236
5237
|
protected _rapiAccess: RapiAccess;
|
|
5237
5238
|
private _materialProvider;
|
|
5238
5239
|
protected _dataSyncer: DataSyncer;
|
|
@@ -6239,7 +6240,6 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6239
6240
|
* {@link awaitPendingConfigurationSaves}.
|
|
6240
6241
|
*/
|
|
6241
6242
|
private _pendingConfigurationSaves;
|
|
6242
|
-
private _sky;
|
|
6243
6243
|
private _drawingEnabled;
|
|
6244
6244
|
private _configureInRoom;
|
|
6245
6245
|
private _keepWallsAndCeilingVisible;
|
|
@@ -6349,7 +6349,6 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6349
6349
|
exportUSDZ(options?: ModelExportOptions): Promise<void>;
|
|
6350
6350
|
importGLB(url: string): void;
|
|
6351
6351
|
clearScene(): void;
|
|
6352
|
-
private _addSky;
|
|
6353
6352
|
toggleConfigureInRoom(): void;
|
|
6354
6353
|
switchTo2D(): void;
|
|
6355
6354
|
switchTo3D(): void;
|
|
@@ -6361,6 +6360,7 @@ export declare class PlannerSceneManager extends ConfiguratorSceneManager implem
|
|
|
6361
6360
|
private _getHighestWallHeight;
|
|
6362
6361
|
private _shouldShowCeiling;
|
|
6363
6362
|
private _setCeiling;
|
|
6363
|
+
private _setCeilingVisibility;
|
|
6364
6364
|
cameraBehaviourChanged(updateDistance?: boolean): void;
|
|
6365
6365
|
private _updatePaperBackground;
|
|
6366
6366
|
sceneChanged(): void;
|
|
@@ -6667,7 +6667,14 @@ export declare interface PlanOverview {
|
|
|
6667
6667
|
bounds: KernelCube;
|
|
6668
6668
|
objects: KernelPlanObjectList;
|
|
6669
6669
|
outsideWalls: PlanElement_2[];
|
|
6670
|
-
rooms:
|
|
6670
|
+
rooms: PlanOverviewRoom[];
|
|
6671
|
+
}
|
|
6672
|
+
|
|
6673
|
+
export declare interface PlanOverviewRoom {
|
|
6674
|
+
runtimeId: RuntimeId;
|
|
6675
|
+
area: number;
|
|
6676
|
+
bounds: KernelCube;
|
|
6677
|
+
objects: KernelPlanObjectList;
|
|
6671
6678
|
}
|
|
6672
6679
|
|
|
6673
6680
|
export declare type PlanRoomGeometryMode = (typeof PLAN_ROOM_GEOMETRY_MODE)[keyof typeof PLAN_ROOM_GEOMETRY_MODE];
|
|
@@ -9306,6 +9313,12 @@ export declare class RoomlePlanner<P extends readonly PluginName[] = readonly []
|
|
|
9306
9313
|
* this includes info about size, rotation, id and parts
|
|
9307
9314
|
*/
|
|
9308
9315
|
getObjects(): Promise<UiPlanObject[]>;
|
|
9316
|
+
/**
|
|
9317
|
+
* returns the objects in the room of the given floor, without its doors and windows
|
|
9318
|
+
* this includes info about size, rotation, id and parts, like getObjects
|
|
9319
|
+
* @param floorId runtime id of the floor, e.g. the id of the selected floor
|
|
9320
|
+
*/
|
|
9321
|
+
getObjectsInRoom(floorId: RuntimeId): Promise<UiPlanObject[]>;
|
|
9309
9322
|
awaitPendingConfigurationSaves(): Promise<void>;
|
|
9310
9323
|
/**
|
|
9311
9324
|
* get all info available for the current plan, including objects, rooms and walls
|
|
@@ -9972,10 +9985,13 @@ export declare class RoomleWebGPURenderer extends RoomleRenderer<WebGPURenderer>
|
|
|
9972
9985
|
private readonly debugRenderPass;
|
|
9973
9986
|
private _domHelper;
|
|
9974
9987
|
private _webGpuGroundShadowReflection;
|
|
9988
|
+
private _webGpuSkyContainer;
|
|
9989
|
+
private _skyStateTracker;
|
|
9975
9990
|
private _initData;
|
|
9976
9991
|
constructor(creator: string, renderer: WebGPURenderer, enableSSGI: boolean, outlineColors?: OutlineColors, enableTraa?: boolean);
|
|
9977
9992
|
private enableDefaultRenderPasses;
|
|
9978
9993
|
addGroundShadowLightAndFloor(scene: Scene_2): Promise<void>;
|
|
9994
|
+
addSky(scene: Scene_2): Promise<void>;
|
|
9979
9995
|
private addRenderPass;
|
|
9980
9996
|
clearCache(): void;
|
|
9981
9997
|
disableUiInteractionMode(): void;
|
|
@@ -10122,6 +10138,7 @@ export declare abstract class SceneManager implements Context, LifeCycleCallback
|
|
|
10122
10138
|
protected _imageRenderer: ImageRenderer;
|
|
10123
10139
|
protected _cameraBehaviourState: CameraBehaviourState;
|
|
10124
10140
|
protected _cacheHolder: CacheHolder;
|
|
10141
|
+
protected _skyStateTracker: SkyStateTracker;
|
|
10125
10142
|
private _cameraControl3D;
|
|
10126
10143
|
private _cameraControl2D;
|
|
10127
10144
|
private _cameraControlFirstPerson;
|
|
@@ -10336,6 +10353,26 @@ export declare class SinglePromiseFactory implements Context {
|
|
|
10336
10353
|
export declare class SizeTArray extends EmsArray<number> {
|
|
10337
10354
|
}
|
|
10338
10355
|
|
|
10356
|
+
export declare const SKY_EVENT: {
|
|
10357
|
+
readonly ENTERED_PLANNER: "sky:entered-planner";
|
|
10358
|
+
readonly ENTERED_CONFIGURATOR: "sky:entered-configurator";
|
|
10359
|
+
};
|
|
10360
|
+
|
|
10361
|
+
export declare type SkyEvent = ValuesFromObject<typeof SKY_EVENT>;
|
|
10362
|
+
|
|
10363
|
+
export declare type SkyFeatureEventMap = Record<SkyEvent, void>;
|
|
10364
|
+
|
|
10365
|
+
export declare class SkyStateTracker extends EventDispatcher<SkyFeatureEventMap> implements Context {
|
|
10366
|
+
_creator_: string;
|
|
10367
|
+
private readonly _isSkyEnabled;
|
|
10368
|
+
private _isCurrentlyActive;
|
|
10369
|
+
private _initData;
|
|
10370
|
+
constructor(creator: string);
|
|
10371
|
+
get isCurrentlyActive(): boolean;
|
|
10372
|
+
notifyEnteredPlanner(): void;
|
|
10373
|
+
notifyEnteredConfigurator(): void;
|
|
10374
|
+
}
|
|
10375
|
+
|
|
10339
10376
|
export declare const enum SnapMode {
|
|
10340
10377
|
OFF = 0,
|
|
10341
10378
|
ON_COLLISION = 1,
|
|
@@ -11071,6 +11108,7 @@ export declare class WebGpuConfig implements WebGpuConfigDefinition {
|
|
|
11071
11108
|
topLight: WebGpuTopLightConfig;
|
|
11072
11109
|
groundReflection: WebGpuGroundReflectionConfig;
|
|
11073
11110
|
fog: WebGpuFogConfig;
|
|
11111
|
+
sky: WebGpuSkyConfig;
|
|
11074
11112
|
ssgi: WebGpuSSGIConfig;
|
|
11075
11113
|
toneMapping: WebGpuToneMapping;
|
|
11076
11114
|
toneMappingExposure: number;
|
|
@@ -11110,6 +11148,10 @@ export declare interface WebGpuConfigDefinition {
|
|
|
11110
11148
|
* @description Visual configuration for the WebGPU fog.
|
|
11111
11149
|
*/
|
|
11112
11150
|
fog?: WebGpuFogConfigDefinition;
|
|
11151
|
+
/**
|
|
11152
|
+
* @description Visual configuration for the WebGPU sky and sun.
|
|
11153
|
+
*/
|
|
11154
|
+
sky?: WebGpuSkyConfigDefinition;
|
|
11113
11155
|
/**
|
|
11114
11156
|
* @description Visual configuration for the WebGPU screen space global illumination (SSGI) effect.
|
|
11115
11157
|
*/
|
|
@@ -11194,6 +11236,122 @@ export declare interface WebGpuGroundReflectionConfigDefinition {
|
|
|
11194
11236
|
endFadeout?: number;
|
|
11195
11237
|
}
|
|
11196
11238
|
|
|
11239
|
+
export declare class WebGpuSkyConfig implements WebGpuSkyConfigDefinition {
|
|
11240
|
+
enabled: boolean;
|
|
11241
|
+
turbidity: number;
|
|
11242
|
+
albedo: number;
|
|
11243
|
+
azimuthAngle: number;
|
|
11244
|
+
polarAngle: number;
|
|
11245
|
+
sunLightIntensity: number;
|
|
11246
|
+
sunRadius: number;
|
|
11247
|
+
sunSoftness: number;
|
|
11248
|
+
tonemapExposure: number;
|
|
11249
|
+
tonemapWhite: number;
|
|
11250
|
+
cloudCoverage: number;
|
|
11251
|
+
cloudDensity: number;
|
|
11252
|
+
cloudElevation: number;
|
|
11253
|
+
overrideEnvironmentMapIntensity: number;
|
|
11254
|
+
}
|
|
11255
|
+
|
|
11256
|
+
export declare interface WebGpuSkyConfigDefinition {
|
|
11257
|
+
/**
|
|
11258
|
+
* @description If true, adds a physically based (Hosek-Wilkie) sky and a matching
|
|
11259
|
+
* sun providing light to the scene.
|
|
11260
|
+
* @default false
|
|
11261
|
+
*/
|
|
11262
|
+
enabled?: boolean;
|
|
11263
|
+
/**
|
|
11264
|
+
* @description Value determining the amount of aerosol particles in the sky. This
|
|
11265
|
+
* very much impacts the sky's color and clearness.
|
|
11266
|
+
* From the original paper: T = 2 yields a very clear, Arctic-like sky,
|
|
11267
|
+
* T = 3 a clear sky in a temperate climate,
|
|
11268
|
+
* T = 6 a sky on a warm, moist day,
|
|
11269
|
+
* T = 10 a slightly hazy sky
|
|
11270
|
+
* Valid range: `[1,10]`
|
|
11271
|
+
* @default 2.5
|
|
11272
|
+
*/
|
|
11273
|
+
turbidity?: number;
|
|
11274
|
+
/**
|
|
11275
|
+
* @description Represents how much light the ground bounces back into the atmosphere,
|
|
11276
|
+
* which brightens the sky near the horizon if this value is high.
|
|
11277
|
+
* Valid range: `[0,1]`
|
|
11278
|
+
* @default 0.9
|
|
11279
|
+
*/
|
|
11280
|
+
albedo?: number;
|
|
11281
|
+
/**
|
|
11282
|
+
* @description Horizontal orientation of the sun in radians.
|
|
11283
|
+
* Changing this value rotates the sun clockwise around
|
|
11284
|
+
* the scene without changing its height.
|
|
11285
|
+
* Valid range: `[-pi, pi]`
|
|
11286
|
+
* @default 0
|
|
11287
|
+
*/
|
|
11288
|
+
azimuthAngle?: number;
|
|
11289
|
+
/**
|
|
11290
|
+
* @description Height of the sun measured as the angle
|
|
11291
|
+
* from straight up (the zenith), in radians. Smaller values raise the sun toward
|
|
11292
|
+
* noon; larger values lower it toward the horizon.
|
|
11293
|
+
* Valid range: `[0,pi/2≈1.57]`.
|
|
11294
|
+
* @default 1
|
|
11295
|
+
*/
|
|
11296
|
+
polarAngle?: number;
|
|
11297
|
+
/**
|
|
11298
|
+
* @description Intensity of the sun that lights the scene and casts shadows.
|
|
11299
|
+
* This does not influence how the sun disc looks in the sky.
|
|
11300
|
+
* @default 10
|
|
11301
|
+
*/
|
|
11302
|
+
sunLightIntensity?: number;
|
|
11303
|
+
/**
|
|
11304
|
+
* @description Radius of the visible sun disc in the sky.
|
|
11305
|
+
* @default 0.03
|
|
11306
|
+
*/
|
|
11307
|
+
sunRadius?: number;
|
|
11308
|
+
/**
|
|
11309
|
+
* @description Blurryness of the edge of the visible sun disc in the sky.
|
|
11310
|
+
* @default 0.002
|
|
11311
|
+
*/
|
|
11312
|
+
sunSoftness?: number;
|
|
11313
|
+
/**
|
|
11314
|
+
* @description Exposure multiplier applied during the sky-specific tone mapping.
|
|
11315
|
+
* Higher values make the sky brighter.
|
|
11316
|
+
* @default 0.5
|
|
11317
|
+
*/
|
|
11318
|
+
tonemapExposure?: number;
|
|
11319
|
+
/**
|
|
11320
|
+
* @description The HDR brightness value which the sky-specific tone mapping considers as white.
|
|
11321
|
+
* Lower values clip bright areas (like the sun) to white sooner, increasing contrast.
|
|
11322
|
+
* Higher values preserve more detail in the brightest regions.
|
|
11323
|
+
* @default 14
|
|
11324
|
+
*/
|
|
11325
|
+
tonemapWhite?: number;
|
|
11326
|
+
/**
|
|
11327
|
+
* @description Fraction of the sky covered by clouds.
|
|
11328
|
+
* At `0` no clouds are rendered. at `1` the sky is fully covered by clouds.
|
|
11329
|
+
* @default 0.25
|
|
11330
|
+
*/
|
|
11331
|
+
cloudCoverage?: number;
|
|
11332
|
+
/**
|
|
11333
|
+
* @description Opacity of the clouds when they are blended over the sky. At `0` clouds
|
|
11334
|
+
* are invisible even if coverage is high; at `1` they fully replace the sky color
|
|
11335
|
+
* beneath them.
|
|
11336
|
+
* @default 0.3
|
|
11337
|
+
*/
|
|
11338
|
+
cloudDensity?: number;
|
|
11339
|
+
/**
|
|
11340
|
+
* @description Height of the virtual cloud plane. A value of `0` places the plane
|
|
11341
|
+
* very high (clouds appear small and distant); `1` pulls it down towards the horizon
|
|
11342
|
+
* so clouds appear lower and larger.
|
|
11343
|
+
* @default 0.7
|
|
11344
|
+
*/
|
|
11345
|
+
cloudElevation?: number;
|
|
11346
|
+
/**
|
|
11347
|
+
* @description Intensity of the environment map lighting while the sky is
|
|
11348
|
+
* enabled. Because the sky already contributes its own image-based lighting,
|
|
11349
|
+
* the environment map is dimmed to this value to keep the overall scene brightness balanced.
|
|
11350
|
+
* @default 0.5
|
|
11351
|
+
*/
|
|
11352
|
+
overrideEnvironmentMapIntensity?: number;
|
|
11353
|
+
}
|
|
11354
|
+
|
|
11197
11355
|
export declare class WebGpuSSGIConfig implements WebGpuSSGIConfigDefinition {
|
|
11198
11356
|
giDenoiseRadius: number;
|
|
11199
11357
|
aoDenoiseRadius: number;
|
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-
|
|
1
|
+
import { a as e, i as t, n, r, t as i } from "./packages-B4K6xrdJ.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
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-
|
|
5
|
-
import { t as M } from "./configurator-
|
|
6
|
-
import { t as N } from "./planner-
|
|
7
|
-
import { n as P, t as F } from "./glb-viewer-
|
|
8
|
-
import { t as I } from "./api-
|
|
9
|
-
export { o as CONFIGURATION_TYPE,
|
|
3
|
+
import { ht as s, yt as c } from "./threejs-utils-CLdyrCet.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-5aB4wxLW.mjs";
|
|
5
|
+
import { t as M } from "./configurator-CQ7KsW0O.mjs";
|
|
6
|
+
import { t as N } from "./planner-HMMHSMAp.mjs";
|
|
7
|
+
import { n as P, t as F } from "./glb-viewer-BWMMzvuG.mjs";
|
|
8
|
+
import { t as I } from "./api-KWh-ESd5.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 };
|