@holoscript/core 8.0.0 → 8.0.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 +2 -2
- package/dist/{GLTFPipeline-M7WSSJED.cjs → GLTFPipeline-N6B6PJ6G.cjs} +10 -9
- package/dist/{GLTFPipeline-276GE64O.js → GLTFPipeline-P3WMNYCN.js} +6 -5
- package/dist/{HoloScriptRuntime-3URVTKPJ.js → HoloScriptRuntime-CBYJX3LZ.js} +3 -3
- package/dist/{HoloScriptRuntime-SXEAEU2N.cjs → HoloScriptRuntime-VJ374RER.cjs} +4 -4
- package/dist/{chunk-JJBE3TIH.cjs → chunk-2IWC4FP7.cjs} +6 -6
- package/dist/{chunk-S4W6Z2MN.js → chunk-2X7NGX3M.js} +3 -3
- package/dist/chunk-4GU5GCIY.js +1384 -0
- package/dist/{chunk-T2QCTZMO.js → chunk-4SDKXQ4C.js} +3 -3
- package/dist/{chunk-253GBQZY.cjs → chunk-5H2G27PK.cjs} +35 -35
- package/dist/{chunk-C2A5DUMF.cjs → chunk-5NWINHR5.cjs} +35 -35
- package/dist/chunk-6Q7RC2MK.cjs +1418 -0
- package/dist/{chunk-D54CNIAJ.cjs → chunk-7H33U5SM.cjs} +2 -2
- package/dist/{chunk-CXFDRBQU.cjs → chunk-7M3PNU2M.cjs} +7 -7
- package/dist/{chunk-B4TFTDG4.js → chunk-7T25IEZ2.js} +3 -3
- package/dist/{chunk-7CUEMLDZ.cjs → chunk-7V4JI5TB.cjs} +540 -38
- package/dist/{chunk-WJIHFLMJ.js → chunk-ADADVMXY.js} +2 -2
- package/dist/{chunk-GQT4TYKY.cjs → chunk-ALC6K7GL.cjs} +40 -19
- package/dist/{chunk-3HYYMEXI.cjs → chunk-AOVGZ25K.cjs} +17 -12
- package/dist/{chunk-NHWSN2SD.cjs → chunk-AVJHHUC5.cjs} +17 -17
- package/dist/{chunk-UM6C3CGK.js → chunk-BGY3SDG3.js} +24 -3
- package/dist/{chunk-JCLBKPMX.js → chunk-BOVPWH4H.js} +48 -4
- package/dist/{chunk-ZZEI7MV4.js → chunk-CCATWPXM.js} +3 -3
- package/dist/{chunk-NBMHU6SW.js → chunk-CMT5NMMS.js} +3 -3
- package/dist/{chunk-HINXWAOD.cjs → chunk-CR4FMIWL.cjs} +11 -11
- package/dist/{chunk-W7VDOASB.cjs → chunk-CR7XRXRN.cjs} +5 -5
- package/dist/{chunk-AYBXB26F.js → chunk-CSD27UNQ.js} +5 -5
- package/dist/{chunk-IZM5VQZD.js → chunk-D3STJ56J.js} +3 -3
- package/dist/{chunk-ZBQXLH2L.js → chunk-DHO2YRIM.js} +3 -3
- package/dist/{chunk-JX7YL6ZE.js → chunk-E6XXE66V.js} +4 -4
- package/dist/{chunk-62FBK3B7.js → chunk-FFAOS5HQ.js} +4 -4
- package/dist/{chunk-NV4VMVXU.js → chunk-FL33V6U7.js} +3 -3
- package/dist/{chunk-XUUVDHIF.cjs → chunk-HKEXJUWS.cjs} +48 -3
- package/dist/{chunk-NXZFOPVD.cjs → chunk-HNDK4IQU.cjs} +16 -16
- package/dist/{chunk-RVBHAXFG.js → chunk-HR2OSYVQ.js} +16 -11
- package/dist/{chunk-LICPB5HZ.cjs → chunk-IUDGEUDO.cjs} +10 -10
- package/dist/{chunk-73FELZVJ.cjs → chunk-IWC5DM2M.cjs} +11 -11
- package/dist/{chunk-NGKREZ36.js → chunk-J52VSAQ7.js} +505 -5
- package/dist/{chunk-PHVRG4I2.js → chunk-J7XZV333.js} +3 -3
- package/dist/{chunk-K4VVR7CN.cjs → chunk-JBNDTXXV.cjs} +15 -15
- package/dist/{chunk-3NFFOWGG.js → chunk-JIBL5LRK.js} +2 -2
- package/dist/{chunk-HZSPDCXV.cjs → chunk-K574J76X.cjs} +3 -3
- package/dist/{chunk-SJBGLS25.cjs → chunk-KHDZJE5D.cjs} +5 -5
- package/dist/{chunk-KH4CNH66.cjs → chunk-L5LKKENW.cjs} +4 -4
- package/dist/{chunk-IVSZDECV.js → chunk-LHAXPADA.js} +3 -3
- package/dist/{chunk-EUDQTK7N.cjs → chunk-MQWAT42R.cjs} +2 -2
- package/dist/{chunk-KVRSTFNH.cjs → chunk-NCWCUZNS.cjs} +8 -8
- package/dist/{chunk-MGE5Z4GS.js → chunk-OH2FAIVU.js} +3 -3
- package/dist/{chunk-UMABK6SI.js → chunk-PY37LNDP.js} +3 -3
- package/dist/{chunk-23J755AR.js → chunk-QD32ADK6.js} +3 -3
- package/dist/{chunk-HZTDET3N.js → chunk-R24NNAEG.js} +3 -3
- package/dist/{chunk-6DPSFNJB.cjs → chunk-ROHLEP2W.cjs} +16 -16
- package/dist/{chunk-25IQCHTO.cjs → chunk-TWUXUCEW.cjs} +35 -35
- package/dist/{chunk-3AO425MZ.cjs → chunk-UFZZ7TSN.cjs} +17 -17
- package/dist/{chunk-BE4UJCQT.js → chunk-UWJHCOH2.js} +3 -3
- package/dist/{chunk-KEFNV2WM.cjs → chunk-X3UVCWNL.cjs} +13 -13
- package/dist/{chunk-7HIASF7S.cjs → chunk-XB274MW5.cjs} +10 -10
- package/dist/{chunk-KJLB4OPV.js → chunk-YN2YWTXW.js} +3 -3
- package/dist/{chunk-IPWSXCCN.js → chunk-YVD3CSO3.js} +3 -3
- package/dist/{chunk-F43YAA34.js → chunk-YVOAF4ML.js} +3 -3
- package/dist/{chunk-OR4Q2BGL.cjs → chunk-YWOBW2PV.cjs} +15 -15
- package/dist/compiler/android-xr.cjs +5 -5
- package/dist/compiler/android-xr.js +3 -3
- package/dist/compiler/babylon.cjs +4 -4
- package/dist/compiler/babylon.js +3 -3
- package/dist/compiler/business-quest.cjs +9 -9
- package/dist/compiler/business-quest.js +1 -1
- package/dist/compiler/domain-block-utils.cjs +154 -150
- package/dist/compiler/domain-block-utils.js +2 -2
- package/dist/compiler/gltf-pipeline.cjs +8 -8
- package/dist/compiler/gltf-pipeline.js +1 -1
- package/dist/compiler/godot.cjs +4 -4
- package/dist/compiler/godot.js +3 -3
- package/dist/compiler/index.cjs +129 -581
- package/dist/compiler/index.d.ts +12 -0
- package/dist/compiler/index.js +42 -498
- package/dist/compiler/multi-layer.cjs +5 -5
- package/dist/compiler/multi-layer.js +4 -4
- package/dist/compiler/nodetoy.d.ts +69 -0
- package/dist/compiler/openxr.cjs +4 -4
- package/dist/compiler/openxr.js +3 -3
- package/dist/compiler/playcanvas.cjs +4 -4
- package/dist/compiler/playcanvas.js +3 -3
- package/dist/compiler/r3f.cjs +9 -8
- package/dist/compiler/r3f.js +4 -3
- package/dist/compiler/sdf.cjs +5 -5
- package/dist/compiler/sdf.js +3 -3
- package/dist/compiler/unity.cjs +4 -4
- package/dist/compiler/unity.js +3 -3
- package/dist/compiler/unreal.cjs +5 -5
- package/dist/compiler/unreal.js +3 -3
- package/dist/compiler/urdf.cjs +12 -12
- package/dist/compiler/urdf.js +3 -3
- package/dist/compiler/usd-physics.cjs +5 -5
- package/dist/compiler/usd-physics.js +2 -2
- package/dist/compiler/visionos.cjs +4 -4
- package/dist/compiler/visionos.js +3 -3
- package/dist/compiler/vrchat.cjs +5 -5
- package/dist/compiler/vrchat.js +3 -3
- package/dist/compiler/vrr.cjs +5 -5
- package/dist/compiler/vrr.js +3 -3
- package/dist/compiler/wasm.cjs +8 -8
- package/dist/compiler/wasm.js +3 -3
- package/dist/compiler/webgpu.cjs +4 -4
- package/dist/compiler/webgpu.js +3 -3
- package/dist/debugger.cjs +4 -4
- package/dist/debugger.js +2 -2
- package/dist/dist-ACXG6IH5.cjs +3113 -0
- package/dist/dist-VD4L6V7Q.js +3076 -0
- package/dist/index.cjs +1915 -488
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1480 -53
- package/dist/reconstruction/index.cjs +31 -31
- package/dist/reconstruction/index.js +2 -2
- package/dist/runtime.cjs +6 -6
- package/dist/runtime.js +2 -2
- package/dist/src-4ROC227P.cjs +2094 -0
- package/dist/src-HCCCSYP7.js +2073 -0
- package/dist/traits/botanical-lotus.cjs +146 -10
- package/dist/traits/botanical-lotus.d.ts +330 -0
- package/dist/traits/botanical-lotus.js +4 -1
- package/dist/traits/index.cjs +594 -455
- package/dist/traits/index.js +9 -5
- package/package.json +20 -20
- package/dist/chunk-VECQYRXL.js +0 -474
- package/dist/chunk-WDT3JTGM.cjs +0 -483
|
@@ -4,9 +4,9 @@ var chunkLM2VU56C_cjs = require('./chunk-LM2VU56C.cjs');
|
|
|
4
4
|
var chunkCIWWXYHZ_cjs = require('./chunk-CIWWXYHZ.cjs');
|
|
5
5
|
|
|
6
6
|
// src/version.ts
|
|
7
|
-
var HOLOSCRIPT_VERSION = "8.0.
|
|
8
|
-
var GIT_COMMIT_SHA = "
|
|
9
|
-
var BUILD_TIMESTAMP = "2026-06-
|
|
7
|
+
var HOLOSCRIPT_VERSION = "8.0.1" ;
|
|
8
|
+
var GIT_COMMIT_SHA = "efb467dce" ;
|
|
9
|
+
var BUILD_TIMESTAMP = "2026-06-04T22:03:08.151Z" ;
|
|
10
10
|
function getVersionString() {
|
|
11
11
|
const sha = `+${GIT_COMMIT_SHA}` ;
|
|
12
12
|
return `${HOLOSCRIPT_VERSION}${sha}`;
|
|
@@ -2192,5 +2192,5 @@ exports.putCachedWeightBlob = putCachedWeightBlob;
|
|
|
2192
2192
|
exports.resetHoloMapTelemetryForTests = resetHoloMapTelemetryForTests;
|
|
2193
2193
|
exports.runHoloMapMicroEncoderCpu = runHoloMapMicroEncoderCpu;
|
|
2194
2194
|
exports.tryCreateHoloMapEncoderDevice = tryCreateHoloMapEncoderDevice;
|
|
2195
|
-
//# sourceMappingURL=chunk-
|
|
2196
|
-
//# sourceMappingURL=chunk-
|
|
2195
|
+
//# sourceMappingURL=chunk-KHDZJE5D.cjs.map
|
|
2196
|
+
//# sourceMappingURL=chunk-KHDZJE5D.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMQWAT42R_cjs = require('./chunk-MQWAT42R.cjs');
|
|
4
4
|
var chunkJIYN45TV_cjs = require('./chunk-JIYN45TV.cjs');
|
|
5
5
|
|
|
6
6
|
// src/HoloScriptDebugger.ts
|
|
@@ -21,7 +21,7 @@ var HoloScriptDebugger = class {
|
|
|
21
21
|
callStack: [],
|
|
22
22
|
breakpoints: []
|
|
23
23
|
};
|
|
24
|
-
this.runtime = runtime || new
|
|
24
|
+
this.runtime = runtime || new chunkMQWAT42R_cjs.HoloScriptRuntime();
|
|
25
25
|
this.parser = new chunkJIYN45TV_cjs.HoloScriptCodeParser();
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
@@ -420,5 +420,5 @@ function createDebugger(runtime) {
|
|
|
420
420
|
|
|
421
421
|
exports.HoloScriptDebugger = HoloScriptDebugger;
|
|
422
422
|
exports.createDebugger = createDebugger;
|
|
423
|
-
//# sourceMappingURL=chunk-
|
|
424
|
-
//# sourceMappingURL=chunk-
|
|
423
|
+
//# sourceMappingURL=chunk-L5LKKENW.cjs.map
|
|
424
|
+
//# sourceMappingURL=chunk-L5LKKENW.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, physicsToURDF, compileMaterialBlock, materialToUSD } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToUSD, compileAudioSourceBlock, audioSourceToUSD, compilePostProcessingBlock, postProcessingToUSD, compileParticleBlock, particlesToUSD, compilePhysicsBlock, physicsToURDF, compileMaterialBlock, materialToUSD } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
4
4
|
|
|
@@ -878,5 +878,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
878
878
|
}
|
|
879
879
|
|
|
880
880
|
export { USDPhysicsCompiler, compileForIsaacSim, compileToUSDPhysics };
|
|
881
|
-
//# sourceMappingURL=chunk-
|
|
882
|
-
//# sourceMappingURL=chunk-
|
|
881
|
+
//# sourceMappingURL=chunk-LHAXPADA.js.map
|
|
882
|
+
//# sourceMappingURL=chunk-LHAXPADA.js.map
|
|
@@ -4306,5 +4306,5 @@ var HoloScriptRuntime = class {
|
|
|
4306
4306
|
|
|
4307
4307
|
exports.HoloScriptAgentRuntime = HoloScriptAgentRuntime;
|
|
4308
4308
|
exports.HoloScriptRuntime = HoloScriptRuntime;
|
|
4309
|
-
//# sourceMappingURL=chunk-
|
|
4310
|
-
//# sourceMappingURL=chunk-
|
|
4309
|
+
//# sourceMappingURL=chunk-MQWAT42R.cjs.map
|
|
4310
|
+
//# sourceMappingURL=chunk-MQWAT42R.cjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkXB274MW5_cjs = require('./chunk-XB274MW5.cjs');
|
|
4
4
|
var chunkS3MDHNKB_cjs = require('./chunk-S3MDHNKB.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkROHLEP2W_cjs = require('./chunk-ROHLEP2W.cjs');
|
|
6
6
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
8
8
|
|
|
9
9
|
// src/compiler/MultiLayerCompiler.ts
|
|
10
|
-
|
|
10
|
+
chunkXB274MW5_cjs.init_VRRCompiler();
|
|
11
11
|
chunkS3MDHNKB_cjs.init_ARCompiler();
|
|
12
|
-
|
|
12
|
+
chunkROHLEP2W_cjs.init_BabylonCompiler();
|
|
13
13
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
14
14
|
var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
15
15
|
constructor(options) {
|
|
@@ -39,7 +39,7 @@ var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
39
39
|
if (!arResult.success) result.success = false;
|
|
40
40
|
}
|
|
41
41
|
if (this.options.targets.includes("vrr")) {
|
|
42
|
-
const vrrCompiler = new
|
|
42
|
+
const vrrCompiler = new chunkXB274MW5_cjs.VRRCompiler({
|
|
43
43
|
target: "threejs",
|
|
44
44
|
minify: this.options.minify,
|
|
45
45
|
source_maps: this.options.source_maps,
|
|
@@ -52,7 +52,7 @@ var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
52
52
|
if (!vrrResult.success) result.success = false;
|
|
53
53
|
}
|
|
54
54
|
if (this.options.targets.includes("vr")) {
|
|
55
|
-
const vrCompiler = new
|
|
55
|
+
const vrCompiler = new chunkROHLEP2W_cjs.BabylonCompiler({});
|
|
56
56
|
try {
|
|
57
57
|
const vrResult = vrCompiler.compile(composition, agentToken);
|
|
58
58
|
result.vr = vrResult;
|
|
@@ -68,5 +68,5 @@ var MultiLayerCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
68
68
|
};
|
|
69
69
|
|
|
70
70
|
exports.MultiLayerCompiler = MultiLayerCompiler;
|
|
71
|
-
//# sourceMappingURL=chunk-
|
|
72
|
-
//# sourceMappingURL=chunk-
|
|
71
|
+
//# sourceMappingURL=chunk-NCWCUZNS.cjs.map
|
|
72
|
+
//# sourceMappingURL=chunk-NCWCUZNS.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToSDF, compileMaterialBlock, materialToSDF } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -604,5 +604,5 @@ ${layers}`;
|
|
|
604
604
|
});
|
|
605
605
|
|
|
606
606
|
export { SDFCompiler, SDFCompiler_default, SDFCompiler_exports, init_SDFCompiler };
|
|
607
|
-
//# sourceMappingURL=chunk-
|
|
608
|
-
//# sourceMappingURL=chunk-
|
|
607
|
+
//# sourceMappingURL=chunk-OH2FAIVU.js.map
|
|
608
|
+
//# sourceMappingURL=chunk-OH2FAIVU.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToGodot, compileInputBlock, navigationToGodot, compileNavigationBlock, renderingToGodot, compileRenderingBlock, proceduralToGodot, compileProceduralBlock, web3ToGodot, compileWeb3Block, architectureToGodot, compileArchitectureBlock, musicToGodot, compileMusicBlock, educationToGodot, compileEducationBlock, datavizToGodot, compileDataVizBlock, iotToGodot, compileIoTBlock, compileRoboticsBlock, roboticsToGodot, compileHealthcareBlock, healthcareToGodot, compilePaymentBlock, paymentToGodot, compileNarrativeBlock, narrativeToGodot, compileWeatherBlock, weatherToGodot, compileAudioSourceBlock, audioSourceToGodot, compilePostProcessingBlock, postProcessingToGodot, compileParticleBlock, particlesToGodot, compilePhysicsBlock, physicsToGodot, compileMaterialBlock, materialToGodot } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToGodot, compileInputBlock, navigationToGodot, compileNavigationBlock, renderingToGodot, compileRenderingBlock, proceduralToGodot, compileProceduralBlock, web3ToGodot, compileWeb3Block, architectureToGodot, compileArchitectureBlock, musicToGodot, compileMusicBlock, educationToGodot, compileEducationBlock, datavizToGodot, compileDataVizBlock, iotToGodot, compileIoTBlock, compileRoboticsBlock, roboticsToGodot, compileHealthcareBlock, healthcareToGodot, compilePaymentBlock, paymentToGodot, compileNarrativeBlock, narrativeToGodot, compileWeatherBlock, weatherToGodot, compileAudioSourceBlock, audioSourceToGodot, compilePostProcessingBlock, postProcessingToGodot, compileParticleBlock, particlesToGodot, compilePhysicsBlock, physicsToGodot, compileMaterialBlock, materialToGodot } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __esm, __export } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -682,5 +682,5 @@ var init_GodotCompiler = __esm({
|
|
|
682
682
|
});
|
|
683
683
|
|
|
684
684
|
export { GodotCompiler, GodotCompiler_exports, init_GodotCompiler };
|
|
685
|
-
//# sourceMappingURL=chunk-
|
|
686
|
-
//# sourceMappingURL=chunk-
|
|
685
|
+
//# sourceMappingURL=chunk-PY37LNDP.js.map
|
|
686
|
+
//# sourceMappingURL=chunk-PY37LNDP.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
|
|
2
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-
|
|
2
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePostProcessingBlock, compileParticleBlock, compilePhysicsBlock, compileMaterialBlock } from './chunk-BOVPWH4H.js';
|
|
3
3
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
4
4
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
5
5
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -1042,5 +1042,5 @@ var init_OpenXRCompiler = __esm({
|
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
1044
|
export { OpenXRCompiler, OpenXRCompiler_exports, init_OpenXRCompiler };
|
|
1045
|
-
//# sourceMappingURL=chunk-
|
|
1046
|
-
//# sourceMappingURL=chunk-
|
|
1045
|
+
//# sourceMappingURL=chunk-QD32ADK6.js.map
|
|
1046
|
+
//# sourceMappingURL=chunk-QD32ADK6.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, compileAudioSourceBlock, compilePhysicsBlock, physicsToURDF, compileMaterialBlock } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -1395,5 +1395,5 @@ var init_URDFCompiler = __esm({
|
|
|
1395
1395
|
});
|
|
1396
1396
|
|
|
1397
1397
|
export { URDFCompiler, URDFCompiler_default, URDFCompiler_exports, compileForGazebo, compileForIsaacSim, compileForROS2, compileToURDF, createURDFCompiler, generateControllersYaml, generateROS2LaunchFile, init_URDFCompiler };
|
|
1398
|
-
//# sourceMappingURL=chunk-
|
|
1399
|
-
//# sourceMappingURL=chunk-
|
|
1398
|
+
//# sourceMappingURL=chunk-R24NNAEG.js.map
|
|
1399
|
+
//# sourceMappingURL=chunk-R24NNAEG.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
var chunk5S7RKFGR_cjs = require('./chunk-5S7RKFGR.cjs');
|
|
4
4
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
5
5
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
7
7
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
8
8
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
9
9
|
var ans = require('@holoscript/core-types/ans');
|
|
@@ -19,7 +19,7 @@ var init_BabylonCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
19
19
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
20
20
|
chunk5S7RKFGR_cjs.init_ProvenanceSemiring();
|
|
21
21
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
22
|
-
|
|
22
|
+
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
23
23
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
24
24
|
SHAPE_TO_MESH = {
|
|
25
25
|
sphere: "CreateSphere",
|
|
@@ -138,31 +138,31 @@ var init_BabylonCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
138
138
|
this.emit("");
|
|
139
139
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
140
140
|
let blockIdx = 0;
|
|
141
|
-
const compiled =
|
|
141
|
+
const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
|
|
142
142
|
domainBlocks,
|
|
143
143
|
{
|
|
144
144
|
material: (block) => {
|
|
145
|
-
const mat =
|
|
146
|
-
return
|
|
145
|
+
const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
|
|
146
|
+
return chunkHKEXJUWS_cjs.materialToBabylon(mat, `db${blockIdx++}`);
|
|
147
147
|
},
|
|
148
148
|
physics: (block) => {
|
|
149
|
-
const phys =
|
|
150
|
-
return
|
|
149
|
+
const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
|
|
150
|
+
return chunkHKEXJUWS_cjs.physicsToBabylon(phys, `db${blockIdx++}`);
|
|
151
151
|
},
|
|
152
152
|
vfx: (block) => {
|
|
153
|
-
const ps =
|
|
154
|
-
return
|
|
153
|
+
const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
|
|
154
|
+
return chunkHKEXJUWS_cjs.particlesToBabylon(ps, `db${blockIdx++}`);
|
|
155
155
|
},
|
|
156
156
|
postfx: (block) => {
|
|
157
|
-
const pp =
|
|
158
|
-
return
|
|
157
|
+
const pp = chunkHKEXJUWS_cjs.compilePostProcessingBlock(block);
|
|
158
|
+
return chunkHKEXJUWS_cjs.postProcessingToBabylon(pp);
|
|
159
159
|
},
|
|
160
160
|
audio: (block) => {
|
|
161
|
-
const audio =
|
|
162
|
-
return
|
|
161
|
+
const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
|
|
162
|
+
return chunkHKEXJUWS_cjs.audioSourceToBabylon(audio, `db${blockIdx++}`);
|
|
163
163
|
},
|
|
164
164
|
weather: (block) => {
|
|
165
|
-
const weather =
|
|
165
|
+
const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
|
|
166
166
|
const layers = weather.layers.map((l) => `// Layer: ${l.type} \u2014 ${JSON.stringify(l.properties)}`).join("\n");
|
|
167
167
|
return `// Weather: ${weather.keyword} "${weather.name || ""}" \u2014 implement via Babylon.js particle systems
|
|
168
168
|
${layers}`;
|
|
@@ -843,5 +843,5 @@ ${layers}`;
|
|
|
843
843
|
|
|
844
844
|
exports.BabylonCompiler_exports = BabylonCompiler_exports;
|
|
845
845
|
exports.init_BabylonCompiler = init_BabylonCompiler;
|
|
846
|
-
//# sourceMappingURL=chunk-
|
|
847
|
-
//# sourceMappingURL=chunk-
|
|
846
|
+
//# sourceMappingURL=chunk-ROHLEP2W.cjs.map
|
|
847
|
+
//# sourceMappingURL=chunk-ROHLEP2W.cjs.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkAIA52I7T_cjs = require('./chunk-AIA52I7T.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
5
5
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
7
7
|
var ans = require('@holoscript/core-types/ans');
|
|
@@ -15,7 +15,7 @@ exports.UnityCompiler = void 0;
|
|
|
15
15
|
var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
16
16
|
"src/compiler/UnityCompiler.ts"() {
|
|
17
17
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
18
|
-
|
|
18
|
+
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
19
19
|
chunkAIA52I7T_cjs.init_PlatformConditionalCompilerMixin();
|
|
20
20
|
exports.UnityCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
21
21
|
constructor(options = {}) {
|
|
@@ -219,63 +219,63 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
219
219
|
this.emit("");
|
|
220
220
|
this.emit("// === v4.2 Domain Blocks ===");
|
|
221
221
|
let blockIdx = 0;
|
|
222
|
-
const compiled =
|
|
222
|
+
const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
|
|
223
223
|
domainBlocks,
|
|
224
224
|
{
|
|
225
225
|
material: (block) => {
|
|
226
|
-
const mat =
|
|
226
|
+
const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
|
|
227
227
|
const prefix = `db${blockIdx++}`;
|
|
228
|
-
return
|
|
228
|
+
return chunkHKEXJUWS_cjs.materialToUnity(mat, prefix);
|
|
229
229
|
},
|
|
230
230
|
physics: (block) => {
|
|
231
|
-
const phys =
|
|
231
|
+
const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
|
|
232
232
|
const prefix = `db${blockIdx++}`;
|
|
233
|
-
return
|
|
233
|
+
return chunkHKEXJUWS_cjs.physicsToUnity(phys, prefix);
|
|
234
234
|
},
|
|
235
235
|
vfx: (block) => {
|
|
236
|
-
const ps =
|
|
236
|
+
const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
|
|
237
237
|
const prefix = `db${blockIdx++}`;
|
|
238
|
-
return
|
|
238
|
+
return chunkHKEXJUWS_cjs.particlesToUnity(ps, prefix);
|
|
239
239
|
},
|
|
240
240
|
postfx: (block) => {
|
|
241
|
-
const pp =
|
|
242
|
-
return
|
|
241
|
+
const pp = chunkHKEXJUWS_cjs.compilePostProcessingBlock(block);
|
|
242
|
+
return chunkHKEXJUWS_cjs.postProcessingToUnity(pp);
|
|
243
243
|
},
|
|
244
244
|
audio: (block) => {
|
|
245
|
-
const audio =
|
|
245
|
+
const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
|
|
246
246
|
const prefix = `db${blockIdx++}`;
|
|
247
|
-
return
|
|
247
|
+
return chunkHKEXJUWS_cjs.audioSourceToUnity(audio, prefix);
|
|
248
248
|
},
|
|
249
249
|
weather: (block) => {
|
|
250
|
-
const weather =
|
|
251
|
-
return
|
|
250
|
+
const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
|
|
251
|
+
return chunkHKEXJUWS_cjs.weatherToUnity(weather);
|
|
252
252
|
},
|
|
253
253
|
narrative: (block) => {
|
|
254
|
-
const narr =
|
|
255
|
-
return
|
|
254
|
+
const narr = chunkHKEXJUWS_cjs.compileNarrativeBlock(block);
|
|
255
|
+
return chunkHKEXJUWS_cjs.narrativeToUnity(narr);
|
|
256
256
|
},
|
|
257
257
|
payment: (block) => {
|
|
258
|
-
const pay =
|
|
259
|
-
return
|
|
258
|
+
const pay = chunkHKEXJUWS_cjs.compilePaymentBlock(block);
|
|
259
|
+
return chunkHKEXJUWS_cjs.paymentToUnity(pay);
|
|
260
260
|
},
|
|
261
261
|
healthcare: (block) => {
|
|
262
|
-
const h =
|
|
263
|
-
return
|
|
262
|
+
const h = chunkHKEXJUWS_cjs.compileHealthcareBlock(block);
|
|
263
|
+
return chunkHKEXJUWS_cjs.healthcareToUnity(h);
|
|
264
264
|
},
|
|
265
265
|
robotics: (block) => {
|
|
266
|
-
const r =
|
|
267
|
-
return
|
|
266
|
+
const r = chunkHKEXJUWS_cjs.compileRoboticsBlock(block);
|
|
267
|
+
return chunkHKEXJUWS_cjs.roboticsToUnity(r);
|
|
268
268
|
},
|
|
269
|
-
iot: (block) =>
|
|
270
|
-
dataviz: (block) =>
|
|
271
|
-
education: (block) =>
|
|
272
|
-
music: (block) =>
|
|
273
|
-
architecture: (block) =>
|
|
274
|
-
web3: (block) =>
|
|
275
|
-
procedural: (block) =>
|
|
276
|
-
rendering: (block) =>
|
|
277
|
-
navigation: (block) =>
|
|
278
|
-
input: (block) =>
|
|
269
|
+
iot: (block) => chunkHKEXJUWS_cjs.iotToUnity(chunkHKEXJUWS_cjs.compileIoTBlock(block)),
|
|
270
|
+
dataviz: (block) => chunkHKEXJUWS_cjs.datavizToUnity(chunkHKEXJUWS_cjs.compileDataVizBlock(block)),
|
|
271
|
+
education: (block) => chunkHKEXJUWS_cjs.educationToUnity(chunkHKEXJUWS_cjs.compileEducationBlock(block)),
|
|
272
|
+
music: (block) => chunkHKEXJUWS_cjs.musicToUnity(chunkHKEXJUWS_cjs.compileMusicBlock(block)),
|
|
273
|
+
architecture: (block) => chunkHKEXJUWS_cjs.architectureToUnity(chunkHKEXJUWS_cjs.compileArchitectureBlock(block)),
|
|
274
|
+
web3: (block) => chunkHKEXJUWS_cjs.web3ToUnity(chunkHKEXJUWS_cjs.compileWeb3Block(block)),
|
|
275
|
+
procedural: (block) => chunkHKEXJUWS_cjs.proceduralToUnity(chunkHKEXJUWS_cjs.compileProceduralBlock(block)),
|
|
276
|
+
rendering: (block) => chunkHKEXJUWS_cjs.renderingToUnity(chunkHKEXJUWS_cjs.compileRenderingBlock(block)),
|
|
277
|
+
navigation: (block) => chunkHKEXJUWS_cjs.navigationToUnity(chunkHKEXJUWS_cjs.compileNavigationBlock(block)),
|
|
278
|
+
input: (block) => chunkHKEXJUWS_cjs.inputToUnity(chunkHKEXJUWS_cjs.compileInputBlock(block))
|
|
279
279
|
},
|
|
280
280
|
(block) => `// Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "CSharp")}"`
|
|
281
281
|
);
|
|
@@ -777,5 +777,5 @@ var init_UnityCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
777
777
|
|
|
778
778
|
exports.UnityCompiler_exports = UnityCompiler_exports;
|
|
779
779
|
exports.init_UnityCompiler = init_UnityCompiler;
|
|
780
|
-
//# sourceMappingURL=chunk-
|
|
781
|
-
//# sourceMappingURL=chunk-
|
|
780
|
+
//# sourceMappingURL=chunk-TWUXUCEW.cjs.map
|
|
781
|
+
//# sourceMappingURL=chunk-TWUXUCEW.cjs.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
4
4
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var ans = require('@holoscript/core-types/ans');
|
|
6
6
|
|
|
7
7
|
// src/compiler/USDPhysicsCompiler.ts
|
|
8
8
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
9
|
-
|
|
9
|
+
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
10
10
|
var USDPhysicsCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
11
11
|
constructor(options = {}) {
|
|
12
12
|
super();
|
|
@@ -260,34 +260,34 @@ var USDPhysicsCompiler = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
260
260
|
if (domainBlocks.length > 0) {
|
|
261
261
|
this.emitBlank();
|
|
262
262
|
this.emit(`# === v4.2 Domain Blocks ===`);
|
|
263
|
-
const compiled =
|
|
263
|
+
const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
|
|
264
264
|
domainBlocks,
|
|
265
265
|
{
|
|
266
266
|
material: (block) => {
|
|
267
|
-
const mat =
|
|
268
|
-
return
|
|
267
|
+
const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
|
|
268
|
+
return chunkHKEXJUWS_cjs.materialToUSD(mat);
|
|
269
269
|
},
|
|
270
270
|
physics: (block) => {
|
|
271
|
-
const phys =
|
|
272
|
-
const urdf =
|
|
271
|
+
const phys = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
|
|
272
|
+
const urdf = chunkHKEXJUWS_cjs.physicsToURDF(phys);
|
|
273
273
|
return `# Physics: ${phys.keyword} "${phys.name || ""}"
|
|
274
274
|
` + urdf.split("\n").map((l) => `# URDF: ${l}`).join("\n");
|
|
275
275
|
},
|
|
276
276
|
vfx: (block) => {
|
|
277
|
-
const ps =
|
|
278
|
-
return
|
|
277
|
+
const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
|
|
278
|
+
return chunkHKEXJUWS_cjs.particlesToUSD(ps);
|
|
279
279
|
},
|
|
280
280
|
postfx: (block) => {
|
|
281
|
-
const pp =
|
|
282
|
-
return
|
|
281
|
+
const pp = chunkHKEXJUWS_cjs.compilePostProcessingBlock(block);
|
|
282
|
+
return chunkHKEXJUWS_cjs.postProcessingToUSD(pp);
|
|
283
283
|
},
|
|
284
284
|
audio: (block) => {
|
|
285
|
-
const audio =
|
|
286
|
-
return
|
|
285
|
+
const audio = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
|
|
286
|
+
return chunkHKEXJUWS_cjs.audioSourceToUSD(audio);
|
|
287
287
|
},
|
|
288
288
|
weather: (block) => {
|
|
289
|
-
const weather =
|
|
290
|
-
return
|
|
289
|
+
const weather = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
|
|
290
|
+
return chunkHKEXJUWS_cjs.weatherToUSD(weather);
|
|
291
291
|
}
|
|
292
292
|
},
|
|
293
293
|
(block) => `# Domain block: ${block.domain}/${block.keyword} "${this.escapeStringValue(block.name, "TypeScript")}"`
|
|
@@ -882,5 +882,5 @@ function compileForIsaacSim(composition, options) {
|
|
|
882
882
|
exports.USDPhysicsCompiler = USDPhysicsCompiler;
|
|
883
883
|
exports.compileForIsaacSim = compileForIsaacSim;
|
|
884
884
|
exports.compileToUSDPhysics = compileToUSDPhysics;
|
|
885
|
-
//# sourceMappingURL=chunk-
|
|
886
|
-
//# sourceMappingURL=chunk-
|
|
885
|
+
//# sourceMappingURL=chunk-UFZZ7TSN.cjs.map
|
|
886
|
+
//# sourceMappingURL=chunk-UFZZ7TSN.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, inputToVRChat, compileInputBlock, navigationToVRChat, compileNavigationBlock, renderingToVRChat, compileRenderingBlock, proceduralToVRChat, compileProceduralBlock, web3ToVRChat, compileWeb3Block, architectureToVRChat, compileArchitectureBlock, musicToVRChat, compileMusicBlock, educationToVRChat, compileEducationBlock, datavizToVRChat, compileDataVizBlock, iotToVRChat, compileIoTBlock, compileRoboticsBlock, roboticsToVRChat, compileHealthcareBlock, healthcareToVRChat, compilePaymentBlock, paymentToVRChat, compileNarrativeBlock, narrativeToVRChat, compileWeatherBlock, weatherToUnity, compileAudioSourceBlock, audioSourceToUnity, compilePostProcessingBlock, postProcessingToUnity, compileParticleBlock, particlesToUnity, compilePhysicsBlock, physicsToUnity, compileMaterialBlock, materialToVRChat } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -619,5 +619,5 @@ var init_VRChatCompiler = __esm({
|
|
|
619
619
|
});
|
|
620
620
|
|
|
621
621
|
export { VRChatCompiler, VRChatCompiler_exports, compileToVRChat, init_VRChatCompiler };
|
|
622
|
-
//# sourceMappingURL=chunk-
|
|
623
|
-
//# sourceMappingURL=chunk-
|
|
622
|
+
//# sourceMappingURL=chunk-UWJHCOH2.js.map
|
|
623
|
+
//# sourceMappingURL=chunk-UWJHCOH2.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunkEXUP2BUM_cjs = require('./chunk-EXUP2BUM.cjs');
|
|
4
|
-
var
|
|
4
|
+
var chunkALC6K7GL_cjs = require('./chunk-ALC6K7GL.cjs');
|
|
5
5
|
var chunkOIQYIIO3_cjs = require('./chunk-OIQYIIO3.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
7
7
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
8
8
|
var ans = require('@holoscript/core-types/ans');
|
|
9
9
|
|
|
10
10
|
// src/compiler/GLTFPipeline.ts
|
|
11
11
|
chunkOIQYIIO3_cjs.init_TraitCompositor();
|
|
12
|
-
|
|
12
|
+
chunkALC6K7GL_cjs.init_R3FCompiler();
|
|
13
13
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
14
|
-
|
|
14
|
+
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
15
15
|
|
|
16
16
|
// src/compiler/gltf/extensions.ts
|
|
17
17
|
function createEmissiveStrengthExtension(strength) {
|
|
@@ -120,8 +120,8 @@ function declareExtensions(gltf) {
|
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
// src/compiler/GLTFPipeline.ts
|
|
123
|
-
|
|
124
|
-
var gltfNodePool = new
|
|
123
|
+
chunkALC6K7GL_cjs.init_ObjectPool();
|
|
124
|
+
var gltfNodePool = new chunkALC6K7GL_cjs.ASTNodePool(
|
|
125
125
|
() => ({ name: "" }),
|
|
126
126
|
(node) => {
|
|
127
127
|
node.name = "";
|
|
@@ -1282,12 +1282,12 @@ var GLTFPipeline = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1282
1282
|
}
|
|
1283
1283
|
const domainBlocks = composition.domainBlocks ?? [];
|
|
1284
1284
|
if (domainBlocks.length > 0) {
|
|
1285
|
-
|
|
1285
|
+
chunkHKEXJUWS_cjs.compileDomainBlocks(
|
|
1286
1286
|
domainBlocks,
|
|
1287
1287
|
{
|
|
1288
1288
|
material: (block) => {
|
|
1289
|
-
const mat =
|
|
1290
|
-
const gltfMat =
|
|
1289
|
+
const mat = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
|
|
1290
|
+
const gltfMat = chunkHKEXJUWS_cjs.materialToGLTF(mat);
|
|
1291
1291
|
this.materials.push(gltfMat);
|
|
1292
1292
|
this.stats.materialCount++;
|
|
1293
1293
|
return "";
|
|
@@ -1601,8 +1601,8 @@ var GLTFPipeline = class extends chunkKKP7JKN4_cjs.CompilerBase {
|
|
|
1601
1601
|
let attenuationColor;
|
|
1602
1602
|
let attenuationDistance;
|
|
1603
1603
|
const namedMat = this.findProp(object, "material");
|
|
1604
|
-
if (typeof namedMat === "string" &&
|
|
1605
|
-
const preset =
|
|
1604
|
+
if (typeof namedMat === "string" && chunkALC6K7GL_cjs.MATERIAL_PRESETS[namedMat]) {
|
|
1605
|
+
const preset = chunkALC6K7GL_cjs.MATERIAL_PRESETS[namedMat];
|
|
1606
1606
|
if (preset.color) color = this.parseColorString(preset.color);
|
|
1607
1607
|
if (preset.metalness !== void 0) metallic = preset.metalness;
|
|
1608
1608
|
if (preset.roughness !== void 0) roughness = preset.roughness;
|
|
@@ -2253,5 +2253,5 @@ exports.GLTFPipeline = GLTFPipeline;
|
|
|
2253
2253
|
exports.createGLTFPipeline = createGLTFPipeline;
|
|
2254
2254
|
exports.generateScaleNormalMap = generateScaleNormalMap;
|
|
2255
2255
|
exports.generateScaleTexture = generateScaleTexture;
|
|
2256
|
-
//# sourceMappingURL=chunk-
|
|
2257
|
-
//# sourceMappingURL=chunk-
|
|
2256
|
+
//# sourceMappingURL=chunk-X3UVCWNL.cjs.map
|
|
2257
|
+
//# sourceMappingURL=chunk-X3UVCWNL.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkHKEXJUWS_cjs = require('./chunk-HKEXJUWS.cjs');
|
|
4
4
|
var chunkKKP7JKN4_cjs = require('./chunk-KKP7JKN4.cjs');
|
|
5
5
|
var chunkE7JP3BS3_cjs = require('./chunk-E7JP3BS3.cjs');
|
|
6
6
|
var chunkHCCQLAA4_cjs = require('./chunk-HCCQLAA4.cjs');
|
|
@@ -17,7 +17,7 @@ var init_VRRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
17
17
|
"src/compiler/VRRCompiler.ts"() {
|
|
18
18
|
chunkKKP7JKN4_cjs.init_CompilerBase();
|
|
19
19
|
chunkE7JP3BS3_cjs.init_safeJsonParse();
|
|
20
|
-
|
|
20
|
+
chunkHKEXJUWS_cjs.init_DomainBlockCompilerMixin();
|
|
21
21
|
VRRTraitDefs = {
|
|
22
22
|
vrr_twin: { validator: (p) => !!p.mirror },
|
|
23
23
|
reality_mirror: { validator: (p) => Array.isArray(p.sync) && p.sync.length > 0 },
|
|
@@ -619,28 +619,28 @@ var init_VRRCompiler = chunkHCCQLAA4_cjs.__esm({
|
|
|
619
619
|
const domainBlocks = Array.isArray(comp.domainBlocks) ? comp.domainBlocks : [];
|
|
620
620
|
if (domainBlocks.length > 0) {
|
|
621
621
|
this.generatedCode.push("\n// === v4.2 Domain Blocks ===");
|
|
622
|
-
const compiled =
|
|
622
|
+
const compiled = chunkHKEXJUWS_cjs.compileDomainBlocks(
|
|
623
623
|
// @ts-expect-error During migration
|
|
624
624
|
domainBlocks,
|
|
625
625
|
{
|
|
626
626
|
material: (block) => {
|
|
627
|
-
const m =
|
|
627
|
+
const m = chunkHKEXJUWS_cjs.compileMaterialBlock(block);
|
|
628
628
|
return `// VRR Material: "${this.escapeStringValue(m.name, "TypeScript")}" type=${m.type} baseColor=${m.baseColor || "none"}`;
|
|
629
629
|
},
|
|
630
630
|
physics: (block) => {
|
|
631
|
-
const p =
|
|
631
|
+
const p = chunkHKEXJUWS_cjs.compilePhysicsBlock(block);
|
|
632
632
|
return `// VRR Physics: ${p.keyword} "${p.name || ""}" colliders=${p.colliders?.length || 0}`;
|
|
633
633
|
},
|
|
634
634
|
vfx: (block) => {
|
|
635
|
-
const ps =
|
|
635
|
+
const ps = chunkHKEXJUWS_cjs.compileParticleBlock(block);
|
|
636
636
|
return `// VRR Particles: "${this.escapeStringValue(ps.name, "TypeScript")}" rate=${ps.properties.rate || "default"}`;
|
|
637
637
|
},
|
|
638
638
|
audio: (block) => {
|
|
639
|
-
const a =
|
|
639
|
+
const a = chunkHKEXJUWS_cjs.compileAudioSourceBlock(block);
|
|
640
640
|
return `// VRR Audio: "${this.escapeStringValue(a.name, "TypeScript")}" clip=${a.properties.clip || "none"}`;
|
|
641
641
|
},
|
|
642
642
|
weather: (block) => {
|
|
643
|
-
const w =
|
|
643
|
+
const w = chunkHKEXJUWS_cjs.compileWeatherBlock(block);
|
|
644
644
|
return `// VRR Weather: ${w.keyword} layers=[${w.layers.map((l) => l.type).join(", ")}]`;
|
|
645
645
|
}
|
|
646
646
|
},
|
|
@@ -810,5 +810,5 @@ const ${twinName} = new THREE.Group();`);
|
|
|
810
810
|
|
|
811
811
|
exports.VRRCompiler_exports = VRRCompiler_exports;
|
|
812
812
|
exports.init_VRRCompiler = init_VRRCompiler;
|
|
813
|
-
//# sourceMappingURL=chunk-
|
|
814
|
-
//# sourceMappingURL=chunk-
|
|
813
|
+
//# sourceMappingURL=chunk-XB274MW5.cjs.map
|
|
814
|
+
//# sourceMappingURL=chunk-XB274MW5.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { init_AndroidKotlinHelpers, sanitizeName, toKotlinFloat3, toKotlinColor, mapShapeToFilament, toKotlinType, toKotlinValue, findObjProp, compositionUsesArCoreDepthTraits } from './chunk-FDSGHPAK.js';
|
|
2
2
|
import { init_PlatformConditionalCompilerMixin, filterCompositionForPlatform } from './chunk-GZG4KA4E.js';
|
|
3
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-
|
|
3
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileWeatherBlock, weatherToAndroidXR, compileAudioSourceBlock, audioSourceToAndroidXR, compilePostProcessingBlock, compileParticleBlock, particlesToAndroidXR, compilePhysicsBlock, physicsToAndroidXR, compileMaterialBlock, materialToAndroidXR } from './chunk-BOVPWH4H.js';
|
|
4
4
|
import { init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
5
5
|
import { __esm, __export } from './chunk-OL46QLBJ.js';
|
|
6
6
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -5727,5 +5727,5 @@ var init_AndroidXRCompiler = __esm({
|
|
|
5727
5727
|
});
|
|
5728
5728
|
|
|
5729
5729
|
export { ANDROIDXR_TRAIT_MAP, AndroidXRCompiler, AndroidXRCompiler_exports, compileToAndroidXR, getTraitMapping, init_AndroidXRCompiler, init_AndroidXRTraitMap };
|
|
5730
|
-
//# sourceMappingURL=chunk-
|
|
5731
|
-
//# sourceMappingURL=chunk-
|
|
5730
|
+
//# sourceMappingURL=chunk-YN2YWTXW.js.map
|
|
5731
|
+
//# sourceMappingURL=chunk-YN2YWTXW.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-
|
|
1
|
+
import { init_DomainBlockCompilerMixin, compileDomainBlocks, compileMaterialBlock } from './chunk-BOVPWH4H.js';
|
|
2
2
|
import { createTestCompilerToken, init_CompilerBase, CompilerBase } from './chunk-QPSKHBJP.js';
|
|
3
3
|
import { __export, __esm } from './chunk-OL46QLBJ.js';
|
|
4
4
|
import { ANSCapabilityPath } from '@holoscript/core-types/ans';
|
|
@@ -1179,5 +1179,5 @@ var init_WASMCompiler = __esm({
|
|
|
1179
1179
|
});
|
|
1180
1180
|
|
|
1181
1181
|
export { WASMCompiler, WASMCompiler_default, WASMCompiler_exports, compileASTToWASM, compileToWASM, createWASMCompiler, init_WASMCompiler };
|
|
1182
|
-
//# sourceMappingURL=chunk-
|
|
1183
|
-
//# sourceMappingURL=chunk-
|
|
1182
|
+
//# sourceMappingURL=chunk-YVD3CSO3.js.map
|
|
1183
|
+
//# sourceMappingURL=chunk-YVD3CSO3.js.map
|