rayzee 11.2.0 → 11.2.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.
- package/README.md +4 -4
- package/dist/{ArchiveImporter-eNlu0_6F.js → ArchiveImporter-D_x863yu.js} +2 -2
- package/dist/{BidirectionalIntegrator-D1-6UySB.js → BidirectionalIntegrator-DmkxxEOR.js} +1 -1
- package/dist/{NeuralRetouch-DFGbnmLb.js → NeuralRetouch-Cr-otSW8.js} +1 -1
- package/dist/{NeuralSuperRes-BtXvyJQl.js → NeuralSuperRes-B7E3_M0t.js} +1 -1
- package/dist/{PathTracer-BHXGJtPN.js → PathTracer-D6nbknj5.js} +2 -2
- package/dist/{PhysicalSky-DN6u8UX4.js → PhysicalSky-Dq5VSiCQ.js} +1 -1
- package/dist/{RayzeeRenderer-Dw1x8mVL.js → RayzeeRenderer-DbjqO6v-.js} +3 -3
- package/dist/addons/archives.es.js +1 -1
- package/dist/addons/bidirectional.es.js +1 -1
- package/dist/addons/physical-sky.es.js +1 -1
- package/dist/rayzee-core.es.js +3 -3
- package/dist/rayzee.es.js +10 -10
- package/dist/rayzee.umd.js +3 -3
- package/dist/{sceneCachePolicy-DA7iGoL4.js → sceneCachePolicy-C4-4qwt6.js} +1 -1
- package/package.json +1 -1
- package/src/EngineDefaults.js +1 -1
- package/src/RayzeeRenderer.js +1 -1
package/README.md
CHANGED
|
@@ -466,7 +466,7 @@ Key settings:
|
|
|
466
466
|
| `enableEnvironment` | `boolean` | true | Use environment lighting |
|
|
467
467
|
| `environmentIntensity` | `number` | 1.0 | Environment light strength |
|
|
468
468
|
| `environmentRotation` | `number` | 0 | Environment Y-rotation (degrees); 0 shows the HDRI as authored, as Blender's unmapped world does |
|
|
469
|
-
| `areaLightIntensityScale` | `number` | 1 | Power of a glTF model's placeholder area lights (RectAreaLight extras), read when the model loads, so set it first; 1 is the authored power |
|
|
469
|
+
| `areaLightIntensityScale` | `number` | 0.1 | Power of a glTF model's placeholder area lights (RectAreaLight extras), read when the model loads, so set it first; 1 is the authored power |
|
|
470
470
|
| `maxTextureSize` | `number` | 4096 | Longest edge of a material texture, read when a model loads (clamped to the hardware ceiling); `setMaxTextureSize()` applies it to the current scene too |
|
|
471
471
|
| `wavefrontSortMaterials` | `boolean` | true | Sort rays by material before shading, above 8 materials; read when the shaders next build |
|
|
472
472
|
| `showBackground` | `boolean` | true | Show the environment as a visible backdrop for camera-miss rays (vs. a solid/transparent background) |
|
|
@@ -1255,9 +1255,9 @@ unavailable or fails, the CPU does it instead: the result's `toneMappedOn` says
|
|
|
1255
1255
|
Constructing `PathTracerApp` yourself instead: pass `strict: true`; storage is then off unless you
|
|
1256
1256
|
set it. Outside Chrome, pass `hostMemoryGB`.
|
|
1257
1257
|
|
|
1258
|
-
The engine has one set of defaults, the viewer's. For lens-accurate depth of field
|
|
1259
|
-
|
|
1260
|
-
|
|
1258
|
+
The engine has one set of defaults, the viewer's. For lens-accurate depth of field and glTF placeholder area
|
|
1259
|
+
lights at their authored power, set `dofMode: 'physical'` and `areaLightIntensityScale: 1` — through `settings`
|
|
1260
|
+
here, or `engine.settings` before loading the model.
|
|
1261
1261
|
|
|
1262
1262
|
**Provenance.** `engine.getProvenance()` — also `frame.provenance` from `captureHeadless` — is plain
|
|
1263
1263
|
JSON naming what produced the image: engine and three.js versions, the adapter, every live setting with its source, the colour pipeline, the render size and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
2
|
-
import { C as t, L as n, g as r, n as i, r as a } from "./sceneCachePolicy-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
|
+
import { C as t, L as n, g as r, n as i, r as a } from "./sceneCachePolicy-C4-4qwt6.js";
|
|
3
3
|
import { n as o, r as s } from "./EngineIssues-CIZnXHsF.js";
|
|
4
4
|
import { r as c } from "./shared-BGBcSxBQ.js";
|
|
5
5
|
import { i as l, n as u, o as d, r as f } from "./identity-C1cLD1C0.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $t as e, F as t, Ft as n, I as r, J as i, K as a, L as o, Mt as s, R as c, Rt as l, U as u, X as d, Y as f, Z as p, Zt as m, c as ee, ct as te, dt as ne, et as h, ft as re, i as g, j as ie, jt as ae, k as oe, lt as se, nn as ce, q as _, qt as v, r as le, rn as ue, wt as de, y as fe } from "./SolarLimb-CPaeZVwz.js";
|
|
2
|
-
import { A as y, At as b, C as pe, D as x, Dt as S, E as C, F as w, G as me, I as T, J as he, M as ge, O as _e, Ot as ve, S as ye, T as be, U as xe, V as E, W as Se, Y as D, _ as O, a as Ce, at as we, b as k, bt as A, c as Te, d as Ee, f as De, g as j, h as M, i as Oe, it as N, j as ke, jt as Ae, k as je, kt as Me, l as Ne, m as Pe, o as Fe, p as Ie, q as Le, r as Re, rt as P, s as ze, t as Be, u as F, v as Ve, w as He, x as Ue, xt as We, y as Ge } from "./PathTracer-
|
|
2
|
+
import { A as y, At as b, C as pe, D as x, Dt as S, E as C, F as w, G as me, I as T, J as he, M as ge, O as _e, Ot as ve, S as ye, T as be, U as xe, V as E, W as Se, Y as D, _ as O, a as Ce, at as we, b as k, bt as A, c as Te, d as Ee, f as De, g as j, h as M, i as Oe, it as N, j as ke, jt as Ae, k as je, kt as Me, l as Ne, m as Pe, o as Fe, p as Ie, q as Le, r as Re, rt as P, s as ze, t as Be, u as F, v as Ve, w as He, x as Ue, xt as We, y as Ge } from "./PathTracer-D6nbknj5.js";
|
|
3
3
|
import "./BufferLayout-D_IBo2ci.js";
|
|
4
4
|
import { Break as Ke, Fn as I, If as L, Loop as qe, Return as R, abs as z, atomicAdd as Je, atomicFunc as Ye, atomicLoad as B, atomicStore as Xe, bool as Ze, cos as Qe, cross as $e, dot as V, exp2 as et, float as H, floor as tt, instanceIndex as U, int as W, ivec2 as nt, ivec3 as rt, length as it, localId as at, log2 as ot, max as G, min as st, mix as ct, normalize as lt, sampler as ut, select as K, sin as dt, sqrt as ft, storage as pt, texture as mt, uint as q, uniform as J, uniformArray as ht, vec2 as gt, vec3 as Y, vec4 as _t, workgroupId as vt } from "three/tsl";
|
|
5
5
|
import { DataTexture as yt, FloatType as bt, RedFormat as xt, Vector3 as St } from "three";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
2
|
import { r as t } from "./Logger-dDDGj9Av.js";
|
|
3
3
|
import { n } from "./AssetConfig-DSEntE65.js";
|
|
4
4
|
import { t as r } from "./ToneMapGPU-BOjpul7A.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
2
|
import { t } from "./EngineEvents-Ci8dVWCP.js";
|
|
3
3
|
import { r as n } from "./Logger-dDDGj9Av.js";
|
|
4
4
|
import { n as r } from "./AssetConfig-DSEntE65.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as e, $t as t, A as n, At as r, B as i, Bt as a, C as o, Ct as s, D as c, Dt as l, E as u, Et as d, G as f, Gt as p, H as m, Ht as h, It as g, J as _, Jt as v, K as y, Kt as b, Lt as x, M as S, Mt as C, N as w, Nt as T, O as E, Ot as D, P as O, Q as ee, Qt as te, Rt as k, S as ne, St as re, T as ie, Tt as ae, Ut as oe, V as se, Vt as ce, W as le, Wt as ue, X as de, Xt as fe, Y as pe, Yt as me, Z as he, Zt as ge, _ as _e, _t as ve, a as ye, an as be, at as xe, b as Se, bt as Ce, c as we, ct as Te, d as Ee, dt as De, en as Oe, f as ke, ft as Ae, g as je, gt as Me, h as Ne, ht as Pe, i as Fe, in as Ie, it as Le, j as Re, jt as ze, k as Be, kt as Ve, l as He, lt as Ue, m as We, mt as Ge, n as Ke, nn as qe, nt as Je, o as Ye, ot as Xe, p as Ze, pt as Qe, q as $e, qt as et, r as tt, rn as nt, s as rt, st as it, t as at, tn as ot, tt as st, u as ct, ut as lt, v as ut, vt as dt, w as ft, wt as pt, x as mt, xt as ht, yt as gt, z as _t, zt as vt } from "./SolarLimb-CPaeZVwz.js";
|
|
2
|
-
import { D as yt, E as bt, I as xt, L as St, O as Ct, S as wt, a as Tt, b as Et, c as Dt, d as Ot, f as kt, h as At, i as jt, k as Mt, m as Nt, p as Pt, r as Ft, s as It, t as Lt, v as Rt, w as zt } from "./sceneCachePolicy-
|
|
2
|
+
import { D as yt, E as bt, I as xt, L as St, O as Ct, S as wt, a as Tt, b as Et, c as Dt, d as Ot, f as kt, h as At, i as jt, k as Mt, m as Nt, p as Pt, r as Ft, s as It, t as Lt, v as Rt, w as zt } from "./sceneCachePolicy-C4-4qwt6.js";
|
|
3
3
|
import { a as Bt, i as A, o as j, r as Vt } from "./Logger-dDDGj9Av.js";
|
|
4
4
|
import { a as Ht, c as Ut, d as Wt, f as M, i as N, l as Gt, m as Kt, n as qt, o as Jt, p as Yt, r as Xt, s as P, t as Zt, u as Qt } from "./BufferLayout-D_IBo2ci.js";
|
|
5
5
|
import { n as $t, t as en } from "./EngineIssues-CIZnXHsF.js";
|
|
@@ -393,7 +393,7 @@ var ai = () => ii(), oi = class {
|
|
|
393
393
|
anamorphicRatio: 1,
|
|
394
394
|
unitsPerMetre: 1,
|
|
395
395
|
maxTextureSize: 4096,
|
|
396
|
-
areaLightIntensityScale: 1,
|
|
396
|
+
areaLightIntensityScale: .1,
|
|
397
397
|
visMode: 0,
|
|
398
398
|
debugVisScale: 100
|
|
399
399
|
}), Ei = Object.freeze({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { n as e } from "./BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
2
|
import { dt as t, i as n, nn as r } from "./SolarLimb-CPaeZVwz.js";
|
|
3
3
|
import { r as i } from "./WorkingMatrix-C6y233hT.js";
|
|
4
4
|
import { StorageInstancedBufferAttribute as a } from "three/webgpu";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { dt as e } from "./SolarLimb-CPaeZVwz.js";
|
|
2
|
-
import { Ft as t, It as n, Lt as r, Mt as i, Nt as a, St as o, _t as s, ct as c, gt as l, mt as u, n as d, ot as f, st as p, xt as m } from "./PathTracer-
|
|
2
|
+
import { Ft as t, It as n, Lt as r, Mt as i, Nt as a, St as o, _t as s, ct as c, gt as l, mt as u, n as d, ot as f, st as p, xt as m } from "./PathTracer-D6nbknj5.js";
|
|
3
3
|
import { n as h, t as g } from "./EngineEvents-Ci8dVWCP.js";
|
|
4
|
-
import { A as ee, C as _, F as te, L as v, M as ne, N as re, P as y, R as ie, d as ae, g as oe, j as se, l as ce, r as le, u as ue, x as de, y as b } from "./sceneCachePolicy-
|
|
4
|
+
import { A as ee, C as _, F as te, L as v, M as ne, N as re, P as y, R as ie, d as ae, g as oe, j as se, l as ce, r as le, u as ue, x as de, y as b } from "./sceneCachePolicy-C4-4qwt6.js";
|
|
5
5
|
import { i as x, r as fe } from "./Logger-dDDGj9Av.js";
|
|
6
6
|
import { n as pe, s as me } from "./BufferLayout-D_IBo2ci.js";
|
|
7
7
|
import { i as he, n as S, t as ge } from "./EngineIssues-CIZnXHsF.js";
|
|
@@ -2317,7 +2317,7 @@ var Yn = class extends I {
|
|
|
2317
2317
|
} catch (e) {
|
|
2318
2318
|
$.warn("prior canvas owner dispose failed", e);
|
|
2319
2319
|
}
|
|
2320
|
-
if (Q.set(e, this), this.canvas = e, this._autoResize = !this._headless && t.autoResize !== !1, this._maxSceneBytes = t.maxSceneBytes, this._hostMemoryGB = t.hostMemoryGB, this._storageOption = t.storage, this._storageOpener = null, this._memorySpill = t.memorySpill === !0, this.storage = null, this._storageRelease = null, this._applySceneMetadataEnabled = t.applySceneMetadata !== !1, this._unlitRestore = null, this._applyingSceneMetadata = !1, t.profile !== void 0) throw Error("the `profile` option was removed: the engine has one set of defaults. For the old 'physical' profile set `dofMode: 'physical'` through `settings`.");
|
|
2320
|
+
if (Q.set(e, this), this.canvas = e, this._autoResize = !this._headless && t.autoResize !== !1, this._maxSceneBytes = t.maxSceneBytes, this._hostMemoryGB = t.hostMemoryGB, this._storageOption = t.storage, this._storageOpener = null, this._memorySpill = t.memorySpill === !0, this.storage = null, this._storageRelease = null, this._applySceneMetadataEnabled = t.applySceneMetadata !== !1, this._unlitRestore = null, this._applyingSceneMetadata = !1, t.profile !== void 0) throw Error("the `profile` option was removed: the engine has one set of defaults. For the old 'physical' profile set `areaLightIntensityScale: 1` and `dofMode: 'physical'` through `settings`.");
|
|
2321
2321
|
this._issues = new he({
|
|
2322
2322
|
strict: t.strict === !0,
|
|
2323
2323
|
onIssue: (e) => this.dispatchEvent({
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { n as e, t } from "../ZipReader-gDSWr0I5.js";
|
|
2
|
-
import { n, t as r } from "../ArchiveImporter-
|
|
2
|
+
import { n, t as r } from "../ArchiveImporter-D_x863yu.js";
|
|
3
3
|
export { r as ARCHIVE_ELEMENT_PROMPT_BYTES, n as ArchiveImporter, t as openZip, e as readZipDirectory };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../BidirectionalIntegrator-
|
|
1
|
+
import { t as e } from "../BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
2
|
export { e as BidirectionalIntegrator };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../PhysicalSky-
|
|
1
|
+
import { t as e } from "../PhysicalSky-Dq5VSiCQ.js";
|
|
2
2
|
export { e as PhysicalSky };
|
package/dist/rayzee-core.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./SolarLimb-CPaeZVwz.js";
|
|
2
|
-
import { a as e, n as t, o as n, r, t as i } from "./RayzeeRenderer-
|
|
3
|
-
import { Mt as a, St as o, ut as s, wt as c } from "./PathTracer-
|
|
2
|
+
import { a as e, n as t, o as n, r, t as i } from "./RayzeeRenderer-DbjqO6v-.js";
|
|
3
|
+
import { Mt as a, St as o, ut as s, wt as c } from "./PathTracer-D6nbknj5.js";
|
|
4
4
|
import { n as l, t as u } from "./EngineEvents-Ci8dVWCP.js";
|
|
5
|
-
import { _ as d, r as f, y as p } from "./sceneCachePolicy-
|
|
5
|
+
import { _ as d, r as f, y as p } from "./sceneCachePolicy-C4-4qwt6.js";
|
|
6
6
|
import { i as m, n as h, r as g, t as _ } from "./Logger-dDDGj9Av.js";
|
|
7
7
|
import { s as v } from "./BufferLayout-D_IBo2ci.js";
|
|
8
8
|
import { i as y, n as b, r as x, t as S } from "./EngineIssues-CIZnXHsF.js";
|
package/dist/rayzee.es.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as e } from "./BidirectionalIntegrator-
|
|
1
|
+
import { t as e } from "./BidirectionalIntegrator-DmkxxEOR.js";
|
|
2
2
|
import { $t as t, Ft as n, Jt as r, Pt as i, Qt as a, jt as o, rt as s, tn as c, wt as l } from "./SolarLimb-CPaeZVwz.js";
|
|
3
|
-
import { _ as u, a as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as ee, s as C, t as te, u as w } from "./RayzeeRenderer-
|
|
4
|
-
import { $ as ne, B as re, Ct as T, Et as ie, H as ae, It as oe, K as se, L as ce, Lt as E, Mt as le, N as D, Nt as O, P as ue, Pt as de, Q as fe, R as k, St as pe, Tt as me, X as he, Z as ge, _t as _e, dt as ve, et as ye, ft as be, gt as xe, ht as Se, lt as Ce, nt as we, pt as Te, tt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, z as Me } from "./PathTracer-
|
|
3
|
+
import { _ as u, a as d, c as f, d as p, f as m, g as h, h as g, i as _, l as v, m as y, n as b, o as x, p as S, r as ee, s as C, t as te, u as w } from "./RayzeeRenderer-DbjqO6v-.js";
|
|
4
|
+
import { $ as ne, B as re, Ct as T, Et as ie, H as ae, It as oe, K as se, L as ce, Lt as E, Mt as le, N as D, Nt as O, P as ue, Pt as de, Q as fe, R as k, St as pe, Tt as me, X as he, Z as ge, _t as _e, dt as ve, et as ye, ft as be, gt as xe, ht as Se, lt as Ce, nt as we, pt as Te, tt as Ee, ut as De, vt as Oe, wt as ke, xt as Ae, yt as je, z as Me } from "./PathTracer-D6nbknj5.js";
|
|
5
5
|
import { n as Ne, t as A } from "./EngineEvents-Ci8dVWCP.js";
|
|
6
|
-
import { M as Pe, N as Fe, R as Ie, _ as Le, a as Re, c as ze, f as Be, i as Ve, p as He, r as Ue, y as We } from "./sceneCachePolicy-
|
|
6
|
+
import { M as Pe, N as Fe, R as Ie, _ as Le, a as Re, c as ze, f as Be, i as Ve, p as He, r as Ue, y as We } from "./sceneCachePolicy-C4-4qwt6.js";
|
|
7
7
|
import { i as Ge, n as Ke, r as qe, t as Je } from "./Logger-dDDGj9Av.js";
|
|
8
8
|
import { n as Ye, s as Xe } from "./BufferLayout-D_IBo2ci.js";
|
|
9
9
|
import { i as Ze, n as Qe, r as $e, t as et } from "./EngineIssues-CIZnXHsF.js";
|
|
@@ -18,8 +18,8 @@ import { t as Ot } from "./FileFormats-sPGJeCRc.js";
|
|
|
18
18
|
import { A as kt, C as At, D as jt, E as Mt, O as Nt, S as Pt, T as Ft, _ as It, a as Lt, b as Rt, c as zt, d as Bt, f as Vt, g as Ht, h as Ut, i as Wt, k as Gt, l as Kt, m as qt, n as Jt, o as Yt, p as Xt, r as Zt, s as Qt, t as $t, u as en, v as tn, w as nn, x as rn, y as an } from "./ColorManagement-oeEk7oSu.js";
|
|
19
19
|
import { c as on, l as sn, n as cn, o as ln, t as un } from "./openStorage-Fe9BoS1_.js";
|
|
20
20
|
import { n as dn, t as fn } from "./ZipReader-gDSWr0I5.js";
|
|
21
|
-
import { i as pn, n as mn, r as hn } from "./NeuralSuperRes-
|
|
22
|
-
import { i as gn, n as _n, r as vn } from "./NeuralRetouch-
|
|
21
|
+
import { i as pn, n as mn, r as hn } from "./NeuralSuperRes-B7E3_M0t.js";
|
|
22
|
+
import { i as gn, n as _n, r as vn } from "./NeuralRetouch-Cr-otSW8.js";
|
|
23
23
|
import { ExternalTexture as yn, MeshBasicNodeMaterial as bn, QuadMesh as xn, ReadbackBuffer as Sn, RenderTarget as Cn, StorageTexture as j, TextureNode as M, WebGPURenderer as wn } from "three/webgpu";
|
|
24
24
|
import { Fn as Tn, If as N, Loop as En, Return as Dn, abs as On, atan as kn, atomicAdd as An, atomicLoad as jn, atomicStore as Mn, attributeArray as Nn, dot as Pn, exp as Fn, exp2 as In, float as P, floor as Ln, fract as Rn, int as F, ivec2 as I, localId as L, max as R, min as zn, mix as z, normalize as Bn, pow as Vn, round as Hn, saturate as B, select as V, smoothstep as Un, sqrt as Wn, storage as Gn, textureLoad as H, textureStore as U, uint as W, uniform as G, uvec2 as Kn, uvec4 as qn, vec2 as K, vec3 as q, vec4 as J, wgslFn as Jn, workgroupArray as Yn, workgroupBarrier as Xn, workgroupId as Y } from "three/tsl";
|
|
25
25
|
import { ACESFilmicToneMapping as Zn, AddEquation as Qn, AnimationMixer as $n, Box2 as er, Box3 as tr, ClampToEdgeWrapping as nr, Color as rr, Controls as ir, CustomBlending as ar, DataArrayTexture as or, DataTexture as sr, EventDispatcher as cr, FloatType as lr, HalfFloatType as ur, InterpolateSmooth as dr, LinearFilter as X, LoopOnce as fr, LoopRepeat as pr, MathUtils as mr, Matrix4 as hr, Mesh as gr, MeshBasicMaterial as _r, NearestFilter as Z, NoColorSpace as vr, NumberKeyframeTrack as yr, OneFactor as br, OrthographicCamera as xr, PerspectiveCamera as Sr, PropertyBinding as Cr, Quaternion as wr, RGBAFormat as Q, Raycaster as Tr, RedIntegerFormat as Er, SRGBColorSpace as Dr, Scene as Or, SphereGeometry as kr, Timer as Ar, UnsignedByteType as jr, UnsignedIntType as Mr, Vector2 as Nr, Vector3 as $, Vector4 as Pr, VectorKeyframeTrack as Fr } from "three";
|
|
@@ -4651,9 +4651,9 @@ var Ro = {
|
|
|
4651
4651
|
}
|
|
4652
4652
|
this._neuralPostBusy = !0, this.dispatchEvent({ type: A.UPSCALING_START });
|
|
4653
4653
|
try {
|
|
4654
|
-
let r = await import("./NeuralSuperRes-
|
|
4654
|
+
let r = await import("./NeuralSuperRes-B7E3_M0t.js").then((e) => e.t);
|
|
4655
4655
|
this._superResModule = r;
|
|
4656
|
-
let i = n ? await import("./NeuralRetouch-
|
|
4656
|
+
let i = n ? await import("./NeuralRetouch-Cr-otSW8.js").then((e) => e.t) : null, a = this.denoiser?._outTexSize, o = (a?.width ?? 0) * (a?.height ?? 0), s = n && o <= i.RETOUCH_MAX_PIXELS;
|
|
4657
4657
|
if (n && !s && (Bo.warn(`Neural rendering skipped: the render is ${(o / 1e6).toFixed(1)} MP, above the ${(i.RETOUCH_MAX_PIXELS / 1e6).toFixed(1)} MP the pass survives.` + (t ? " The upscale still ran." : "")), this._releaseNeuralRetouch()), !t && !s) return;
|
|
4658
4658
|
let c = {
|
|
4659
4659
|
exposure: this._getEffectiveExposure(),
|
|
@@ -5641,7 +5641,7 @@ var Ts = qe("engine"), Es = class extends te {
|
|
|
5641
5641
|
}), this.cameraManager.camera;
|
|
5642
5642
|
}
|
|
5643
5643
|
_initAssetPipeline() {
|
|
5644
|
-
super._initAssetPipeline(), this.assetLoader.controls = this.cameraManager.controls, this.assetLoader.registerFormat(...Ot), this.assetLoader.setArchiveImporterLoader(() => import("./ArchiveImporter-
|
|
5644
|
+
super._initAssetPipeline(), this.assetLoader.controls = this.cameraManager.controls, this.assetLoader.registerFormat(...Ot), this.assetLoader.setArchiveImporterLoader(() => import("./ArchiveImporter-D_x863yu.js").then((e) => e.r).then((e) => new e.ArchiveImporter(this.assetLoader)), Tt);
|
|
5645
5645
|
let e = () => {
|
|
5646
5646
|
this.needsReset = !0, this.stages.pathTracer?.enterInteractionMode(), this.wake();
|
|
5647
5647
|
};
|
|
@@ -5667,7 +5667,7 @@ var Ts = qe("engine"), Es = class extends te {
|
|
|
5667
5667
|
super._initPipeline(), this.pipeline.eventBus.on("pathtracer:interactionStart", () => this._requestRenderScale(this._interactionRenderScale())), this.pipeline.eventBus.on("pathtracer:interactionEnd", () => this._applyRenderScale(1));
|
|
5668
5668
|
}
|
|
5669
5669
|
async _initManagers() {
|
|
5670
|
-
await super._initManagers(), this.environmentManager.setProceduralSkyLoader(() => import("./PhysicalSky-
|
|
5670
|
+
await super._initManagers(), this.environmentManager.setProceduralSkyLoader(() => import("./PhysicalSky-Dq5VSiCQ.js").then((e) => e.n).then((e) => e.PhysicalSky)), this.stages.pathTracer.registerIntegrator(["bidirectional", "vcm"], (t) => new e(t)), this.stages.pathTracer.requestOutput("gBuffer"), this.interactionManager = new ca({
|
|
5671
5671
|
scene: this.meshScene,
|
|
5672
5672
|
camera: this.camera,
|
|
5673
5673
|
canvas: this.canvas,
|