iflow-engine-base-3d 4.0.1 → 4.0.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.
@@ -1,5 +1,5 @@
1
1
  import { S as ki, G as pe, P as Xt, O as Be, M as F, V as d, e as et, T as Vn, C as Vs, W as Li, a as Us, b as We, N as Bi, c as Ws, d as lt, f as W, Q as Te, E as Un, R as me, g as tt, h as Wn, B as R, i as zi, A as Gn, j as H, k as z, I as V, l as ri, m as ai, n as qn, o as Kn, L as Qt, p as Gs, q as qs, r as Ks, s as Yi, D as re, t as Xi, u as js, F as Ys, v as xe, w as jn, x as Yn, y as Ri, z as Xs, H as Xn, J as ae, K as Qs, U as $s, X as Et, Y as Zs, Z as Qn, _ as Js, $ as Ie, a0 as At, a1 as it, a2 as Xe, a3 as $t, a4 as Oi, a5 as Z, a6 as oe, a7 as St, a8 as eo, a9 as nt, aa as wi, ab as Ge, ac as Lt, ad as to, ae as io, af as bi, ag as pt, ah as no, ai as ut, aj as so, ak as oo, al as $n, am as Zt, an as Pt, ao as Jt, ap as ro, aq as Qi, ar as Tt, as as It, at as ao, au as lo, av as $i, aw as co, ax as ho, ay as uo, az as po, aA as mo, aB as go, aC as fo, aD as yo, aE as Mo, aF as vo, aG as Zn, aH as xo, aI as wo, aJ as bo, aK as Co, aL as Eo, aM as Ao, aN as So, aO as Po, aP as To, aQ as Io } from "./three-vendor-UroN9p1L.js";
2
- import { W as fe, C as _o, L as Mt, B as Zi, g as Oe, a as Do, E as ko, r as Lo } from "./sdk-runtime-By6dkVp_.js";
2
+ import { W as fe, C as _o, L as Mt, B as Zi, g as Oe, a as Do, E as ko, r as Lo } from "./sdk-runtime-D0NNn-v8.js";
3
3
  import { r as ee, g as Bo } from "./sdk-assets-DHhjv3WO.js";
4
4
  import { a as ei, J as Ci, c as zo, b as Ro, P as li, q as Oo, k as Fo, n as Ji, E as en, S as No } from "./sdk-vendor-DYgn7sFs.js";
5
5
  class Ho {
@@ -434,16 +434,16 @@ class Uo {
434
434
  this.engine = e, this.renderer = null, this.watermark = new _o(Vn);
435
435
  }
436
436
  createRenderer() {
437
- const { width: e, height: t } = this.engine.deviceModule.getContainerSize(), i = this.engine.deviceModule.isMobile();
438
- return Vs.enabled = !0, this.renderer = new Li({
437
+ const { width: e, height: t } = this.engine.deviceModule.getContainerSize();
438
+ return this.engine.deviceModule.isMobile(), Vs.enabled = !0, this.renderer = new Li({
439
439
  // 原生 MSAA 主要覆盖非后处理路径;后处理链路的边缘由 composer 的 samples 和 FXAA 继续处理。
440
- antialias: i ? !1 : this.engine.options.antialias ?? !0,
440
+ antialias: this.engine.options.antialias ?? !0,
441
441
  alpha: !0,
442
442
  premultipliedAlpha: !1,
443
443
  stencil: !0,
444
444
  // iOS 保留 drawing buffer 会长期占用额外帧缓冲;移动端优先保证大模型稳定加载。
445
- preserveDrawingBuffer: !i
446
- }), this.renderer.setClearColor(0, 0), this.renderer.setSize(e, t, !1), this.renderer.setPixelRatio(Jn(this.engine)), this.renderer.domElement.style.width = "100%", this.renderer.domElement.style.width = "100%", this.renderer.domElement.style.height = "100%", this.renderer.domElement.style.display = "block", this.renderer.shadowMap.enabled = !i, this.renderer.shadowMap.type = Us, this.renderer.localClippingEnabled = !0, this.renderer.outputColorSpace = We, this.renderer.toneMapping = Bi, this.renderer.toneMappingExposure = Fi, this.engine.container.appendChild(this.renderer.domElement), this.renderer;
445
+ preserveDrawingBuffer: !0
446
+ }), this.renderer.setClearColor(0, 0), this.renderer.setSize(e, t, !1), this.renderer.setPixelRatio(Jn(this.engine)), this.renderer.domElement.style.width = "100%", this.renderer.domElement.style.width = "100%", this.renderer.domElement.style.height = "100%", this.renderer.domElement.style.display = "block", this.renderer.shadowMap.enabled = !0, this.renderer.shadowMap.type = Us, this.renderer.localClippingEnabled = !0, this.renderer.outputColorSpace = We, this.renderer.toneMapping = Bi, this.renderer.toneMappingExposure = Fi, this.engine.container.appendChild(this.renderer.domElement), this.renderer;
447
447
  }
448
448
  disposeRenderer() {
449
449
  this.watermark.dispose(), this.renderer?.dispose();
@@ -21025,11 +21025,11 @@ const Ph = Object.freeze({
21025
21025
  restrictTextureSize: !0
21026
21026
  }), Ih = Object.freeze({
21027
21027
  maxTextureSize: 4096,
21028
- samples: 6,
21028
+ samples: 4,
21029
21029
  restrictTextureSize: !0
21030
21030
  }), _h = Object.freeze({
21031
21031
  maxTextureSize: 4096,
21032
- samples: 6,
21032
+ samples: 4,
21033
21033
  restrictTextureSize: !1
21034
21034
  });
21035
21035
  function Dh(a) {
@@ -830,7 +830,7 @@ class Pt {
830
830
  e.stopImmediatePropagation();
831
831
  };
832
832
  }
833
- const Qe = "4.0.1", et = {
833
+ const Qe = "4.0.3", et = {
834
834
  version: Qe
835
835
  }, N = et.version;
836
836
  function ie() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iflow-engine-base-3d",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "BIM Engine SDK for Vue2, Vue3, React and HTML",
5
5
  "main": "./dist/bim-engine-sdk.umd.js",
6
6
  "module": "./dist/bim-engine-sdk.es.js",