@roomle/web-sdk 5.2.0-alpha.2 → 5.2.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.
- package/lib/ConfiguratorKernel.wasm +0 -0
- package/lib/RoomleCore.wasm +0 -0
- package/lib/RoomleToolsCore.wasm +0 -0
- package/lib/{api-DgmvQKJM.mjs → api-DZUlAWo5.mjs} +2 -2
- package/lib/{api-DgmvQKJM.mjs.map → api-DZUlAWo5.mjs.map} +1 -1
- package/lib/asset-loader.worker-CE4O0JU-.mjs.map +1 -1
- package/lib/{component-raycast-helper-BKwofixp.mjs → component-raycast-helper-DmNjzxSD.mjs} +2 -2
- package/lib/{component-raycast-helper-BKwofixp.mjs.map → component-raycast-helper-DmNjzxSD.mjs.map} +1 -1
- package/lib/configurator-B02bUwN0.mjs +2 -0
- package/lib/{configurator-B8BvHTky.mjs → configurator-BmDN5YBW.mjs} +4 -4
- package/lib/{configurator-B8BvHTky.mjs.map → configurator-BmDN5YBW.mjs.map} +1 -1
- package/lib/{glb-viewer-DamedzN_.mjs → glb-viewer-B1zv_-Xu.mjs} +5 -5
- package/lib/{glb-viewer-DamedzN_.mjs.map → glb-viewer-B1zv_-Xu.mjs.map} +1 -1
- package/lib/glb-viewer-ch_Vh93P.mjs +2 -0
- package/lib/{highlight-coordinator-DiTRPUXt.mjs → highlight-coordinator-DDyo_U8P.mjs} +3 -3
- package/lib/{highlight-coordinator-DiTRPUXt.mjs.map → highlight-coordinator-DDyo_U8P.mjs.map} +1 -1
- package/lib/{homag-intelligence-Kd23hknu.mjs → homag-intelligence-BesU6hk_.mjs} +3 -3
- package/lib/{homag-intelligence-Kd23hknu.mjs.map → homag-intelligence-BesU6hk_.mjs.map} +1 -1
- package/lib/{material-viewer-CArm5Sbd.mjs → material-viewer-irdXxk65.mjs} +11 -11
- package/lib/{material-viewer-CArm5Sbd.mjs.map → material-viewer-irdXxk65.mjs.map} +1 -1
- package/lib/{packages-Cl6mO8eL.mjs → packages-BlWO8LDP.mjs} +5 -5
- package/lib/{packages-Cl6mO8eL.mjs.map → packages-BlWO8LDP.mjs.map} +1 -1
- package/lib/planner-BFYRuePx.mjs +2 -0
- package/lib/{planner-BvSAoyAE.mjs → planner-DlX-zG-W.mjs} +3 -3
- package/lib/{planner-BvSAoyAE.mjs.map → planner-DlX-zG-W.mjs.map} +1 -1
- package/lib/roomle-headless.d.ts +41 -4
- package/lib/roomle-headless.js +8 -8
- package/lib/roomle-renderer-nCUrLU_S.mjs.map +1 -1
- package/lib/{roomle-sdk-CyuyR7se.mjs → roomle-sdk-DSz_yeeB.mjs} +3899 -3851
- package/lib/roomle-sdk-DSz_yeeB.mjs.map +1 -0
- package/lib/roomle-sdk.d.ts +41 -4
- package/lib/roomle-sdk.js +7 -7
- package/lib/{scene-renderer-NOgMV9KH.mjs → scene-renderer-DdVBP89m.mjs} +11 -11
- package/lib/{scene-renderer-NOgMV9KH.mjs.map → scene-renderer-DdVBP89m.mjs.map} +1 -1
- package/lib/{script-loader-i9PxCq7s.mjs → script-loader-LEqgfdLa.mjs} +2 -2
- package/lib/{script-loader-i9PxCq7s.mjs.map → script-loader-LEqgfdLa.mjs.map} +1 -1
- 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/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-BKeEnvFU.mjs → stats-helper-DYmtEOGb.mjs} +2 -2
- package/lib/{stats-helper-BKeEnvFU.mjs.map → stats-helper-DYmtEOGb.mjs.map} +1 -1
- package/lib/{three.module-DUSFrLM6.mjs → three.module-230BZkaT.mjs} +2 -2
- package/lib/{three.module-DUSFrLM6.mjs.map → three.module-230BZkaT.mjs.map} +1 -1
- package/lib/{threejs-utils-CX2ILaES.mjs → threejs-utils-Dy-rm1a9.mjs} +3 -5
- package/lib/{threejs-utils-CX2ILaES.mjs.map → threejs-utils-Dy-rm1a9.mjs.map} +1 -1
- package/lib/{tools-core-DqGfLhDO.mjs → tools-core-BFul1GmX.mjs} +3 -3
- package/lib/{tools-core-DqGfLhDO.mjs.map → tools-core-BFul1GmX.mjs.map} +1 -1
- package/package.json +2 -2
- package/lib/configurator-CaIbtRET.mjs +0 -2
- package/lib/glb-viewer-CZvZ1erY.mjs +0 -2
- package/lib/planner-CGH5CX5Q.mjs +0 -2
- package/lib/roomle-sdk-CyuyR7se.mjs.map +0 -1
package/lib/roomle-sdk.d.ts
CHANGED
|
@@ -26,6 +26,7 @@ import { PerspectiveCamera } from 'three';
|
|
|
26
26
|
import { PointLight } from 'three';
|
|
27
27
|
import { Scene } from 'three';
|
|
28
28
|
import { Scene as Scene_2 } from 'three/webgpu';
|
|
29
|
+
import { Sphere } from 'three';
|
|
29
30
|
import { Texture } from 'three';
|
|
30
31
|
import { TextureLoader } from 'three';
|
|
31
32
|
import { Vector2 } from 'three';
|
|
@@ -1631,12 +1632,31 @@ export declare interface ConfiguratorKernelContainer {
|
|
|
1631
1632
|
export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel {
|
|
1632
1633
|
private _rootComponentRuntimeId;
|
|
1633
1634
|
private _rootComponentId;
|
|
1635
|
+
private _componentsCutByCamera;
|
|
1636
|
+
private _localCameraPosition;
|
|
1634
1637
|
constructor(planObject: PlanObject);
|
|
1635
1638
|
addRootComponent(component: RoomleComponent): void;
|
|
1636
1639
|
addChildEntityComponent(component: RoomleComponent): void;
|
|
1637
1640
|
getConfigurationRuntimeId(): number;
|
|
1638
1641
|
getRootComponentId(): number;
|
|
1639
1642
|
getRootComponentRuntimeId(): number;
|
|
1643
|
+
/**
|
|
1644
|
+
* A configuration is one plan object but many components - a whole kitchen run
|
|
1645
|
+
* shares a single bounding box, so hiding the container would clear the scene as
|
|
1646
|
+
* soon as the camera gets close to any of its cabinets. The object bounds are only
|
|
1647
|
+
* the broad phase here, the components actually cut by the near plane are hidden
|
|
1648
|
+
* individually.
|
|
1649
|
+
*/
|
|
1650
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
1651
|
+
restoreCutByCamera(): boolean;
|
|
1652
|
+
private _setComponentCutByCamera;
|
|
1653
|
+
/**
|
|
1654
|
+
* Only the component's own meshes, its child components stay visible - and
|
|
1655
|
+
* re-applied while cut, so meshes replaced in the meantime stay hidden too.
|
|
1656
|
+
* A component waiting for its geometry hides its meshes behind the loading box
|
|
1657
|
+
* itself, showing them again is `loadingFinished()`'s job, not ours.
|
|
1658
|
+
*/
|
|
1659
|
+
private _applyComponentMeshVisibility;
|
|
1640
1660
|
finishConstruction(): Promise<void>;
|
|
1641
1661
|
failConstruction(): Promise<void>;
|
|
1642
1662
|
toJSON(): {
|
|
@@ -1644,7 +1664,12 @@ export declare class ConfiguratorPlanObjectViewModel extends PlanObjectViewModel
|
|
|
1644
1664
|
rootElementId: number;
|
|
1645
1665
|
};
|
|
1646
1666
|
protected _updateBoundingBox(): void;
|
|
1647
|
-
|
|
1667
|
+
/**
|
|
1668
|
+
* Walks the component tree with a visitor: this runs per frame for every
|
|
1669
|
+
* configuration the camera is close to, where an array per tree level would be
|
|
1670
|
+
* a temporary allocation per component per frame.
|
|
1671
|
+
*/
|
|
1672
|
+
private _forEachComponent;
|
|
1648
1673
|
}
|
|
1649
1674
|
|
|
1650
1675
|
export declare class ConfiguratorSceneEventHandler extends SceneEventHandler<SceneEventInfo> {
|
|
@@ -4218,7 +4243,7 @@ export declare interface GlobalInitDataDefinition {
|
|
|
4218
4243
|
*/
|
|
4219
4244
|
configuratorId?: string;
|
|
4220
4245
|
/**
|
|
4221
|
-
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/
|
|
4246
|
+
* @description Set which RAPI (Roomle API) backend should be used usage: customApiUrl=https://www.roomle.com/api/v2
|
|
4222
4247
|
*/
|
|
4223
4248
|
customApiUrl?: string;
|
|
4224
4249
|
/* Excluded from this release type: e2e */
|
|
@@ -7000,13 +7025,26 @@ export declare class PlanElementViewModel extends KernelViewModel {
|
|
|
7000
7025
|
protected _topView: boolean;
|
|
7001
7026
|
private _containerVisible;
|
|
7002
7027
|
private _hiddenByCameraFacing;
|
|
7028
|
+
private _hiddenByCameraCut;
|
|
7003
7029
|
constructor(planObject: PlanObject);
|
|
7004
7030
|
getSize(): Vector3_2;
|
|
7005
7031
|
setHiddenByCameraFacing(hidden: boolean): void;
|
|
7006
7032
|
setContainerVisibility(isVisible: boolean): void;
|
|
7007
7033
|
protected isContainerVisible(): boolean;
|
|
7008
|
-
protected
|
|
7034
|
+
protected _applyVisibility(): void;
|
|
7009
7035
|
isHiddenByCameraFacing(): boolean;
|
|
7036
|
+
/**
|
|
7037
|
+
* Hide what the camera near plane cuts open, given a sphere around the camera
|
|
7038
|
+
* position with the near distance as radius. A plan element is a single visual
|
|
7039
|
+
* unit, so the whole container is hidden - {@link ConfiguratorPlanObjectViewModel}
|
|
7040
|
+
* refines this to the components which are actually cut.
|
|
7041
|
+
*/
|
|
7042
|
+
hideCutByCamera(cameraSphere: Sphere): boolean;
|
|
7043
|
+
/**
|
|
7044
|
+
* Show everything that was hidden by {@link hideCutByCamera} again.
|
|
7045
|
+
*/
|
|
7046
|
+
restoreCutByCamera(): boolean;
|
|
7047
|
+
protected _setHiddenByCameraCut(hidden: boolean): boolean;
|
|
7010
7048
|
update(): void;
|
|
7011
7049
|
protected _updateBoundingBox(): void;
|
|
7012
7050
|
getPosition(): Vector3_2;
|
|
@@ -8303,7 +8341,6 @@ export declare class PlanViewModel extends ConfiguratorViewModel implements Plan
|
|
|
8303
8341
|
private _plannerSceneEventHandler;
|
|
8304
8342
|
private _cameraHideSphere;
|
|
8305
8343
|
private readonly _cameraHideViewModelGroups;
|
|
8306
|
-
private _objectsHiddenByCamera;
|
|
8307
8344
|
private _cameraType;
|
|
8308
8345
|
private _nodeZoom;
|
|
8309
8346
|
private _latestWallPlanObjectViewModel;
|
package/lib/roomle-sdk.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
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-BlWO8LDP.mjs";
|
|
2
2
|
import { i as a, t as o } from "./kernel-BWfRHWkW.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { Tt as s, xt as c } from "./threejs-utils-Dy-rm1a9.mjs";
|
|
4
4
|
import { D as l, g as u } from "./common-utils-CNGLvAo_.mjs";
|
|
5
|
-
import { F as d, G as f, J as p, K as m, M as h, N as g, P as _, S as v, V as y, Y as b, b as x, dt as S, ft as C, ht as w, j as T, k as E, lt as D, q as O, t as k, u as A, ut as j, x as M, y as N, z as P } from "./roomle-sdk-
|
|
6
|
-
import { t as F } from "./configurator-
|
|
7
|
-
import { t as I } from "./planner-
|
|
8
|
-
import { n as L, t as R } from "./glb-viewer-
|
|
9
|
-
import { t as z } from "./api-
|
|
5
|
+
import { F as d, G as f, J as p, K as m, M as h, N as g, P as _, S as v, V as y, Y as b, b as x, dt as S, ft as C, ht as w, j as T, k as E, lt as D, q as O, t as k, u as A, ut as j, x as M, y as N, z as P } from "./roomle-sdk-DSz_yeeB.mjs";
|
|
6
|
+
import { t as F } from "./configurator-BmDN5YBW.mjs";
|
|
7
|
+
import { t as I } from "./planner-DlX-zG-W.mjs";
|
|
8
|
+
import { n as L, t as R } from "./glb-viewer-B1zv_-Xu.mjs";
|
|
9
|
+
import { t as z } from "./api-DZUlAWo5.mjs";
|
|
10
10
|
export { o as CONFIGURATION_TYPE, c as CORE_EDGE_TYPE, s as CORE_OBJECT_CATEGORY, a as CORE_PERMISSION_TO_DELETE, F as Configurator, T as FloorPlanElementViewModel, R as GlbViewer, P as HI_CONTEXT_ACTION, y as HI_GROUP_OPERATION, v as MeasurementLinePlanElementViewModel, N as PLAN_ELEMENT_CHANGE_TYPES, d as PlanElementViewModel, _ as PlanObjectViewModel, I as Planner, D as RapiAccess, j as RapiInvalidIdError, S as RapiOfflineError, z as RoomDesignerApi, E as RoomleConfigurator, L as RoomleGLBViewer, w as RoomleLightSource, A as RoomlePlanner, k as RoomleSdk, g as StaticPlanObjectViewModel, h as WallPlanElementViewModel, f as createExtObj, b as createExtObjId, u as download, C as getCatalogIdFromConfigurationHash, m as isExtObjId, O as isExternalObject, x as isFirefox, i as isIdAComponent, n as isIdAConfigurationString, r as isIdAPlan, t as isIdAnItem, e as isPlanSnapshotId, M as isSafari, l as md5Hash, p as removeExtObjIdPrefix };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { A as e, _t as t,
|
|
1
|
+
import { A as e, _t as t, gt as n, ht as r, mt as i, vt as a, yt as o } from "./threejs-utils-Dy-rm1a9.mjs";
|
|
2
2
|
import { Ai as s, Ar as c, Bt as l, Di as u, Dn as d, E as f, Ei as p, Er as m, Gr as h, Ht as g, J as ee, Jt as _, Kn as v, Kr as te, Pr as ne, S as y, Ti as b, V as re, Y as ie, Z as x, _i as S, _n as ae, at as oe, ci as se, cn as C, ct as w, dn as ce, f as le, gi as T, gn as ue, h as de, hn as fe, ht as pe, ii as me, jn as E, kn as he, li as ge, ln as D, mt as _e, pn as ve, st as ye, tn as be, un as O, vn as k, w as A, xn as j, y as xe, yi as Se, z as Ce } from "./three.core-BTUCraWz.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { n as we } from "./three.module-230BZkaT.mjs";
|
|
4
4
|
import { C as M, D as Te, E as Ee, O as N, S as P, T as De, _ as Oe, a as ke, b as F, d as Ae, f as I, g as L, h as je, i as Me, l as R, m as Ne, n as Pe, o as Fe, p as Ie, r as Le, s as Re, t as ze, u as z, v as Be, w as Ve, x as B, y as V } from "./shading-settings-DJ4kY2Cn.mjs";
|
|
5
5
|
import { n as He, t as H } from "./Pass-DCljS3Z-.mjs";
|
|
6
6
|
import { n as Ue, r as We, t as Ge } from "./decorate-CjaqqbUP.mjs";
|
|
@@ -512,15 +512,15 @@ var U = {
|
|
|
512
512
|
let e = this._sharedShadowGroundPlane;
|
|
513
513
|
return e ||= (this._shadowGroundPlane ??= new W(this.renderTarget.texture, this.parameters), this._shadowGroundPlane), e.parent !== this._groundGroup && this._groundGroup.add(e), e;
|
|
514
514
|
}
|
|
515
|
-
constructor(e,
|
|
516
|
-
super(e), this.limitPlaneSize = !0, this.needsUpdate = !0, this.noNeedOfUpdateCount = 0, this._blurScale = 1, this._shadowScale = 1, this._groundGroup =
|
|
515
|
+
constructor(e, n, r, i) {
|
|
516
|
+
super(e), this.limitPlaneSize = !0, this.needsUpdate = !0, this.noNeedOfUpdateCount = 0, this._blurScale = 1, this._shadowScale = 1, this._groundGroup = r, this.shadowMapSize = i.shadowMapSize ?? 2048, this.parameters = this._getDefaultParameters(i), this._groundShadowFar = this.parameters.cameraFar, this._renderer = n, this.renderCacheManager?.registerCache(this, new t((e) => e.isMesh && !et(e) || e.name !== void 0 && ["Ground", "Floor"].includes(e.name))), this.renderTarget = new s(this.shadowMapSize, this.shadowMapSize), this.renderTarget.texture.generateMipmaps = !1, this._renderTargetBlur = new s(this.shadowMapSize, this.shadowMapSize), this._renderTargetBlur.texture.generateMipmaps = !1, this._sharedShadowGroundPlane = i?.sharedShadowGroundPlane, this.shadowGroundPlane.setShadowMap(this.renderTarget.texture), this.shadowGroundPlane.updateMaterial(this.parameters), this._groundContactCamera = new nt(), this._groundGroup.add(this._groundContactCamera), this._depthMaterial = new ce(), this._depthMaterial.userData.fadeoutBias = { value: this.parameters.fadeoutBias }, this._depthMaterial.userData.fadeoutFalloff = { value: this.parameters.fadeoutFalloff }, this._depthMaterial.onBeforeCompile = (e) => {
|
|
517
517
|
e.uniforms.fadeoutBias = this._depthMaterial.userData.fadeoutBias, e.uniforms.fadeoutFalloff = this._depthMaterial.userData.fadeoutFalloff, e.fragmentShader = `
|
|
518
518
|
uniform float fadeoutBias;
|
|
519
519
|
uniform float fadeoutFalloff;
|
|
520
520
|
${e.fragmentShader.replace("gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );", W.alphaMap ? "gl_FragColor = vec4(clamp(pow(1.0 + fadeoutBias - fragCoordZ, 1.0/(1.0-fadeoutFalloff)), 0.0, 1.0));" : "gl_FragColor = vec4(vec3(0.0), clamp(pow(1.0 + fadeoutBias - fragCoordZ, 1.0/(1.0-fadeoutFalloff)), 0.0, 1.0));")}
|
|
521
521
|
`;
|
|
522
522
|
}, this._depthMaterial.side = 2, this._depthMaterial.depthTest = !0, this._depthMaterial.depthWrite = !0, this._blurPass = new Ae(Be, {
|
|
523
|
-
...
|
|
523
|
+
...i,
|
|
524
524
|
passRenderer: this.renderPassManager.passRenderer
|
|
525
525
|
}), this.updatePlaneAndShadowCamera();
|
|
526
526
|
}
|
|
@@ -750,7 +750,7 @@ var U = {
|
|
|
750
750
|
this.addToCache(e, { visible: !1 });
|
|
751
751
|
}
|
|
752
752
|
addMesh(e) {
|
|
753
|
-
e.userData.isFloor ? this.addToCache(e, { visible: this._groundDepthWrite }) : e.visible && (
|
|
753
|
+
e.userData.isFloor ? this.addToCache(e, { visible: this._groundDepthWrite }) : e.visible && (o(e.material, .7) || a(e.material)) && this.addToCache(e, { visible: !1 });
|
|
754
754
|
}
|
|
755
755
|
addObject(e) {
|
|
756
756
|
e.name === "dimensioning" && this.addToCache(e, { visible: !1 });
|
|
@@ -1197,7 +1197,7 @@ var U = {
|
|
|
1197
1197
|
e.isLight && !e.userData.shadowLightSource && this.addToCache(e, { visible: !1 });
|
|
1198
1198
|
}
|
|
1199
1199
|
_setMeshMaterialAndVisibility(e) {
|
|
1200
|
-
e.userData.isFloor ? this._setMeshShadowFloorMaterial(e) : e.material && e.receiveShadow && !Array.isArray(e.material) && !(e.material.transparent === !0 && e.material.opacity < .9) ? this._setShadowMaterialForOpaqueObject(e) :
|
|
1200
|
+
e.userData.isFloor ? this._setMeshShadowFloorMaterial(e) : e.material && e.receiveShadow && !Array.isArray(e.material) && !(e.material.transparent === !0 && e.material.opacity < .9) ? this._setShadowMaterialForOpaqueObject(e) : o(e.material, .9) ? this.addToCache(e, { visible: !1 }) : e.receiveShadow ? this.addToCache(e, {
|
|
1201
1201
|
castShadow: !1,
|
|
1202
1202
|
material: this._receiveShadowMaterial
|
|
1203
1203
|
}) : this.addToCache(e, { visible: !1 });
|
|
@@ -1976,7 +1976,7 @@ var U = {
|
|
|
1976
1976
|
this._reflectionPassMapIntensityUniform.value = e;
|
|
1977
1977
|
}
|
|
1978
1978
|
static addPlugin(t) {
|
|
1979
|
-
if (
|
|
1979
|
+
if (a(t)) return null;
|
|
1980
1980
|
if (t.userData.postProcessingMaterialPlugin !== void 0) return t.userData.postProcessingMaterialPlugin instanceof e ? t.userData.postProcessingMaterialPlugin : null;
|
|
1981
1981
|
let n = new e();
|
|
1982
1982
|
return t.userData.postProcessingMaterialPlugin = n, t.onBeforeCompile = (e, t) => n._onBeforeCompile(e, t), t.customProgramCacheKey = () => n._customProgramCacheKey(), n;
|
|
@@ -2453,8 +2453,8 @@ var Zt = {
|
|
|
2453
2453
|
get shadowAndAoGroundPlane() {
|
|
2454
2454
|
return this._shadowAndAoGroundPlane;
|
|
2455
2455
|
}
|
|
2456
|
-
constructor(e,
|
|
2457
|
-
this.debugOutput = "off", this.outputColorSpace = "", this.toneMapping = "", this.linearAoFilter = !0, this.environmentLights = !1, this.enableObjectSelection = !0, this.groundLevel = 0, this.uiInteractionMode = !1, this.width = 0, this.height = 0, this.boundingVolume = new Ne(), this.boundingVolumeSet = !1, this.renderCacheManager = new
|
|
2456
|
+
constructor(e, r, o, s, c) {
|
|
2457
|
+
this.debugOutput = "off", this.outputColorSpace = "", this.toneMapping = "", this.linearAoFilter = !0, this.environmentLights = !1, this.enableObjectSelection = !0, this.groundLevel = 0, this.uiInteractionMode = !1, this.width = 0, this.height = 0, this.boundingVolume = new Ne(), this.boundingVolumeSet = !1, this.renderCacheManager = new n(), this.selectedObjects = [], this.groundGroup = new _e(), this._shadingType = ze.DEFAULT, this._qualityLevel = Zt.HIGHEST, this._qualityMap = /* @__PURE__ */ new Map(), this._customShadingParameters = null, this._creator_ = e, this.width = o, this.height = s, this.linearAoFilter = c ?? !0, this.renderer = r, this.renderCacheManager.registerCache("inivisibleGround", new t((e) => e === this.groundGroup)), this.renderCacheManager.registerCache("groundReflection", new t((e) => e === this.groundGroup || e.name === "dimensioning" ? !0 : !!(e instanceof D && a(e.material)))), this.renderCacheManager.registerCache("debug", new t()), this.renderCacheManager.registerCache("floorDepthWrite", new i((e) => e.userData?.isFloor)), this._shadowAndAoGroundPlane = new W(null), this.groundGroup.rotateX(-Math.PI / 2), this._renderPassManager = new Xt(e, this), this.outlineRenderer = new $e(this._renderPassManager, null, {}), this.parameters = {
|
|
2458
2458
|
gBufferRenderTargetParameters: this.gBufferRenderPass.parameters,
|
|
2459
2459
|
bakedGroundContactShadowParameters: this.bakedGroundContactShadowPass.parameters,
|
|
2460
2460
|
screenSpaceShadowMapParameters: this.screenSpaceShadowMapPass.parameters,
|
|
@@ -2587,4 +2587,4 @@ Ge([We, Ue("design:type", Object)], Qt.prototype, "_initData", void 0);
|
|
|
2587
2587
|
//#endregion
|
|
2588
2588
|
export { ft as a, Ke as c, Nt as i, Qt as n, J as o, Q as r, U as s, Zt as t };
|
|
2589
2589
|
|
|
2590
|
-
//# sourceMappingURL=scene-renderer-
|
|
2590
|
+
//# sourceMappingURL=scene-renderer-DdVBP89m.mjs.map
|