@holoscript/engine 6.0.3 → 6.0.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/dist/AutoMesher-CK47F6AV.js +17 -0
- package/dist/GPUBuffers-2LHBCD7X.js +9 -0
- package/dist/WebGPUContext-TNEUYU2Y.js +11 -0
- package/dist/animation/index.cjs +38 -38
- package/dist/animation/index.d.cts +1 -1
- package/dist/animation/index.d.ts +1 -1
- package/dist/animation/index.js +1 -1
- package/dist/audio/index.cjs +16 -6
- package/dist/audio/index.d.cts +1 -1
- package/dist/audio/index.d.ts +1 -1
- package/dist/audio/index.js +1 -1
- package/dist/camera/index.cjs +23 -23
- package/dist/camera/index.d.cts +1 -1
- package/dist/camera/index.d.ts +1 -1
- package/dist/camera/index.js +1 -1
- package/dist/character/index.cjs +6 -4
- package/dist/character/index.js +1 -1
- package/dist/choreography/index.cjs +1194 -0
- package/dist/choreography/index.d.cts +687 -0
- package/dist/choreography/index.d.ts +687 -0
- package/dist/choreography/index.js +1156 -0
- package/dist/chunk-2CSNRI2N.js +217 -0
- package/dist/chunk-33T2WINR.js +266 -0
- package/dist/chunk-35R73OFM.js +1257 -0
- package/dist/chunk-4MMDSUNP.js +1256 -0
- package/dist/chunk-5V6HOU72.js +319 -0
- package/dist/chunk-6QOP6PYF.js +1038 -0
- package/dist/chunk-7KMJVHIL.js +8944 -0
- package/dist/chunk-7VPUC62U.js +1106 -0
- package/dist/chunk-A2Y6RCAT.js +1878 -0
- package/dist/chunk-AHM42MK6.js +8944 -0
- package/dist/chunk-BL7IDTHE.js +218 -0
- package/dist/chunk-CITOMSWL.js +10462 -0
- package/dist/chunk-CXDPKW2K.js +8944 -0
- package/dist/chunk-CXZPLD4S.js +223 -0
- package/dist/chunk-CZYJE7IH.js +5169 -0
- package/dist/chunk-D2OP7YC7.js +6325 -0
- package/dist/chunk-EDRVQHUU.js +1544 -0
- package/dist/chunk-EJSLOOW2.js +3589 -0
- package/dist/chunk-F53SFGW5.js +1878 -0
- package/dist/chunk-HCFPELPY.js +919 -0
- package/dist/chunk-HNEE36PY.js +93 -0
- package/dist/chunk-HYXNV36F.js +1256 -0
- package/dist/chunk-IB7KHVFY.js +821 -0
- package/dist/chunk-IBBO7YYG.js +690 -0
- package/dist/chunk-ILIBGINU.js +5470 -0
- package/dist/chunk-IS4MHLKN.js +5479 -0
- package/dist/chunk-JT2PFKWD.js +5479 -0
- package/dist/chunk-K4CUB4NY.js +1038 -0
- package/dist/chunk-KATDQXRJ.js +10462 -0
- package/dist/chunk-KBQE6ZFJ.js +8944 -0
- package/dist/chunk-KBVD5K7E.js +560 -0
- package/dist/chunk-KCDPVQRY.js +4088 -0
- package/dist/chunk-KN4QJPKN.js +8944 -0
- package/dist/chunk-KWJ3ROSI.js +8944 -0
- package/dist/chunk-L45VF6DD.js +919 -0
- package/dist/chunk-LY4T37YK.js +307 -0
- package/dist/chunk-MDN5WZXA.js +1544 -0
- package/dist/chunk-MGCDP6VU.js +928 -0
- package/dist/chunk-NCX7X6G2.js +8681 -0
- package/dist/chunk-OF54BPVD.js +913 -0
- package/dist/chunk-OWSN2Q3Q.js +690 -0
- package/dist/chunk-PRRB5TTA.js +406 -0
- package/dist/chunk-PXWVQF76.js +4086 -0
- package/dist/chunk-PYCOIDT2.js +812 -0
- package/dist/chunk-PZCSADOV.js +928 -0
- package/dist/chunk-Q2XBVS2K.js +1038 -0
- package/dist/chunk-QDZRXWN5.js +1776 -0
- package/dist/chunk-RNWOZ6WQ.js +913 -0
- package/dist/chunk-ROLFT4CJ.js +1693 -0
- package/dist/chunk-SLTJRZ2N.js +266 -0
- package/dist/chunk-SRUS5XSU.js +4088 -0
- package/dist/chunk-TKCA3WZ5.js +5409 -0
- package/dist/chunk-TNRMXYI2.js +1650 -0
- package/dist/chunk-TQB3GJGM.js +9763 -0
- package/dist/chunk-TUFGXG6K.js +510 -0
- package/dist/chunk-U6KMTGQJ.js +632 -0
- package/dist/chunk-VMGJQST6.js +8681 -0
- package/dist/chunk-X4F4TCG4.js +5470 -0
- package/dist/chunk-ZIFROE75.js +1544 -0
- package/dist/chunk-ZIJQYHSQ.js +1204 -0
- package/dist/combat/index.cjs +4 -4
- package/dist/combat/index.d.cts +1 -1
- package/dist/combat/index.d.ts +1 -1
- package/dist/combat/index.js +1 -1
- package/dist/ecs/index.cjs +1 -1
- package/dist/ecs/index.js +1 -1
- package/dist/environment/index.cjs +14 -14
- package/dist/environment/index.d.cts +1 -1
- package/dist/environment/index.d.ts +1 -1
- package/dist/environment/index.js +1 -1
- package/dist/gpu/index.cjs +4810 -0
- package/dist/gpu/index.js +3714 -0
- package/dist/hologram/index.cjs +27 -1
- package/dist/hologram/index.js +1 -1
- package/dist/index-B2PIsAmR.d.cts +2180 -0
- package/dist/index-B2PIsAmR.d.ts +2180 -0
- package/dist/index-BHySEPX7.d.cts +2921 -0
- package/dist/index-BJV21zuy.d.cts +341 -0
- package/dist/index-BJV21zuy.d.ts +341 -0
- package/dist/index-BQutTphC.d.cts +790 -0
- package/dist/index-ByIq2XrS.d.cts +3910 -0
- package/dist/index-BysHjDSO.d.cts +224 -0
- package/dist/index-BysHjDSO.d.ts +224 -0
- package/dist/index-CKwAJGck.d.ts +455 -0
- package/dist/index-CUl3QstQ.d.cts +3006 -0
- package/dist/index-CUl3QstQ.d.ts +3006 -0
- package/dist/index-CmYtNiI-.d.cts +953 -0
- package/dist/index-CmYtNiI-.d.ts +953 -0
- package/dist/index-CnRzWxi_.d.cts +522 -0
- package/dist/index-CnRzWxi_.d.ts +522 -0
- package/dist/index-CwRWbSC7.d.ts +2921 -0
- package/dist/index-CxKIBstO.d.ts +790 -0
- package/dist/index-DJ6-R8vh.d.cts +455 -0
- package/dist/index-DQKisbcI.d.cts +4968 -0
- package/dist/index-DQKisbcI.d.ts +4968 -0
- package/dist/index-DRT2zJez.d.ts +3910 -0
- package/dist/index-DfNLiAka.d.cts +192 -0
- package/dist/index-DfNLiAka.d.ts +192 -0
- package/dist/index-nMvkoRm8.d.cts +405 -0
- package/dist/index-nMvkoRm8.d.ts +405 -0
- package/dist/index-s9yOFU37.d.cts +604 -0
- package/dist/index-s9yOFU37.d.ts +604 -0
- package/dist/index.cjs +22966 -6960
- package/dist/index.d.cts +864 -20
- package/dist/index.d.ts +864 -20
- package/dist/index.js +3062 -48
- package/dist/input/index.cjs +1 -1
- package/dist/input/index.js +1 -1
- package/dist/orbital/index.cjs +3 -3
- package/dist/orbital/index.d.cts +1 -1
- package/dist/orbital/index.d.ts +1 -1
- package/dist/orbital/index.js +1 -1
- package/dist/particles/index.cjs +16 -16
- package/dist/particles/index.d.cts +1 -1
- package/dist/particles/index.d.ts +1 -1
- package/dist/particles/index.js +1 -1
- package/dist/physics/index.cjs +2377 -21
- package/dist/physics/index.d.cts +1 -1
- package/dist/physics/index.d.ts +1 -1
- package/dist/physics/index.js +35 -1
- package/dist/postfx/index.cjs +3491 -0
- package/dist/postfx/index.js +93 -0
- package/dist/procedural/index.cjs +1 -1
- package/dist/procedural/index.js +1 -1
- package/dist/puppeteer-5VF6KDVO.js +52197 -0
- package/dist/puppeteer-IZVZ3SG4.js +52197 -0
- package/dist/rendering/index.cjs +33 -32
- package/dist/rendering/index.d.cts +1 -1
- package/dist/rendering/index.d.ts +1 -1
- package/dist/rendering/index.js +8 -6
- package/dist/runtime/index.cjs +23 -13
- package/dist/runtime/index.d.cts +1 -1
- package/dist/runtime/index.d.ts +1 -1
- package/dist/runtime/index.js +8 -6
- package/dist/runtime/protocols/index.cjs +349 -0
- package/dist/runtime/protocols/index.js +15 -0
- package/dist/scene/index.cjs +8 -8
- package/dist/scene/index.d.cts +1 -1
- package/dist/scene/index.d.ts +1 -1
- package/dist/scene/index.js +1 -1
- package/dist/shader/index.cjs +3087 -0
- package/dist/shader/index.js +3044 -0
- package/dist/simulation/index.cjs +10680 -0
- package/dist/simulation/index.d.cts +3 -0
- package/dist/simulation/index.d.ts +3 -0
- package/dist/simulation/index.js +307 -0
- package/dist/spatial/index.cjs +2443 -0
- package/dist/spatial/index.d.cts +1545 -0
- package/dist/spatial/index.d.ts +1545 -0
- package/dist/spatial/index.js +2400 -0
- package/dist/terrain/index.cjs +1 -1
- package/dist/terrain/index.d.cts +1 -1
- package/dist/terrain/index.d.ts +1 -1
- package/dist/terrain/index.js +1 -1
- package/dist/transformers.node-4NKAPD5U.js +45620 -0
- package/dist/vm/index.cjs +7 -8
- package/dist/vm/index.d.cts +1 -1
- package/dist/vm/index.d.ts +1 -1
- package/dist/vm/index.js +1 -1
- package/dist/vm-bridge/index.cjs +2 -2
- package/dist/vm-bridge/index.d.cts +2 -2
- package/dist/vm-bridge/index.d.ts +2 -2
- package/dist/vm-bridge/index.js +1 -1
- package/dist/vr/index.cjs +6 -6
- package/dist/vr/index.js +1 -1
- package/dist/world/index.cjs +3 -3
- package/dist/world/index.d.cts +1 -1
- package/dist/world/index.d.ts +1 -1
- package/dist/world/index.js +1 -1
- package/package.json +53 -21
- package/LICENSE +0 -21
package/dist/rendering/index.cjs
CHANGED
|
@@ -299929,7 +299929,7 @@ var BloomEffect = class {
|
|
|
299929
299929
|
// ---------------------------------------------------------------------------
|
|
299930
299930
|
// Processing Steps
|
|
299931
299931
|
// ---------------------------------------------------------------------------
|
|
299932
|
-
extractBright(pixels,
|
|
299932
|
+
extractBright(pixels, _width, _height) {
|
|
299933
299933
|
const output = new Float32Array(pixels.length);
|
|
299934
299934
|
const threshold = this.config.threshold;
|
|
299935
299935
|
const knee = this.config.softKnee;
|
|
@@ -300537,7 +300537,7 @@ function overlayBlend(base, detail, intensity) {
|
|
|
300537
300537
|
}
|
|
300538
300538
|
function blendDetailNormal(base, detail) {
|
|
300539
300539
|
const t = { x: base.x + base.z * detail.x, y: base.y + base.z * detail.y, z: base.z };
|
|
300540
|
-
const
|
|
300540
|
+
const _u = { x: -detail.x, y: -detail.y, z: 1 };
|
|
300541
300541
|
const len = Math.sqrt(t.x * t.x + t.y * t.y + t.z * t.z) || 1;
|
|
300542
300542
|
return { x: t.x / len, y: t.y / len, z: t.z / len };
|
|
300543
300543
|
}
|
|
@@ -300657,7 +300657,7 @@ var CloudRenderer = class {
|
|
|
300657
300657
|
transmittance *= Math.exp(-d * stepSize * 0.1);
|
|
300658
300658
|
}
|
|
300659
300659
|
return {
|
|
300660
|
-
position:
|
|
300660
|
+
position: [x, y, z],
|
|
300661
300661
|
density,
|
|
300662
300662
|
lighting: transmittance
|
|
300663
300663
|
};
|
|
@@ -300795,7 +300795,7 @@ var ColorGrading = class {
|
|
|
300795
300795
|
// ---------------------------------------------------------------------------
|
|
300796
300796
|
// Full Pipeline
|
|
300797
300797
|
// ---------------------------------------------------------------------------
|
|
300798
|
-
apply(pixels,
|
|
300798
|
+
apply(pixels, _width, _height) {
|
|
300799
300799
|
if (!this.config.enabled) return pixels;
|
|
300800
300800
|
const output = new Float32Array(pixels.length);
|
|
300801
300801
|
for (let i = 0; i < pixels.length; i += 4) {
|
|
@@ -300874,9 +300874,9 @@ var DecalBatcher = class {
|
|
|
300874
300874
|
culled++;
|
|
300875
300875
|
continue;
|
|
300876
300876
|
}
|
|
300877
|
-
const dx = inst.position
|
|
300878
|
-
const dy = inst.position
|
|
300879
|
-
const dz = inst.position
|
|
300877
|
+
const dx = inst.position[0] - cameraPos[0];
|
|
300878
|
+
const dy = inst.position[1] - cameraPos[1];
|
|
300879
|
+
const dz = inst.position[2] - cameraPos[2];
|
|
300880
300880
|
const dist = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
300881
300881
|
const lod = this.computeLOD(dist);
|
|
300882
300882
|
if (lod > this.maxLOD) {
|
|
@@ -300940,7 +300940,7 @@ var DecalSystem = class {
|
|
|
300940
300940
|
textureId: "",
|
|
300941
300941
|
atlasRegion: void 0,
|
|
300942
300942
|
size: { x: 1, y: 1, z: 1 },
|
|
300943
|
-
position:
|
|
300943
|
+
position: [0, 0, 0],
|
|
300944
300944
|
rotation: { x: 0, y: 0, z: 0, w: 1 },
|
|
300945
300945
|
normal: { x: 0, y: 1, z: 0 },
|
|
300946
300946
|
color: { r: 1, g: 1, b: 1, a: 1 },
|
|
@@ -301320,7 +301320,7 @@ var LightingModel = class {
|
|
|
301320
301320
|
const light = {
|
|
301321
301321
|
color: [1, 1, 1],
|
|
301322
301322
|
intensity: 1,
|
|
301323
|
-
position:
|
|
301323
|
+
position: [0, 10, 0],
|
|
301324
301324
|
direction: { x: 0, y: -1, z: 0 },
|
|
301325
301325
|
range: 50,
|
|
301326
301326
|
spotAngle: 45,
|
|
@@ -301366,9 +301366,9 @@ var LightingModel = class {
|
|
|
301366
301366
|
sampleGI(position) {
|
|
301367
301367
|
let r = 0, g = 0, b = 0, totalWeight = 0;
|
|
301368
301368
|
for (const probe of this.probes) {
|
|
301369
|
-
const dx = position
|
|
301370
|
-
const dy = position
|
|
301371
|
-
const dz = position
|
|
301369
|
+
const dx = position[0] - probe.position[0];
|
|
301370
|
+
const dy = position[1] - probe.position[1];
|
|
301371
|
+
const dz = position[2] - probe.position[2];
|
|
301372
301372
|
const dist = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
301373
301373
|
if (dist > probe.radius) continue;
|
|
301374
301374
|
const w = (1 - dist / probe.radius) * probe.weight;
|
|
@@ -301393,9 +301393,9 @@ var LightingModel = class {
|
|
|
301393
301393
|
const light = this.lights.get(lightId);
|
|
301394
301394
|
if (!light || !light.enabled) return 0;
|
|
301395
301395
|
if (light.type === "directional") return 1;
|
|
301396
|
-
const dx = worldPos
|
|
301397
|
-
const dy = worldPos
|
|
301398
|
-
const dz = worldPos
|
|
301396
|
+
const dx = worldPos[0] - light.position[0];
|
|
301397
|
+
const dy = worldPos[1] - light.position[1];
|
|
301398
|
+
const dz = worldPos[2] - light.position[2];
|
|
301399
301399
|
const dist = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
301400
301400
|
if (dist >= light.range) return 0;
|
|
301401
301401
|
const attenuation = Math.max(0, 1 - (dist / light.range) ** 2);
|
|
@@ -301424,9 +301424,9 @@ var LightingModel = class {
|
|
|
301424
301424
|
visible.push(light);
|
|
301425
301425
|
continue;
|
|
301426
301426
|
}
|
|
301427
|
-
const dx = light.position
|
|
301428
|
-
const dy = light.position
|
|
301429
|
-
const dz = light.position
|
|
301427
|
+
const dx = light.position[0] - cameraPos[0];
|
|
301428
|
+
const dy = light.position[1] - cameraPos[1];
|
|
301429
|
+
const dz = light.position[2] - cameraPos[2];
|
|
301430
301430
|
const dist = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
301431
301431
|
if (dist < maxRange + light.range) visible.push(light);
|
|
301432
301432
|
}
|
|
@@ -302031,7 +302031,7 @@ var ProjectorLight = class {
|
|
|
302031
302031
|
// ---------------------------------------------------------------------------
|
|
302032
302032
|
setPosition(id, x, y, z) {
|
|
302033
302033
|
const p = this.projectors.get(id);
|
|
302034
|
-
if (p) p.position =
|
|
302034
|
+
if (p) p.position = [x, y, z];
|
|
302035
302035
|
}
|
|
302036
302036
|
setDirection(id, x, y, z) {
|
|
302037
302037
|
const p = this.projectors.get(id);
|
|
@@ -302060,9 +302060,9 @@ var ProjectorLight = class {
|
|
|
302060
302060
|
isPointInFrustum(id, point) {
|
|
302061
302061
|
const p = this.projectors.get(id);
|
|
302062
302062
|
if (!p || !p.enabled) return false;
|
|
302063
|
-
const dx = point
|
|
302064
|
-
const dy = point
|
|
302065
|
-
const dz = point
|
|
302063
|
+
const dx = point[0] - p.position[0];
|
|
302064
|
+
const dy = point[1] - p.position[1];
|
|
302065
|
+
const dz = point[2] - p.position[2];
|
|
302066
302066
|
const dirLen = Math.sqrt(
|
|
302067
302067
|
p.direction.x * p.direction.x + p.direction.y * p.direction.y + p.direction.z * p.direction.z
|
|
302068
302068
|
) || 1;
|
|
@@ -302154,7 +302154,8 @@ var RenderPass = class {
|
|
|
302154
302154
|
const errors = [];
|
|
302155
302155
|
for (const pass of this.passes.values()) {
|
|
302156
302156
|
for (const dep of pass.dependencies) {
|
|
302157
|
-
if (!this.passes.has(dep))
|
|
302157
|
+
if (!this.passes.has(dep))
|
|
302158
|
+
errors.push(`Pass "${pass.id}" depends on unknown pass "${dep}"`);
|
|
302158
302159
|
}
|
|
302159
302160
|
for (const input of pass.inputs) {
|
|
302160
302161
|
let found = false;
|
|
@@ -303585,7 +303586,7 @@ var VolumetricLight = class {
|
|
|
303585
303586
|
// ---------------------------------------------------------------------------
|
|
303586
303587
|
addLight(config2) {
|
|
303587
303588
|
const light = {
|
|
303588
|
-
position:
|
|
303589
|
+
position: [0, 50, 0],
|
|
303589
303590
|
direction: { x: 0, y: -1, z: 0 },
|
|
303590
303591
|
color: [1, 0.95, 0.8],
|
|
303591
303592
|
intensity: 1,
|
|
@@ -303627,9 +303628,9 @@ var VolumetricLight = class {
|
|
|
303627
303628
|
z: viewPos.z + dir.z * t
|
|
303628
303629
|
};
|
|
303629
303630
|
const toLight = {
|
|
303630
|
-
x: light.position
|
|
303631
|
-
y: light.position
|
|
303632
|
-
z: light.position
|
|
303631
|
+
x: light.position[0] - samplePos[0],
|
|
303632
|
+
y: light.position[1] - samplePos[1],
|
|
303633
|
+
z: light.position[2] - samplePos[2]
|
|
303633
303634
|
};
|
|
303634
303635
|
const dist = Math.sqrt(toLight.x ** 2 + toLight.y ** 2 + toLight.z ** 2) || 1;
|
|
303635
303636
|
const ndl = (toLight.x * dir.x + toLight.y * dir.y + toLight.z * dir.z) / dist;
|
|
@@ -303638,7 +303639,7 @@ var VolumetricLight = class {
|
|
|
303638
303639
|
const attenuation = Math.pow(light.decay, i);
|
|
303639
303640
|
const contribution = phase * light.intensity * attenuation * stepSize;
|
|
303640
303641
|
accumulated += contribution;
|
|
303641
|
-
samples.push({ position: samplePos, accumulated, step: i });
|
|
303642
|
+
samples.push({ position: [samplePos.x, samplePos.y, samplePos.z], accumulated, step: i });
|
|
303642
303643
|
}
|
|
303643
303644
|
return samples;
|
|
303644
303645
|
}
|
|
@@ -303648,9 +303649,9 @@ var VolumetricLight = class {
|
|
|
303648
303649
|
getScatteringAt(lightId, worldPos) {
|
|
303649
303650
|
const light = this.lights.get(lightId);
|
|
303650
303651
|
if (!light || !light.enabled) return 0;
|
|
303651
|
-
const dx = worldPos
|
|
303652
|
-
const dy = worldPos
|
|
303653
|
-
const dz = worldPos
|
|
303652
|
+
const dx = worldPos[0] - light.position[0];
|
|
303653
|
+
const dy = worldPos[1] - light.position[1];
|
|
303654
|
+
const dz = worldPos[2] - light.position[2];
|
|
303654
303655
|
const dist = Math.sqrt(dx * dx + dy * dy + dz * dz);
|
|
303655
303656
|
if (dist > light.maxDistance) return 0;
|
|
303656
303657
|
const falloff = 1 - dist / light.maxDistance;
|
|
@@ -304617,7 +304618,7 @@ var WebGPURenderer = class _WebGPURenderer {
|
|
|
304617
304618
|
renderXR(frame) {
|
|
304618
304619
|
if (!this.context || !this.xrSession || !this.xrBinding || !this.xrProjectionLayer) return;
|
|
304619
304620
|
const { device } = this.context;
|
|
304620
|
-
const
|
|
304621
|
+
const _session = frame.session;
|
|
304621
304622
|
const pose = frame.getViewerPose(
|
|
304622
304623
|
this.xrBinding.nativeProjectionLayerSpace || this.xrSession.renderState.baseLayer.space
|
|
304623
304624
|
);
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AABB, M as ADVANCED_PBR_PRESETS, a as AdvancedLight, L as AdvancedLightingLightType, b as AdvancedLightingManager, V as AdvancedLightingVec2, c as AdvancedLightingVec3, d as AdvancedPBRConfig, e as AdvancedPBRMaterial, f as AdvancedPBRVec3, g as AdvancedTexturingVec2, h as AdvancedTexturingVec3, i as AmbientConfig, j as AnimationFrameOptions, k as AnisotropyConfig, l as AreaLightConfig, m as AreaLightShape, n as AtlasPacker, o as AtlasRect, p as AttachmentFormat, B as BVH, q as BVHNode, r as BatchStats, s as BlendMode, t as BloomConfig, u as BloomEffect, C as CausticConfig, v as ChromaticAberrationConfig, w as ClearOp, x as ClearcoatConfig, y as CloudConfig, z as CloudRenderer, D as CloudSample, E as ColorGrading, F as ColorGradingConfig, G as CompiledShader, H as CullMode, I as DOFConfig, J as DecalBatcher, K as DecalDef, N as DecalInstance, O as DecalSystem, P as DetailMapConfig, Q as DisplacementConfig, R as DrawBatch, S as FogConfig, T as FogMode, U as FogSystem, W as FramebufferAttachment, X as GIConfig, Y as GIMode, Z as GIProbe, _ as GIProbeGrid, $ as GlobalIlluminationVec3, a0 as GraphStats, a1 as HitRecord, a2 as IBlendComponent, a3 as IBlendState, a4 as IBoundingBox, a5 as IBufferDescriptor, a6 as ICameraUniforms, a7 as IColorTargetState, a8 as IDepthStencilState, a9 as IDeviceCapabilities, aa as IDrawCall, ab as IESProfile, ac as IFrameStats, ad as IGPUTexture, ae as IIndexBuffer, af as IRenderMaterial, ag as IRenderMesh, ah as IRenderPassColorAttachment, ai as IRenderPassDepthStencilAttachment, aj as IRenderPassDescriptor, ak as IRenderPipelineDescriptor, al as IRendererStats, am as ISamplerDescriptor, an as ISceneUniforms, ao as IShaderModule, ap as ITextureDescriptor, aq as IUniformBuffer, ar as IVertexAttribute, as as IVertexBuffer, at as IVertexBufferLayout, au as IWebGPUContext, av as IWebGPUInitOptions, aw as IridescenceConfig, ax as Light, ay as LightCookie, az as LightType, aA as LightingModel, aB as MaterialDef, aC as MaterialInstance, aD as MaterialLibrary, aE as MaterialSystem, aF as MaterialSystemBlendMode, aG as MaterialSystemCullMode, aH as MaterialSystemMaterial, aI as MotionBlurConfig, aJ as NLMConfig, aK as PDFOptions, aL as POMConfig, aM as PP_PRESETS, aN as PassContext, aO as PathTracerScene, aP as PhysicsDebugDrawer, aQ as PixelBuffer, aR as PostProcess, aS as PostProcessEffect, aT as PostProcessProfile, aU as PostProcessStack, aV as PostProcessingStack, aW as PrerenderOptions, aX as ProbeInfo, aY as ProjectorConfig, aZ as ProjectorLight, a_ as PuppeteerRenderer, a$ as PuppeteerRendererOptions, b0 as RENDERING_MATERIAL_PRESETS, b1 as RGB, b2 as RTApi, b3 as RTFeature, b4 as Ray, b5 as RayTracer, b6 as RayTracingConfig, b7 as RayTracingVec3, b8 as RenderGraph, b9 as RenderPass, ba as RenderPassConfig, bb as RenderPassDescriptor, bc as RenderResult, bd as RenderTarget, bf as RenderingMaterialType, bg as SH9, bh as SHADER_NODES, bi as SSAOConfig, bj as SSGIConfig, bk as SSRConfig, bl as SSSConfig, bm as SSSLayer, bn as SSSMaterial, bo as SSSModel, bp as SSSRGB, bq as SSS_PRESETS, br as STANDARD_FRAGMENT_SHADER, bs as STANDARD_VERTEX_SHADER, bt as ScreenshotOptions, bu as ShaderConnection, bv as ShaderDataType, bw as ShaderGraph, bx as ShaderNode, by as ShaderNodeDef, bz as ShaderPort, bA as ShaderPortRef, bB as ShaderUniform, bC as SheenConfig, bD as TAAConfig, bE as Texture2D, bF as TextureFormat, bG as TextureSlot, bH as ToneMapper, bI as TonemapOperator, bJ as Triangle, bK as UNLIT_FRAGMENT_SHADER, bL as UNLIT_VERTEX_SHADER, bM as UniformDef, bN as UniformType, bO as VolumetricLight, bP as VolumetricLightConfig, bQ as VolumetricSample, bR as WebGPURenderer, bS as aabbCentroid, bT as aabbSurfaceArea, bU as addSHSample, bV as anisotropicRoughness, bW as applyChromaticAberration, bX as applyDOF, bY as applyDetailAlbedo, bZ as applyFilmGrain, b_ as applyMotionBlur, b$ as applyVignette, c0 as blendDetailNormal, c1 as blendTAA, c2 as buildCircleCookie, c3 as buildSeparableSSSKernel, c4 as burleyProfile, c5 as burleyProfileRGB, c6 as christensenProfile, c7 as computeAABB, c8 as computeCoC, c9 as computeDiffuseAlbedo, ca as computeDisplacedPosition, cb as computeDisplacementNormalsFromHeightMap, cc as computeF0, cd as computePOM, ce as computeSSAO, cf as computeSSGI, cg as computeSSR, ch as computeTriangleNormal, ci as createAtlasPacker, cj as createDefaultMaterialDef, ck as createSH9, cl as createSolidTexture, cm as diskSolidAngle, cn as distributionGGX, co as distributionGGXAnisotropic, cp as evalSH9Irradiance, cq as evalSeparableKernel, cr as evaluateClearcoat, cs as evaluateIridescence, ct as evaluateSheen, cu as fresnelRoughness, cv as fresnelSchlick, cw as geometrySmith, cx as getAtlasEfficiency, cy as getRectUV, cz as haltonJitter, cA as hexToRGBA, cB as intersectRayAABB, cC as intersectRayTriangle, cD as lerpSH9, cE as nlmDenoise, cF as packRect, cG as parseIESProfile, cH as pathTrace, cI as prerenderHTML, cJ as rectSolidAngle, cK as renderPDF, cL as renderScreenshot, cM as rgbaToHex, cN as sampleCookie, cO as sampleIES, cP as sampleTexture, cQ as sampleTextureBilinear, cR as sampleTriplanar, cS as scaleSH9, cT as sheenDistribution, cU as sheenVisibility, cV as thinSlabTransmission, cW as triplanarWeights } from '../index-
|
|
1
|
+
export { A as AABB, M as ADVANCED_PBR_PRESETS, a as AdvancedLight, L as AdvancedLightingLightType, b as AdvancedLightingManager, V as AdvancedLightingVec2, c as AdvancedLightingVec3, d as AdvancedPBRConfig, e as AdvancedPBRMaterial, f as AdvancedPBRVec3, g as AdvancedTexturingVec2, h as AdvancedTexturingVec3, i as AmbientConfig, j as AnimationFrameOptions, k as AnisotropyConfig, l as AreaLightConfig, m as AreaLightShape, n as AtlasPacker, o as AtlasRect, p as AttachmentFormat, B as BVH, q as BVHNode, r as BatchStats, s as BlendMode, t as BloomConfig, u as BloomEffect, C as CausticConfig, v as ChromaticAberrationConfig, w as ClearOp, x as ClearcoatConfig, y as CloudConfig, z as CloudRenderer, D as CloudSample, E as ColorGrading, F as ColorGradingConfig, G as CompiledShader, H as CullMode, I as DOFConfig, J as DecalBatcher, K as DecalDef, N as DecalInstance, O as DecalSystem, P as DetailMapConfig, Q as DisplacementConfig, R as DrawBatch, S as FogConfig, T as FogMode, U as FogSystem, W as FramebufferAttachment, X as GIConfig, Y as GIMode, Z as GIProbe, _ as GIProbeGrid, $ as GlobalIlluminationVec3, a0 as GraphStats, a1 as HitRecord, a2 as IBlendComponent, a3 as IBlendState, a4 as IBoundingBox, a5 as IBufferDescriptor, a6 as ICameraUniforms, a7 as IColorTargetState, a8 as IDepthStencilState, a9 as IDeviceCapabilities, aa as IDrawCall, ab as IESProfile, ac as IFrameStats, ad as IGPUTexture, ae as IIndexBuffer, af as IRenderMaterial, ag as IRenderMesh, ah as IRenderPassColorAttachment, ai as IRenderPassDepthStencilAttachment, aj as IRenderPassDescriptor, ak as IRenderPipelineDescriptor, al as IRendererStats, am as ISamplerDescriptor, an as ISceneUniforms, ao as IShaderModule, ap as ITextureDescriptor, aq as IUniformBuffer, ar as IVertexAttribute, as as IVertexBuffer, at as IVertexBufferLayout, au as IWebGPUContext, av as IWebGPUInitOptions, aw as IridescenceConfig, ax as Light, ay as LightCookie, az as LightType, aA as LightingModel, aB as MaterialDef, aC as MaterialInstance, aD as MaterialLibrary, aE as MaterialSystem, aF as MaterialSystemBlendMode, aG as MaterialSystemCullMode, aH as MaterialSystemMaterial, aI as MotionBlurConfig, aJ as NLMConfig, aK as PDFOptions, aL as POMConfig, aM as PP_PRESETS, aN as PassContext, aO as PathTracerScene, aP as PhysicsDebugDrawer, aQ as PixelBuffer, aR as PostProcess, aS as PostProcessEffect, aT as PostProcessProfile, aU as PostProcessStack, aV as PostProcessingStack, aW as PrerenderOptions, aX as ProbeInfo, aY as ProjectorConfig, aZ as ProjectorLight, a_ as PuppeteerRenderer, a$ as PuppeteerRendererOptions, b0 as RENDERING_MATERIAL_PRESETS, b1 as RGB, b2 as RTApi, b3 as RTFeature, b4 as Ray, b5 as RayTracer, b6 as RayTracingConfig, b7 as RayTracingVec3, b8 as RenderGraph, b9 as RenderPass, ba as RenderPassConfig, bb as RenderPassDescriptor, bc as RenderResult, bd as RenderTarget, bf as RenderingMaterialType, bg as SH9, bh as SHADER_NODES, bi as SSAOConfig, bj as SSGIConfig, bk as SSRConfig, bl as SSSConfig, bm as SSSLayer, bn as SSSMaterial, bo as SSSModel, bp as SSSRGB, bq as SSS_PRESETS, br as STANDARD_FRAGMENT_SHADER, bs as STANDARD_VERTEX_SHADER, bt as ScreenshotOptions, bu as ShaderConnection, bv as ShaderDataType, bw as ShaderGraph, bx as ShaderNode, by as ShaderNodeDef, bz as ShaderPort, bA as ShaderPortRef, bB as ShaderUniform, bC as SheenConfig, bD as TAAConfig, bE as Texture2D, bF as TextureFormat, bG as TextureSlot, bH as ToneMapper, bI as TonemapOperator, bJ as Triangle, bK as UNLIT_FRAGMENT_SHADER, bL as UNLIT_VERTEX_SHADER, bM as UniformDef, bN as UniformType, bO as VolumetricLight, bP as VolumetricLightConfig, bQ as VolumetricSample, bR as WebGPURenderer, bS as aabbCentroid, bT as aabbSurfaceArea, bU as addSHSample, bV as anisotropicRoughness, bW as applyChromaticAberration, bX as applyDOF, bY as applyDetailAlbedo, bZ as applyFilmGrain, b_ as applyMotionBlur, b$ as applyVignette, c0 as blendDetailNormal, c1 as blendTAA, c2 as buildCircleCookie, c3 as buildSeparableSSSKernel, c4 as burleyProfile, c5 as burleyProfileRGB, c6 as christensenProfile, c7 as computeAABB, c8 as computeCoC, c9 as computeDiffuseAlbedo, ca as computeDisplacedPosition, cb as computeDisplacementNormalsFromHeightMap, cc as computeF0, cd as computePOM, ce as computeSSAO, cf as computeSSGI, cg as computeSSR, ch as computeTriangleNormal, ci as createAtlasPacker, cj as createDefaultMaterialDef, ck as createSH9, cl as createSolidTexture, cm as diskSolidAngle, cn as distributionGGX, co as distributionGGXAnisotropic, cp as evalSH9Irradiance, cq as evalSeparableKernel, cr as evaluateClearcoat, cs as evaluateIridescence, ct as evaluateSheen, cu as fresnelRoughness, cv as fresnelSchlick, cw as geometrySmith, cx as getAtlasEfficiency, cy as getRectUV, cz as haltonJitter, cA as hexToRGBA, cB as intersectRayAABB, cC as intersectRayTriangle, cD as lerpSH9, cE as nlmDenoise, cF as packRect, cG as parseIESProfile, cH as pathTrace, cI as prerenderHTML, cJ as rectSolidAngle, cK as renderPDF, cL as renderScreenshot, cM as rgbaToHex, cN as sampleCookie, cO as sampleIES, cP as sampleTexture, cQ as sampleTextureBilinear, cR as sampleTriplanar, cS as scaleSH9, cT as sheenDistribution, cU as sheenVisibility, cV as thinSlabTransmission, cW as triplanarWeights } from '../index-ByIq2XrS.cjs';
|
|
2
2
|
import '../SpatialEngine-CXmE-U_d.cjs';
|
|
3
3
|
import '../PhysicsTypes-Dw6_oXuD.cjs';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AABB, M as ADVANCED_PBR_PRESETS, a as AdvancedLight, L as AdvancedLightingLightType, b as AdvancedLightingManager, V as AdvancedLightingVec2, c as AdvancedLightingVec3, d as AdvancedPBRConfig, e as AdvancedPBRMaterial, f as AdvancedPBRVec3, g as AdvancedTexturingVec2, h as AdvancedTexturingVec3, i as AmbientConfig, j as AnimationFrameOptions, k as AnisotropyConfig, l as AreaLightConfig, m as AreaLightShape, n as AtlasPacker, o as AtlasRect, p as AttachmentFormat, B as BVH, q as BVHNode, r as BatchStats, s as BlendMode, t as BloomConfig, u as BloomEffect, C as CausticConfig, v as ChromaticAberrationConfig, w as ClearOp, x as ClearcoatConfig, y as CloudConfig, z as CloudRenderer, D as CloudSample, E as ColorGrading, F as ColorGradingConfig, G as CompiledShader, H as CullMode, I as DOFConfig, J as DecalBatcher, K as DecalDef, N as DecalInstance, O as DecalSystem, P as DetailMapConfig, Q as DisplacementConfig, R as DrawBatch, S as FogConfig, T as FogMode, U as FogSystem, W as FramebufferAttachment, X as GIConfig, Y as GIMode, Z as GIProbe, _ as GIProbeGrid, $ as GlobalIlluminationVec3, a0 as GraphStats, a1 as HitRecord, a2 as IBlendComponent, a3 as IBlendState, a4 as IBoundingBox, a5 as IBufferDescriptor, a6 as ICameraUniforms, a7 as IColorTargetState, a8 as IDepthStencilState, a9 as IDeviceCapabilities, aa as IDrawCall, ab as IESProfile, ac as IFrameStats, ad as IGPUTexture, ae as IIndexBuffer, af as IRenderMaterial, ag as IRenderMesh, ah as IRenderPassColorAttachment, ai as IRenderPassDepthStencilAttachment, aj as IRenderPassDescriptor, ak as IRenderPipelineDescriptor, al as IRendererStats, am as ISamplerDescriptor, an as ISceneUniforms, ao as IShaderModule, ap as ITextureDescriptor, aq as IUniformBuffer, ar as IVertexAttribute, as as IVertexBuffer, at as IVertexBufferLayout, au as IWebGPUContext, av as IWebGPUInitOptions, aw as IridescenceConfig, ax as Light, ay as LightCookie, az as LightType, aA as LightingModel, aB as MaterialDef, aC as MaterialInstance, aD as MaterialLibrary, aE as MaterialSystem, aF as MaterialSystemBlendMode, aG as MaterialSystemCullMode, aH as MaterialSystemMaterial, aI as MotionBlurConfig, aJ as NLMConfig, aK as PDFOptions, aL as POMConfig, aM as PP_PRESETS, aN as PassContext, aO as PathTracerScene, aP as PhysicsDebugDrawer, aQ as PixelBuffer, aR as PostProcess, aS as PostProcessEffect, aT as PostProcessProfile, aU as PostProcessStack, aV as PostProcessingStack, aW as PrerenderOptions, aX as ProbeInfo, aY as ProjectorConfig, aZ as ProjectorLight, a_ as PuppeteerRenderer, a$ as PuppeteerRendererOptions, b0 as RENDERING_MATERIAL_PRESETS, b1 as RGB, b2 as RTApi, b3 as RTFeature, b4 as Ray, b5 as RayTracer, b6 as RayTracingConfig, b7 as RayTracingVec3, b8 as RenderGraph, b9 as RenderPass, ba as RenderPassConfig, bb as RenderPassDescriptor, bc as RenderResult, bd as RenderTarget, bf as RenderingMaterialType, bg as SH9, bh as SHADER_NODES, bi as SSAOConfig, bj as SSGIConfig, bk as SSRConfig, bl as SSSConfig, bm as SSSLayer, bn as SSSMaterial, bo as SSSModel, bp as SSSRGB, bq as SSS_PRESETS, br as STANDARD_FRAGMENT_SHADER, bs as STANDARD_VERTEX_SHADER, bt as ScreenshotOptions, bu as ShaderConnection, bv as ShaderDataType, bw as ShaderGraph, bx as ShaderNode, by as ShaderNodeDef, bz as ShaderPort, bA as ShaderPortRef, bB as ShaderUniform, bC as SheenConfig, bD as TAAConfig, bE as Texture2D, bF as TextureFormat, bG as TextureSlot, bH as ToneMapper, bI as TonemapOperator, bJ as Triangle, bK as UNLIT_FRAGMENT_SHADER, bL as UNLIT_VERTEX_SHADER, bM as UniformDef, bN as UniformType, bO as VolumetricLight, bP as VolumetricLightConfig, bQ as VolumetricSample, bR as WebGPURenderer, bS as aabbCentroid, bT as aabbSurfaceArea, bU as addSHSample, bV as anisotropicRoughness, bW as applyChromaticAberration, bX as applyDOF, bY as applyDetailAlbedo, bZ as applyFilmGrain, b_ as applyMotionBlur, b$ as applyVignette, c0 as blendDetailNormal, c1 as blendTAA, c2 as buildCircleCookie, c3 as buildSeparableSSSKernel, c4 as burleyProfile, c5 as burleyProfileRGB, c6 as christensenProfile, c7 as computeAABB, c8 as computeCoC, c9 as computeDiffuseAlbedo, ca as computeDisplacedPosition, cb as computeDisplacementNormalsFromHeightMap, cc as computeF0, cd as computePOM, ce as computeSSAO, cf as computeSSGI, cg as computeSSR, ch as computeTriangleNormal, ci as createAtlasPacker, cj as createDefaultMaterialDef, ck as createSH9, cl as createSolidTexture, cm as diskSolidAngle, cn as distributionGGX, co as distributionGGXAnisotropic, cp as evalSH9Irradiance, cq as evalSeparableKernel, cr as evaluateClearcoat, cs as evaluateIridescence, ct as evaluateSheen, cu as fresnelRoughness, cv as fresnelSchlick, cw as geometrySmith, cx as getAtlasEfficiency, cy as getRectUV, cz as haltonJitter, cA as hexToRGBA, cB as intersectRayAABB, cC as intersectRayTriangle, cD as lerpSH9, cE as nlmDenoise, cF as packRect, cG as parseIESProfile, cH as pathTrace, cI as prerenderHTML, cJ as rectSolidAngle, cK as renderPDF, cL as renderScreenshot, cM as rgbaToHex, cN as sampleCookie, cO as sampleIES, cP as sampleTexture, cQ as sampleTextureBilinear, cR as sampleTriplanar, cS as scaleSH9, cT as sheenDistribution, cU as sheenVisibility, cV as thinSlabTransmission, cW as triplanarWeights } from '../index-
|
|
1
|
+
export { A as AABB, M as ADVANCED_PBR_PRESETS, a as AdvancedLight, L as AdvancedLightingLightType, b as AdvancedLightingManager, V as AdvancedLightingVec2, c as AdvancedLightingVec3, d as AdvancedPBRConfig, e as AdvancedPBRMaterial, f as AdvancedPBRVec3, g as AdvancedTexturingVec2, h as AdvancedTexturingVec3, i as AmbientConfig, j as AnimationFrameOptions, k as AnisotropyConfig, l as AreaLightConfig, m as AreaLightShape, n as AtlasPacker, o as AtlasRect, p as AttachmentFormat, B as BVH, q as BVHNode, r as BatchStats, s as BlendMode, t as BloomConfig, u as BloomEffect, C as CausticConfig, v as ChromaticAberrationConfig, w as ClearOp, x as ClearcoatConfig, y as CloudConfig, z as CloudRenderer, D as CloudSample, E as ColorGrading, F as ColorGradingConfig, G as CompiledShader, H as CullMode, I as DOFConfig, J as DecalBatcher, K as DecalDef, N as DecalInstance, O as DecalSystem, P as DetailMapConfig, Q as DisplacementConfig, R as DrawBatch, S as FogConfig, T as FogMode, U as FogSystem, W as FramebufferAttachment, X as GIConfig, Y as GIMode, Z as GIProbe, _ as GIProbeGrid, $ as GlobalIlluminationVec3, a0 as GraphStats, a1 as HitRecord, a2 as IBlendComponent, a3 as IBlendState, a4 as IBoundingBox, a5 as IBufferDescriptor, a6 as ICameraUniforms, a7 as IColorTargetState, a8 as IDepthStencilState, a9 as IDeviceCapabilities, aa as IDrawCall, ab as IESProfile, ac as IFrameStats, ad as IGPUTexture, ae as IIndexBuffer, af as IRenderMaterial, ag as IRenderMesh, ah as IRenderPassColorAttachment, ai as IRenderPassDepthStencilAttachment, aj as IRenderPassDescriptor, ak as IRenderPipelineDescriptor, al as IRendererStats, am as ISamplerDescriptor, an as ISceneUniforms, ao as IShaderModule, ap as ITextureDescriptor, aq as IUniformBuffer, ar as IVertexAttribute, as as IVertexBuffer, at as IVertexBufferLayout, au as IWebGPUContext, av as IWebGPUInitOptions, aw as IridescenceConfig, ax as Light, ay as LightCookie, az as LightType, aA as LightingModel, aB as MaterialDef, aC as MaterialInstance, aD as MaterialLibrary, aE as MaterialSystem, aF as MaterialSystemBlendMode, aG as MaterialSystemCullMode, aH as MaterialSystemMaterial, aI as MotionBlurConfig, aJ as NLMConfig, aK as PDFOptions, aL as POMConfig, aM as PP_PRESETS, aN as PassContext, aO as PathTracerScene, aP as PhysicsDebugDrawer, aQ as PixelBuffer, aR as PostProcess, aS as PostProcessEffect, aT as PostProcessProfile, aU as PostProcessStack, aV as PostProcessingStack, aW as PrerenderOptions, aX as ProbeInfo, aY as ProjectorConfig, aZ as ProjectorLight, a_ as PuppeteerRenderer, a$ as PuppeteerRendererOptions, b0 as RENDERING_MATERIAL_PRESETS, b1 as RGB, b2 as RTApi, b3 as RTFeature, b4 as Ray, b5 as RayTracer, b6 as RayTracingConfig, b7 as RayTracingVec3, b8 as RenderGraph, b9 as RenderPass, ba as RenderPassConfig, bb as RenderPassDescriptor, bc as RenderResult, bd as RenderTarget, bf as RenderingMaterialType, bg as SH9, bh as SHADER_NODES, bi as SSAOConfig, bj as SSGIConfig, bk as SSRConfig, bl as SSSConfig, bm as SSSLayer, bn as SSSMaterial, bo as SSSModel, bp as SSSRGB, bq as SSS_PRESETS, br as STANDARD_FRAGMENT_SHADER, bs as STANDARD_VERTEX_SHADER, bt as ScreenshotOptions, bu as ShaderConnection, bv as ShaderDataType, bw as ShaderGraph, bx as ShaderNode, by as ShaderNodeDef, bz as ShaderPort, bA as ShaderPortRef, bB as ShaderUniform, bC as SheenConfig, bD as TAAConfig, bE as Texture2D, bF as TextureFormat, bG as TextureSlot, bH as ToneMapper, bI as TonemapOperator, bJ as Triangle, bK as UNLIT_FRAGMENT_SHADER, bL as UNLIT_VERTEX_SHADER, bM as UniformDef, bN as UniformType, bO as VolumetricLight, bP as VolumetricLightConfig, bQ as VolumetricSample, bR as WebGPURenderer, bS as aabbCentroid, bT as aabbSurfaceArea, bU as addSHSample, bV as anisotropicRoughness, bW as applyChromaticAberration, bX as applyDOF, bY as applyDetailAlbedo, bZ as applyFilmGrain, b_ as applyMotionBlur, b$ as applyVignette, c0 as blendDetailNormal, c1 as blendTAA, c2 as buildCircleCookie, c3 as buildSeparableSSSKernel, c4 as burleyProfile, c5 as burleyProfileRGB, c6 as christensenProfile, c7 as computeAABB, c8 as computeCoC, c9 as computeDiffuseAlbedo, ca as computeDisplacedPosition, cb as computeDisplacementNormalsFromHeightMap, cc as computeF0, cd as computePOM, ce as computeSSAO, cf as computeSSGI, cg as computeSSR, ch as computeTriangleNormal, ci as createAtlasPacker, cj as createDefaultMaterialDef, ck as createSH9, cl as createSolidTexture, cm as diskSolidAngle, cn as distributionGGX, co as distributionGGXAnisotropic, cp as evalSH9Irradiance, cq as evalSeparableKernel, cr as evaluateClearcoat, cs as evaluateIridescence, ct as evaluateSheen, cu as fresnelRoughness, cv as fresnelSchlick, cw as geometrySmith, cx as getAtlasEfficiency, cy as getRectUV, cz as haltonJitter, cA as hexToRGBA, cB as intersectRayAABB, cC as intersectRayTriangle, cD as lerpSH9, cE as nlmDenoise, cF as packRect, cG as parseIESProfile, cH as pathTrace, cI as prerenderHTML, cJ as rectSolidAngle, cK as renderPDF, cL as renderScreenshot, cM as rgbaToHex, cN as sampleCookie, cO as sampleIES, cP as sampleTexture, cQ as sampleTextureBilinear, cR as sampleTriplanar, cS as scaleSH9, cT as sheenDistribution, cU as sheenVisibility, cV as thinSlabTransmission, cW as triplanarWeights } from '../index-DRT2zJez.js';
|
|
2
2
|
import '../SpatialEngine-CXmE-U_d.js';
|
|
3
3
|
import '../PhysicsTypes-Dw6_oXuD.js';
|
package/dist/rendering/index.js
CHANGED
|
@@ -2,7 +2,6 @@ import {
|
|
|
2
2
|
AdvancedLightingManager,
|
|
3
3
|
AdvancedPBRMaterial,
|
|
4
4
|
BVH,
|
|
5
|
-
BloomEffect,
|
|
6
5
|
CloudRenderer,
|
|
7
6
|
ColorGrading,
|
|
8
7
|
DecalBatcher,
|
|
@@ -14,10 +13,7 @@ import {
|
|
|
14
13
|
MATERIAL_PRESETS2,
|
|
15
14
|
MaterialLibrary,
|
|
16
15
|
MaterialSystem,
|
|
17
|
-
PP_PRESETS,
|
|
18
16
|
PhysicsDebugDrawer,
|
|
19
|
-
PostProcessStack,
|
|
20
|
-
PostProcessingStack,
|
|
21
17
|
ProjectorLight,
|
|
22
18
|
PuppeteerRenderer,
|
|
23
19
|
RayTracer,
|
|
@@ -87,7 +83,6 @@ import {
|
|
|
87
83
|
packRect,
|
|
88
84
|
parseIESProfile,
|
|
89
85
|
pathTrace,
|
|
90
|
-
postprocess_exports,
|
|
91
86
|
prerenderHTML,
|
|
92
87
|
rectSolidAngle,
|
|
93
88
|
renderPDF,
|
|
@@ -103,7 +98,14 @@ import {
|
|
|
103
98
|
sheenVisibility,
|
|
104
99
|
thinSlabTransmission,
|
|
105
100
|
triplanarWeights
|
|
106
|
-
} from "../chunk-
|
|
101
|
+
} from "../chunk-TKCA3WZ5.js";
|
|
102
|
+
import {
|
|
103
|
+
BloomEffect,
|
|
104
|
+
PP_PRESETS,
|
|
105
|
+
PostProcessStack,
|
|
106
|
+
PostProcessingStack,
|
|
107
|
+
postprocess_exports
|
|
108
|
+
} from "../chunk-EJSLOOW2.js";
|
|
107
109
|
import "../chunk-AKLW2MUS.js";
|
|
108
110
|
export {
|
|
109
111
|
MATERIAL_PRESETS as ADVANCED_PBR_PRESETS,
|
package/dist/runtime/index.cjs
CHANGED
|
@@ -440,7 +440,7 @@ var ThreeJSRenderer = class _ThreeJSRenderer extends BaseRuntimeRenderer {
|
|
|
440
440
|
/**
|
|
441
441
|
* Update scene
|
|
442
442
|
*/
|
|
443
|
-
update(
|
|
443
|
+
update(_deltaTime) {
|
|
444
444
|
const now = performance.now();
|
|
445
445
|
this.stats.frameTime = now - this.stats.lastFrameTime;
|
|
446
446
|
this.stats.lastFrameTime = now;
|
|
@@ -1052,7 +1052,7 @@ var ThreeJSRenderer = class _ThreeJSRenderer extends BaseRuntimeRenderer {
|
|
|
1052
1052
|
*/
|
|
1053
1053
|
optimizeGeometries() {
|
|
1054
1054
|
if (typeof _ThreeJSRenderer.getThreeLib() === "undefined") return;
|
|
1055
|
-
const
|
|
1055
|
+
const _THREE = _ThreeJSRenderer.getThreeLib();
|
|
1056
1056
|
let optimizedCount = 0;
|
|
1057
1057
|
for (const mesh of this.meshes.values()) {
|
|
1058
1058
|
const geometry = mesh.geometry;
|
|
@@ -1060,7 +1060,7 @@ var ThreeJSRenderer = class _ThreeJSRenderer extends BaseRuntimeRenderer {
|
|
|
1060
1060
|
try {
|
|
1061
1061
|
geometry.computeVertexNormals();
|
|
1062
1062
|
optimizedCount++;
|
|
1063
|
-
} catch (
|
|
1063
|
+
} catch (_error) {
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
@@ -1074,9 +1074,9 @@ var ThreeJSRenderer = class _ThreeJSRenderer extends BaseRuntimeRenderer {
|
|
|
1074
1074
|
*/
|
|
1075
1075
|
updateLOD() {
|
|
1076
1076
|
if (!this.activeCamera || typeof _ThreeJSRenderer.getThreeLib() === "undefined") return;
|
|
1077
|
-
const
|
|
1077
|
+
const _THREE = _ThreeJSRenderer.getThreeLib();
|
|
1078
1078
|
const cameraPos = this.activeCamera.position;
|
|
1079
|
-
for (const [
|
|
1079
|
+
for (const [_id, mesh] of this.meshes.entries()) {
|
|
1080
1080
|
const distance = cameraPos.distanceTo(mesh.position);
|
|
1081
1081
|
if (distance > 500) {
|
|
1082
1082
|
mesh.visible = false;
|
|
@@ -1097,7 +1097,7 @@ var ThreeJSRenderer = class _ThreeJSRenderer extends BaseRuntimeRenderer {
|
|
|
1097
1097
|
performanceOptimizationFrame = 0;
|
|
1098
1098
|
enableAutoOptimization(enable) {
|
|
1099
1099
|
if (enable) {
|
|
1100
|
-
const
|
|
1100
|
+
const _optimizationInterval = setInterval(() => {
|
|
1101
1101
|
this.performanceOptimizationFrame++;
|
|
1102
1102
|
if (this.performanceOptimizationFrame % 60 === 0) {
|
|
1103
1103
|
this.updateLOD();
|
|
@@ -1691,7 +1691,7 @@ var PostProcessingManager = class {
|
|
|
1691
1691
|
/**
|
|
1692
1692
|
* Add TAA (Temporal Anti-Aliasing)
|
|
1693
1693
|
*/
|
|
1694
|
-
addTAA(scene, camera,
|
|
1694
|
+
addTAA(scene, camera, _width, _height) {
|
|
1695
1695
|
const taaPass = new import_TAARenderPass.TAARenderPass(scene, camera);
|
|
1696
1696
|
taaPass.sampleLevel = this.config.taa.sampleLevel || 2;
|
|
1697
1697
|
this.composer.addPass(taaPass);
|
|
@@ -2265,7 +2265,7 @@ var ShaderOptimizationManager = class {
|
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Update shader uniforms (call each frame)
|
|
2267
2267
|
*/
|
|
2268
|
-
update(
|
|
2268
|
+
update(_deltaTime) {
|
|
2269
2269
|
const time = performance.now() / 1e3;
|
|
2270
2270
|
for (const material of this.materials.values()) {
|
|
2271
2271
|
if (material.uniforms.time) {
|
|
@@ -3112,6 +3112,9 @@ var ObjectPool = class {
|
|
|
3112
3112
|
this._capacity = _capacity;
|
|
3113
3113
|
this.preallocate(this._capacity);
|
|
3114
3114
|
}
|
|
3115
|
+
factory;
|
|
3116
|
+
reset;
|
|
3117
|
+
_capacity;
|
|
3115
3118
|
available = [];
|
|
3116
3119
|
inUse = /* @__PURE__ */ new Set();
|
|
3117
3120
|
peakUsage = 0;
|
|
@@ -3189,6 +3192,7 @@ var Lazy = class {
|
|
|
3189
3192
|
constructor(compute) {
|
|
3190
3193
|
this.compute = compute;
|
|
3191
3194
|
}
|
|
3195
|
+
compute;
|
|
3192
3196
|
value;
|
|
3193
3197
|
computed = false;
|
|
3194
3198
|
/**
|
|
@@ -3273,6 +3277,7 @@ var LRUCache = class {
|
|
|
3273
3277
|
constructor(maxSize = 100) {
|
|
3274
3278
|
this.maxSize = maxSize;
|
|
3275
3279
|
}
|
|
3280
|
+
maxSize;
|
|
3276
3281
|
cache = /* @__PURE__ */ new Map();
|
|
3277
3282
|
accessOrder = [];
|
|
3278
3283
|
/**
|
|
@@ -3329,6 +3334,9 @@ var Batcher = class {
|
|
|
3329
3334
|
this.batchSize = batchSize;
|
|
3330
3335
|
this.flushIntervalMs = flushIntervalMs;
|
|
3331
3336
|
}
|
|
3337
|
+
processor;
|
|
3338
|
+
batchSize;
|
|
3339
|
+
flushIntervalMs;
|
|
3332
3340
|
queue = [];
|
|
3333
3341
|
processingTimeout = null;
|
|
3334
3342
|
/**
|
|
@@ -3540,13 +3548,13 @@ var BaseVoiceSynthesizer = class {
|
|
|
3540
3548
|
{ id: "en-US-GuyNeural", name: "Guy", gender: "male", language: "en-US", provider: "azure" }
|
|
3541
3549
|
];
|
|
3542
3550
|
}
|
|
3543
|
-
async callElevenLabs(
|
|
3551
|
+
async callElevenLabs(_request) {
|
|
3544
3552
|
return new ArrayBuffer(1024);
|
|
3545
3553
|
}
|
|
3546
|
-
async callAzure(
|
|
3554
|
+
async callAzure(_request) {
|
|
3547
3555
|
return new ArrayBuffer(1024);
|
|
3548
3556
|
}
|
|
3549
|
-
async generateLocal(
|
|
3557
|
+
async generateLocal(_request) {
|
|
3550
3558
|
return new ArrayBuffer(1024);
|
|
3551
3559
|
}
|
|
3552
3560
|
};
|
|
@@ -3774,7 +3782,9 @@ var StateMachineInterpreter = class {
|
|
|
3774
3782
|
try {
|
|
3775
3783
|
this.hookExecutor(code, context);
|
|
3776
3784
|
} catch (error) {
|
|
3777
|
-
import_core2.logger.error(
|
|
3785
|
+
import_core2.logger.error(
|
|
3786
|
+
`[StateMachine] Hook execution failed for ${id}: ${error instanceof Error ? error.message : String(error)}`
|
|
3787
|
+
);
|
|
3778
3788
|
}
|
|
3779
3789
|
} else {
|
|
3780
3790
|
import_core2.logger.warn(`[StateMachine] No hook executor registered - hook code not executed`);
|
|
@@ -5139,7 +5149,7 @@ var HeadlessRuntime = class {
|
|
|
5139
5149
|
return {
|
|
5140
5150
|
vr: {
|
|
5141
5151
|
hands: { left: null, right: null },
|
|
5142
|
-
headset: { position: { x: 0, y:
|
|
5152
|
+
headset: { position: { x: 0, y: 1.6, z: 0 }, rotation: { x: 0, y: 0, z: 0 } },
|
|
5143
5153
|
getPointerRay: () => null,
|
|
5144
5154
|
getDominantHand: () => null
|
|
5145
5155
|
},
|
package/dist/runtime/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AccessibilityProvider, a as ActionHandler, b as AssetLoader, c as AssetPipeline, d as AudioConfig, e as AudioProvider, B as BaseRuntimeRenderer, f as BaseVoiceSynthesizer, g as BatchedMeshShader, h as Batcher, j as BodyProps, k as BodyState, C as CultureEvent, l as CultureRuntime, m as CultureRuntimeConfig, E as EmotionConfig, n as EmotionDetector, o as EmotionInference, p as EmotionSignals, q as EnginePhase, r as EngineStats, G as GameEngine, s as GameEngineOptions, t as GameLoop, u as GameLoopOptions, H as HEADLESS_PROFILE, v as HapticsProvider, w as HeadlessNodeInstance, x as HeadlessRuntime, y as HeadlessRuntimeOptions, z as HeadlessRuntimeStats, D as HookExecutor, F as HotReloadManager, I as HotReloadManagerOptions, J as InputConfig, K as InspectorConfig, L as InstanceBatchConfig, M as InstanceBatchStats, N as InstancedMeshManager, O as InstancedObjectData, P as LRUCache, Q as Lazy, R as LocalEmotionDetector, S as MINIMAL_PROFILE, T as MQTTClient, U as MQTTClientConfig, V as MQTTClientEvents, W as MQTTClientState, X as MQTTMessage, Y as MQTTPublishOptions, Z as MQTTSubscription, _ as MQTTVersion, $ as MemoizedProperty, a0 as MethodMemoize, a1 as MockSpeechRecognizer, a2 as NavDestination, a3 as NavigationConfig, a4 as NavigationEngine, a5 as NetworkConfig, a6 as NetworkProvider, a7 as ObjectInfo, a8 as ObjectPool, a9 as OptimizedDebrisShader, aa as OptimizedFluidShader, ab as OptimizedParticleShader, ac as ParticleSystem, ad as PerformanceProfiler, ae as PhysicsEngine, af as PhysicsProvider, ag as PostProcessingConfig, ah as PostProcessingEffect, ai as PostProcessingManager, aj as PostProcessingQuality, ak as PostProcessingStats, al as ProtocolConfig, am as QoS, an as ReloadWatcher, ao as RenderableCamera, ap as RenderableLight, aq as RenderableObject, ar as RendererConfig, as as RendererProvider, at as RendererStatistics, au as RenderingConfig, av as RuntimeCapabilities, aw as RuntimeExecutor, ax as RuntimeMetadata, ay as RuntimeModule, az as RuntimeProfile, aA as RuntimeProfileName, aB as RuntimeRegistry, aC as RuntimeRenderer, aD as STANDARD_PROFILE, aE as SceneInspector, aF as SceneStats, aG as ShaderOptimizationConfig, aH as ShaderOptimizationManager, aI as ShaderPerformanceStats, aJ as SpeechRecognizer, aK as SpeechRecognizerConfig, aL as StateMachineInstance, aM as StateMachineInterpreter, aN as TerrainDeformationShader, aO as ThreeJSRenderer, aP as TraitContextFactory, aQ as TraitContextFactoryConfig, aR as TranscriptionSegment, aS as UpdateHandler, aT as VRProvider, aU as VR_PROFILE, aV as VoiceConfig, aW as VoiceInfo, aX as VoiceRequest, aY as VoiceSynthesizer, aZ as createCustomProfile, a_ as createHeadlessRuntime, a$ as createMQTTClient, b0 as createTraitContextFactory, b1 as emotionDetectorRegistry, b2 as getAvailableProfiles, b3 as getEmotionDetector, b4 as getGlobalProfiler, b5 as getMQTTClient, b6 as getNavigationEngine, b7 as getPhysicsEngine, b8 as getProfile, b9 as getSpeechRecognizer, ba as getVoiceSynthesizer, bb as memoize, bc as navigationEngineRegistry, bd as physicsEngineRegistry, be as registerEmotionDetector, bf as registerMQTTClient, bg as registerNavigationEngine, bh as registerPhysicsEngine, bi as registerProfile, bj as registerRuntime, bk as registerSpeechRecognizer, bl as registerVoiceSynthesizer, bm as speechRecognizerRegistry, bn as stateMachineInterpreter, bo as unregisterMQTTClient, bp as voiceSynthesizerRegistry } from '../index-
|
|
1
|
+
export { A as AccessibilityProvider, a as ActionHandler, b as AssetLoader, c as AssetPipeline, d as AudioConfig, e as AudioProvider, B as BaseRuntimeRenderer, f as BaseVoiceSynthesizer, g as BatchedMeshShader, h as Batcher, j as BodyProps, k as BodyState, C as CultureEvent, l as CultureRuntime, m as CultureRuntimeConfig, E as EmotionConfig, n as EmotionDetector, o as EmotionInference, p as EmotionSignals, q as EnginePhase, r as EngineStats, G as GameEngine, s as GameEngineOptions, t as GameLoop, u as GameLoopOptions, H as HEADLESS_PROFILE, v as HapticsProvider, w as HeadlessNodeInstance, x as HeadlessRuntime, y as HeadlessRuntimeOptions, z as HeadlessRuntimeStats, D as HookExecutor, F as HotReloadManager, I as HotReloadManagerOptions, J as InputConfig, K as InspectorConfig, L as InstanceBatchConfig, M as InstanceBatchStats, N as InstancedMeshManager, O as InstancedObjectData, P as LRUCache, Q as Lazy, R as LocalEmotionDetector, S as MINIMAL_PROFILE, T as MQTTClient, U as MQTTClientConfig, V as MQTTClientEvents, W as MQTTClientState, X as MQTTMessage, Y as MQTTPublishOptions, Z as MQTTSubscription, _ as MQTTVersion, $ as MemoizedProperty, a0 as MethodMemoize, a1 as MockSpeechRecognizer, a2 as NavDestination, a3 as NavigationConfig, a4 as NavigationEngine, a5 as NetworkConfig, a6 as NetworkProvider, a7 as ObjectInfo, a8 as ObjectPool, a9 as OptimizedDebrisShader, aa as OptimizedFluidShader, ab as OptimizedParticleShader, ac as ParticleSystem, ad as PerformanceProfiler, ae as PhysicsEngine, af as PhysicsProvider, ag as PostProcessingConfig, ah as PostProcessingEffect, ai as PostProcessingManager, aj as PostProcessingQuality, ak as PostProcessingStats, al as ProtocolConfig, am as QoS, an as ReloadWatcher, ao as RenderableCamera, ap as RenderableLight, aq as RenderableObject, ar as RendererConfig, as as RendererProvider, at as RendererStatistics, au as RenderingConfig, av as RuntimeCapabilities, aw as RuntimeExecutor, ax as RuntimeMetadata, ay as RuntimeModule, az as RuntimeProfile, aA as RuntimeProfileName, aB as RuntimeRegistry, aC as RuntimeRenderer, aD as STANDARD_PROFILE, aE as SceneInspector, aF as SceneStats, aG as ShaderOptimizationConfig, aH as ShaderOptimizationManager, aI as ShaderPerformanceStats, aJ as SpeechRecognizer, aK as SpeechRecognizerConfig, aL as StateMachineInstance, aM as StateMachineInterpreter, aN as TerrainDeformationShader, aO as ThreeJSRenderer, aP as TraitContextFactory, aQ as TraitContextFactoryConfig, aR as TranscriptionSegment, aS as UpdateHandler, aT as VRProvider, aU as VR_PROFILE, aV as VoiceConfig, aW as VoiceInfo, aX as VoiceRequest, aY as VoiceSynthesizer, aZ as createCustomProfile, a_ as createHeadlessRuntime, a$ as createMQTTClient, b0 as createTraitContextFactory, b1 as emotionDetectorRegistry, b2 as getAvailableProfiles, b3 as getEmotionDetector, b4 as getGlobalProfiler, b5 as getMQTTClient, b6 as getNavigationEngine, b7 as getPhysicsEngine, b8 as getProfile, b9 as getSpeechRecognizer, ba as getVoiceSynthesizer, bb as memoize, bc as navigationEngineRegistry, bd as physicsEngineRegistry, be as registerEmotionDetector, bf as registerMQTTClient, bg as registerNavigationEngine, bh as registerPhysicsEngine, bi as registerProfile, bj as registerRuntime, bk as registerSpeechRecognizer, bl as registerVoiceSynthesizer, bm as speechRecognizerRegistry, bn as stateMachineInterpreter, bo as unregisterMQTTClient, bp as voiceSynthesizerRegistry } from '../index-CUl3QstQ.cjs';
|
|
2
2
|
import '@holoscript/core';
|
|
3
3
|
import 'three';
|
package/dist/runtime/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { A as AccessibilityProvider, a as ActionHandler, b as AssetLoader, c as AssetPipeline, d as AudioConfig, e as AudioProvider, B as BaseRuntimeRenderer, f as BaseVoiceSynthesizer, g as BatchedMeshShader, h as Batcher, j as BodyProps, k as BodyState, C as CultureEvent, l as CultureRuntime, m as CultureRuntimeConfig, E as EmotionConfig, n as EmotionDetector, o as EmotionInference, p as EmotionSignals, q as EnginePhase, r as EngineStats, G as GameEngine, s as GameEngineOptions, t as GameLoop, u as GameLoopOptions, H as HEADLESS_PROFILE, v as HapticsProvider, w as HeadlessNodeInstance, x as HeadlessRuntime, y as HeadlessRuntimeOptions, z as HeadlessRuntimeStats, D as HookExecutor, F as HotReloadManager, I as HotReloadManagerOptions, J as InputConfig, K as InspectorConfig, L as InstanceBatchConfig, M as InstanceBatchStats, N as InstancedMeshManager, O as InstancedObjectData, P as LRUCache, Q as Lazy, R as LocalEmotionDetector, S as MINIMAL_PROFILE, T as MQTTClient, U as MQTTClientConfig, V as MQTTClientEvents, W as MQTTClientState, X as MQTTMessage, Y as MQTTPublishOptions, Z as MQTTSubscription, _ as MQTTVersion, $ as MemoizedProperty, a0 as MethodMemoize, a1 as MockSpeechRecognizer, a2 as NavDestination, a3 as NavigationConfig, a4 as NavigationEngine, a5 as NetworkConfig, a6 as NetworkProvider, a7 as ObjectInfo, a8 as ObjectPool, a9 as OptimizedDebrisShader, aa as OptimizedFluidShader, ab as OptimizedParticleShader, ac as ParticleSystem, ad as PerformanceProfiler, ae as PhysicsEngine, af as PhysicsProvider, ag as PostProcessingConfig, ah as PostProcessingEffect, ai as PostProcessingManager, aj as PostProcessingQuality, ak as PostProcessingStats, al as ProtocolConfig, am as QoS, an as ReloadWatcher, ao as RenderableCamera, ap as RenderableLight, aq as RenderableObject, ar as RendererConfig, as as RendererProvider, at as RendererStatistics, au as RenderingConfig, av as RuntimeCapabilities, aw as RuntimeExecutor, ax as RuntimeMetadata, ay as RuntimeModule, az as RuntimeProfile, aA as RuntimeProfileName, aB as RuntimeRegistry, aC as RuntimeRenderer, aD as STANDARD_PROFILE, aE as SceneInspector, aF as SceneStats, aG as ShaderOptimizationConfig, aH as ShaderOptimizationManager, aI as ShaderPerformanceStats, aJ as SpeechRecognizer, aK as SpeechRecognizerConfig, aL as StateMachineInstance, aM as StateMachineInterpreter, aN as TerrainDeformationShader, aO as ThreeJSRenderer, aP as TraitContextFactory, aQ as TraitContextFactoryConfig, aR as TranscriptionSegment, aS as UpdateHandler, aT as VRProvider, aU as VR_PROFILE, aV as VoiceConfig, aW as VoiceInfo, aX as VoiceRequest, aY as VoiceSynthesizer, aZ as createCustomProfile, a_ as createHeadlessRuntime, a$ as createMQTTClient, b0 as createTraitContextFactory, b1 as emotionDetectorRegistry, b2 as getAvailableProfiles, b3 as getEmotionDetector, b4 as getGlobalProfiler, b5 as getMQTTClient, b6 as getNavigationEngine, b7 as getPhysicsEngine, b8 as getProfile, b9 as getSpeechRecognizer, ba as getVoiceSynthesizer, bb as memoize, bc as navigationEngineRegistry, bd as physicsEngineRegistry, be as registerEmotionDetector, bf as registerMQTTClient, bg as registerNavigationEngine, bh as registerPhysicsEngine, bi as registerProfile, bj as registerRuntime, bk as registerSpeechRecognizer, bl as registerVoiceSynthesizer, bm as speechRecognizerRegistry, bn as stateMachineInterpreter, bo as unregisterMQTTClient, bp as voiceSynthesizerRegistry } from '../index-
|
|
1
|
+
export { A as AccessibilityProvider, a as ActionHandler, b as AssetLoader, c as AssetPipeline, d as AudioConfig, e as AudioProvider, B as BaseRuntimeRenderer, f as BaseVoiceSynthesizer, g as BatchedMeshShader, h as Batcher, j as BodyProps, k as BodyState, C as CultureEvent, l as CultureRuntime, m as CultureRuntimeConfig, E as EmotionConfig, n as EmotionDetector, o as EmotionInference, p as EmotionSignals, q as EnginePhase, r as EngineStats, G as GameEngine, s as GameEngineOptions, t as GameLoop, u as GameLoopOptions, H as HEADLESS_PROFILE, v as HapticsProvider, w as HeadlessNodeInstance, x as HeadlessRuntime, y as HeadlessRuntimeOptions, z as HeadlessRuntimeStats, D as HookExecutor, F as HotReloadManager, I as HotReloadManagerOptions, J as InputConfig, K as InspectorConfig, L as InstanceBatchConfig, M as InstanceBatchStats, N as InstancedMeshManager, O as InstancedObjectData, P as LRUCache, Q as Lazy, R as LocalEmotionDetector, S as MINIMAL_PROFILE, T as MQTTClient, U as MQTTClientConfig, V as MQTTClientEvents, W as MQTTClientState, X as MQTTMessage, Y as MQTTPublishOptions, Z as MQTTSubscription, _ as MQTTVersion, $ as MemoizedProperty, a0 as MethodMemoize, a1 as MockSpeechRecognizer, a2 as NavDestination, a3 as NavigationConfig, a4 as NavigationEngine, a5 as NetworkConfig, a6 as NetworkProvider, a7 as ObjectInfo, a8 as ObjectPool, a9 as OptimizedDebrisShader, aa as OptimizedFluidShader, ab as OptimizedParticleShader, ac as ParticleSystem, ad as PerformanceProfiler, ae as PhysicsEngine, af as PhysicsProvider, ag as PostProcessingConfig, ah as PostProcessingEffect, ai as PostProcessingManager, aj as PostProcessingQuality, ak as PostProcessingStats, al as ProtocolConfig, am as QoS, an as ReloadWatcher, ao as RenderableCamera, ap as RenderableLight, aq as RenderableObject, ar as RendererConfig, as as RendererProvider, at as RendererStatistics, au as RenderingConfig, av as RuntimeCapabilities, aw as RuntimeExecutor, ax as RuntimeMetadata, ay as RuntimeModule, az as RuntimeProfile, aA as RuntimeProfileName, aB as RuntimeRegistry, aC as RuntimeRenderer, aD as STANDARD_PROFILE, aE as SceneInspector, aF as SceneStats, aG as ShaderOptimizationConfig, aH as ShaderOptimizationManager, aI as ShaderPerformanceStats, aJ as SpeechRecognizer, aK as SpeechRecognizerConfig, aL as StateMachineInstance, aM as StateMachineInterpreter, aN as TerrainDeformationShader, aO as ThreeJSRenderer, aP as TraitContextFactory, aQ as TraitContextFactoryConfig, aR as TranscriptionSegment, aS as UpdateHandler, aT as VRProvider, aU as VR_PROFILE, aV as VoiceConfig, aW as VoiceInfo, aX as VoiceRequest, aY as VoiceSynthesizer, aZ as createCustomProfile, a_ as createHeadlessRuntime, a$ as createMQTTClient, b0 as createTraitContextFactory, b1 as emotionDetectorRegistry, b2 as getAvailableProfiles, b3 as getEmotionDetector, b4 as getGlobalProfiler, b5 as getMQTTClient, b6 as getNavigationEngine, b7 as getPhysicsEngine, b8 as getProfile, b9 as getSpeechRecognizer, ba as getVoiceSynthesizer, bb as memoize, bc as navigationEngineRegistry, bd as physicsEngineRegistry, be as registerEmotionDetector, bf as registerMQTTClient, bg as registerNavigationEngine, bh as registerPhysicsEngine, bi as registerProfile, bj as registerRuntime, bk as registerSpeechRecognizer, bl as registerVoiceSynthesizer, bm as speechRecognizerRegistry, bn as stateMachineInterpreter, bo as unregisterMQTTClient, bp as voiceSynthesizerRegistry } from '../index-CUl3QstQ.js';
|
|
2
2
|
import '@holoscript/core';
|
|
3
3
|
import 'three';
|
package/dist/runtime/index.js
CHANGED
|
@@ -15,7 +15,6 @@ import {
|
|
|
15
15
|
Lazy,
|
|
16
16
|
LocalEmotionDetector,
|
|
17
17
|
MINIMAL_PROFILE,
|
|
18
|
-
MQTTClient,
|
|
19
18
|
MemoizedProperty,
|
|
20
19
|
MethodMemoize,
|
|
21
20
|
MockSpeechRecognizer,
|
|
@@ -36,13 +35,11 @@ import {
|
|
|
36
35
|
VR_PROFILE,
|
|
37
36
|
createCustomProfile,
|
|
38
37
|
createHeadlessRuntime,
|
|
39
|
-
createMQTTClient,
|
|
40
38
|
createTraitContextFactory,
|
|
41
39
|
emotionDetectorRegistry,
|
|
42
40
|
getAvailableProfiles,
|
|
43
41
|
getEmotionDetector,
|
|
44
42
|
getGlobalProfiler,
|
|
45
|
-
getMQTTClient,
|
|
46
43
|
getNavigationEngine,
|
|
47
44
|
getPhysicsEngine,
|
|
48
45
|
getProfile,
|
|
@@ -52,7 +49,6 @@ import {
|
|
|
52
49
|
navigationEngineRegistry,
|
|
53
50
|
physicsEngineRegistry,
|
|
54
51
|
registerEmotionDetector,
|
|
55
|
-
registerMQTTClient,
|
|
56
52
|
registerNavigationEngine,
|
|
57
53
|
registerPhysicsEngine,
|
|
58
54
|
registerProfile,
|
|
@@ -61,9 +57,15 @@ import {
|
|
|
61
57
|
registerVoiceSynthesizer,
|
|
62
58
|
speechRecognizerRegistry,
|
|
63
59
|
stateMachineInterpreter,
|
|
64
|
-
unregisterMQTTClient,
|
|
65
60
|
voiceSynthesizerRegistry
|
|
66
|
-
} from "../chunk-
|
|
61
|
+
} from "../chunk-CZYJE7IH.js";
|
|
62
|
+
import {
|
|
63
|
+
MQTTClient,
|
|
64
|
+
createMQTTClient,
|
|
65
|
+
getMQTTClient,
|
|
66
|
+
registerMQTTClient,
|
|
67
|
+
unregisterMQTTClient
|
|
68
|
+
} from "../chunk-5V6HOU72.js";
|
|
67
69
|
import "../chunk-AKLW2MUS.js";
|
|
68
70
|
export {
|
|
69
71
|
AssetPipeline,
|