@fps-games/editor 0.1.4-beta.5 → 0.1.5-beta.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/dist/build-info.json +16 -16
- package/dist/local-editor-harness.d.ts +24 -5
- package/dist/local-editor-harness.d.ts.map +1 -1
- package/dist/local-editor-harness.js +456 -90
- package/dist/local-editor-harness.js.map +1 -1
- package/dist/local-editor-performance-stats.d.ts +12 -0
- package/dist/local-editor-performance-stats.d.ts.map +1 -0
- package/dist/local-editor-performance-stats.js +46 -0
- package/dist/local-editor-performance-stats.js.map +1 -0
- package/dist/playable-babylon-facade.d.ts +2 -2
- package/dist/playable-babylon-facade.d.ts.map +1 -1
- package/dist/playable-babylon-facade.js +1 -1
- package/dist/playable-babylon-facade.js.map +1 -1
- package/dist/playable-babylon-rendering.d.ts +57 -12
- package/dist/playable-babylon-rendering.d.ts.map +1 -1
- package/dist/playable-babylon-rendering.js +529 -20
- package/dist/playable-babylon-rendering.js.map +1 -1
- package/dist/playable-local-editor-host.d.ts +10 -9
- package/dist/playable-local-editor-host.d.ts.map +1 -1
- package/dist/playable-local-editor-host.js.map +1 -1
- package/dist/playable-sdk.d.ts +5 -3
- package/dist/playable-sdk.d.ts.map +1 -1
- package/dist/playable-sdk.js +3 -2
- package/dist/playable-sdk.js.map +1 -1
- package/dist/static-shadow-cpu-worker.d.ts +7 -0
- package/dist/static-shadow-cpu-worker.d.ts.map +1 -0
- package/dist/static-shadow-cpu-worker.js +221 -0
- package/dist/static-shadow-cpu-worker.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts +3 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js +3 -1
- package/node_modules/@fps-games/babylon-renderer/dist/index.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.d.ts +4 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js +584 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-artifact-system.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-atlas.d.ts +61 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-atlas.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-atlas.js +382 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-atlas.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.d.ts +47 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.js +285 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-bake.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.d.ts +88 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js +813 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-baker.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.d.ts +27 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.d.ts.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.js +220 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-rendering.js.map +1 -0
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.d.ts +35 -3
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.js +65 -609
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/static-projected-shadow-system.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts +169 -14
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.d.ts.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js +9 -3
- package/node_modules/@fps-games/babylon-renderer/dist/shadows/types.js.map +1 -1
- package/node_modules/@fps-games/babylon-renderer/package.json +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/index.js +2 -0
- package/node_modules/@fps-games/editor-babylon/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.d.ts +34 -0
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.js +272 -0
- package/node_modules/@fps-games/editor-babylon/dist/performance-monitor.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts +6 -0
- package/node_modules/@fps-games/editor-babylon/dist/projection.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js +65 -1
- package/node_modules/@fps-games/editor-babylon/dist/projection.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/rendering.d.ts +19 -0
- package/node_modules/@fps-games/editor-babylon/dist/rendering.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/rendering.js +66 -0
- package/node_modules/@fps-games/editor-babylon/dist/rendering.js.map +1 -0
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts +5 -2
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js +65 -32
- package/node_modules/@fps-games/editor-babylon/dist/shadow-preview-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js +19 -2
- package/node_modules/@fps-games/editor-babylon/dist/transform-gizmo-controller.js.map +1 -1
- package/node_modules/@fps-games/editor-babylon/package.json +5 -5
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-rendering-actions.d.ts +8 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-rendering-actions.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-rendering-actions.js +14 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-rendering-actions.js.map +1 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js +10 -2
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-hierarchy-tree.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js +17 -0
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-icons.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js +466 -42
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-panels.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts +70 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui-types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js +595 -5
- package/node_modules/@fps-games/editor-browser/dist/local-editor-ui.js.map +1 -1
- package/node_modules/@fps-games/editor-browser/package.json +3 -3
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts +14 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/editor-session.js +34 -10
- package/node_modules/@fps-games/editor-core/dist/editor-session.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts +2 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js +11 -1
- package/node_modules/@fps-games/editor-core/dist/inspector.js.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/serialized-object.d.ts +7 -0
- package/node_modules/@fps-games/editor-core/dist/serialized-object.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-core/dist/serialized-object.js +1 -0
- package/node_modules/@fps-games/editor-core/dist/serialized-object.js.map +1 -1
- package/node_modules/@fps-games/editor-core/package.json +2 -2
- package/node_modules/@fps-games/editor-forge-play/package.json +2 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js +10 -5
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/document.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js +3 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/asset-placement/placement.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js +29 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/helpers.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts +10 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/document/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js +3 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/field-schema/schema.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts +33 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js +232 -16
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/document-sections.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/inspector/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts +12 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js +153 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/field-patch.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts +4 -2
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js +4 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/reducer.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/rendering-alpha-index.d.ts +19 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/rendering-alpha-index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/rendering-alpha-index.js +57 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/rendering-alpha-index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts +7 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/mutation/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js +620 -36
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/panel.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts +8 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js +258 -10
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/profile.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts +110 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/rendering-profile/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js +25 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/nodes.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/runtime-preview/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js +4 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/client.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts +9 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js +12 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/companion-configs.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/scene-source/types.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js +75 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/descriptors.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts +17 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js +262 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/inspector.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js +7 -3
- package/node_modules/@fps-games/editor-playable-sdk/dist/serialized-property/object.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts +6 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js +31 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/identity.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts +2 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/index.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.d.ts.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js +21 -9
- package/node_modules/@fps-games/editor-playable-sdk/dist/session/patches.js.map +1 -1
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts +151 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js +445 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/artifact.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/index.d.ts +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/index.d.ts.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/index.js +2 -0
- package/node_modules/@fps-games/editor-playable-sdk/dist/static-shadows/index.js.map +1 -0
- package/node_modules/@fps-games/editor-playable-sdk/package.json +3 -3
- package/node_modules/@fps-games/editor-protocol/package.json +1 -1
- package/package.json +8 -8
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { createStaticProjectedShadowSdfTileFromMaskPixels, } from '@fps-games/babylon-renderer';
|
|
2
|
+
export function createStaticProjectedShadowCpuWorkerProcessor() {
|
|
3
|
+
const WorkerCtor = globalThis.Worker;
|
|
4
|
+
const BlobCtor = globalThis.Blob;
|
|
5
|
+
const urlApi = globalThis.URL;
|
|
6
|
+
if (!WorkerCtor || !BlobCtor || !urlApi?.createObjectURL)
|
|
7
|
+
return null;
|
|
8
|
+
let url = null;
|
|
9
|
+
let worker = null;
|
|
10
|
+
try {
|
|
11
|
+
const blob = new BlobCtor([STATIC_SHADOW_CPU_WORKER_SCRIPT], { type: 'text/javascript' });
|
|
12
|
+
url = urlApi.createObjectURL(blob);
|
|
13
|
+
worker = new WorkerCtor(url, { name: 'StaticShadowBakeWorker' });
|
|
14
|
+
}
|
|
15
|
+
catch {
|
|
16
|
+
if (url && urlApi.revokeObjectURL)
|
|
17
|
+
urlApi.revokeObjectURL(url);
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
let nextId = 1;
|
|
21
|
+
const pending = new Map();
|
|
22
|
+
worker.onmessage = (event) => {
|
|
23
|
+
const data = event.data;
|
|
24
|
+
const id = typeof data?.id === 'number' ? data.id : 0;
|
|
25
|
+
const job = pending.get(id);
|
|
26
|
+
if (!job)
|
|
27
|
+
return;
|
|
28
|
+
pending.delete(id);
|
|
29
|
+
if (data?.error) {
|
|
30
|
+
job.reject(new Error(data.error));
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
const result = data?.result;
|
|
34
|
+
job.resolve(result
|
|
35
|
+
? {
|
|
36
|
+
sdfAlpha: new Uint8ClampedArray(result.sdfAlpha),
|
|
37
|
+
width: result.width,
|
|
38
|
+
height: result.height,
|
|
39
|
+
hasCoverage: result.hasCoverage,
|
|
40
|
+
}
|
|
41
|
+
: null);
|
|
42
|
+
};
|
|
43
|
+
worker.onerror = (event) => {
|
|
44
|
+
const error = new Error(event.message || 'Static shadow worker failed.');
|
|
45
|
+
for (const job of pending.values())
|
|
46
|
+
job.reject(error);
|
|
47
|
+
pending.clear();
|
|
48
|
+
};
|
|
49
|
+
const fallback = (input) => (createStaticProjectedShadowSdfTileFromMaskPixels(input.pixels, input.width, input.height, input.sdfRadiusPx));
|
|
50
|
+
return {
|
|
51
|
+
processSdfTile: async (input) => {
|
|
52
|
+
if (!worker)
|
|
53
|
+
return fallback(input);
|
|
54
|
+
const id = nextId;
|
|
55
|
+
nextId += 1;
|
|
56
|
+
const pixels = copyPixelsToTransferableUint8Array(input.pixels);
|
|
57
|
+
try {
|
|
58
|
+
const result = await new Promise((resolve, reject) => {
|
|
59
|
+
pending.set(id, { resolve, reject });
|
|
60
|
+
worker?.postMessage({
|
|
61
|
+
id,
|
|
62
|
+
type: 'sdf-tile',
|
|
63
|
+
pixels: pixels.buffer,
|
|
64
|
+
width: input.width,
|
|
65
|
+
height: input.height,
|
|
66
|
+
sdfRadiusPx: input.sdfRadiusPx,
|
|
67
|
+
}, [pixels.buffer]);
|
|
68
|
+
});
|
|
69
|
+
return result ?? fallback(input);
|
|
70
|
+
}
|
|
71
|
+
catch {
|
|
72
|
+
pending.delete(id);
|
|
73
|
+
return fallback(input);
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
dispose: () => {
|
|
77
|
+
for (const job of pending.values())
|
|
78
|
+
job.resolve(null);
|
|
79
|
+
pending.clear();
|
|
80
|
+
worker?.terminate();
|
|
81
|
+
worker = null;
|
|
82
|
+
if (url && urlApi.revokeObjectURL)
|
|
83
|
+
urlApi.revokeObjectURL(url);
|
|
84
|
+
url = null;
|
|
85
|
+
},
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
function copyPixelsToTransferableUint8Array(value) {
|
|
89
|
+
const source = value instanceof Uint8Array || value instanceof Uint8ClampedArray
|
|
90
|
+
? value
|
|
91
|
+
: new Uint8Array(value.buffer, value.byteOffset, value.byteLength);
|
|
92
|
+
return new Uint8Array(source);
|
|
93
|
+
}
|
|
94
|
+
const STATIC_SHADOW_CPU_WORKER_SCRIPT = `
|
|
95
|
+
self.onmessage = function(event) {
|
|
96
|
+
const data = event.data || {};
|
|
97
|
+
if (data.type !== 'sdf-tile') return;
|
|
98
|
+
try {
|
|
99
|
+
const width = Math.max(0, Math.floor(data.width || 0));
|
|
100
|
+
const height = Math.max(0, Math.floor(data.height || 0));
|
|
101
|
+
const pixels = new Uint8Array(data.pixels);
|
|
102
|
+
const result = createSdfTile(pixels, width, height, Number(data.sdfRadiusPx || 0));
|
|
103
|
+
self.postMessage({
|
|
104
|
+
id: data.id,
|
|
105
|
+
result: {
|
|
106
|
+
sdfAlpha: result.sdfAlpha.buffer,
|
|
107
|
+
width: result.width,
|
|
108
|
+
height: result.height,
|
|
109
|
+
hasCoverage: result.hasCoverage
|
|
110
|
+
}
|
|
111
|
+
}, [result.sdfAlpha.buffer]);
|
|
112
|
+
} catch (error) {
|
|
113
|
+
self.postMessage({ id: data.id, error: error && error.message ? error.message : String(error) });
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
function createSdfTile(pixels, width, height, radiusPx) {
|
|
118
|
+
const pixelCount = Math.max(0, width * height);
|
|
119
|
+
const alpha = new Uint8ClampedArray(pixelCount);
|
|
120
|
+
for (let index = 0; index < pixelCount; index += 1) alpha[index] = pixels[index * 4 + 3] || 0;
|
|
121
|
+
if (!hasCoverage(alpha)) {
|
|
122
|
+
return { sdfAlpha: new Uint8ClampedArray(pixelCount), width, height, hasCoverage: false };
|
|
123
|
+
}
|
|
124
|
+
return { sdfAlpha: createSdfAlpha(alpha, width, height, radiusPx), width, height, hasCoverage: true };
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
function hasCoverage(alpha) {
|
|
128
|
+
for (let index = 0; index < alpha.length; index += 1) if ((alpha[index] || 0) > 0) return true;
|
|
129
|
+
return false;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
function createSdfAlpha(maskAlpha, width, height, radiusPx) {
|
|
133
|
+
const pixelCount = Math.max(0, width * height);
|
|
134
|
+
const output = new Uint8ClampedArray(pixelCount);
|
|
135
|
+
if (pixelCount === 0) return output;
|
|
136
|
+
const binary = new Uint8Array(pixelCount);
|
|
137
|
+
let insideCount = 0;
|
|
138
|
+
for (let index = 0; index < pixelCount; index += 1) {
|
|
139
|
+
if ((maskAlpha[index] || 0) > 0) {
|
|
140
|
+
binary[index] = 1;
|
|
141
|
+
insideCount += 1;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
if (insideCount === 0) return output;
|
|
145
|
+
if (insideCount === pixelCount) {
|
|
146
|
+
output.fill(255);
|
|
147
|
+
return output;
|
|
148
|
+
}
|
|
149
|
+
const radius = Math.max(0, Number.isFinite(radiusPx) ? radiusPx : 0);
|
|
150
|
+
if (radius <= 0) {
|
|
151
|
+
for (let index = 0; index < pixelCount; index += 1) output[index] = binary[index] ? 255 : 0;
|
|
152
|
+
return output;
|
|
153
|
+
}
|
|
154
|
+
const distToInside = createDistanceTransform(binary, width, height, 1);
|
|
155
|
+
const distToOutside = createDistanceTransform(binary, width, height, 0);
|
|
156
|
+
for (let index = 0; index < pixelCount; index += 1) {
|
|
157
|
+
if (binary[index]) {
|
|
158
|
+
const distance = Math.min(radius, Math.sqrt(distToOutside[index] || 0));
|
|
159
|
+
output[index] = Math.round((0.5 + 0.5 * (distance / radius)) * 255);
|
|
160
|
+
} else {
|
|
161
|
+
const distance = Math.min(radius, Math.sqrt(distToInside[index] || 0));
|
|
162
|
+
output[index] = Math.round((0.5 - 0.5 * (distance / radius)) * 255);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return output;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
function createDistanceTransform(binary, width, height, featureValue) {
|
|
169
|
+
const pixelCount = width * height;
|
|
170
|
+
const temp = new Float64Array(pixelCount);
|
|
171
|
+
const output = new Float64Array(pixelCount);
|
|
172
|
+
const rowInput = new Float64Array(width);
|
|
173
|
+
const rowOutput = new Float64Array(width);
|
|
174
|
+
for (let y = 0; y < height; y += 1) {
|
|
175
|
+
const rowOffset = y * width;
|
|
176
|
+
for (let x = 0; x < width; x += 1) rowInput[x] = binary[rowOffset + x] === featureValue ? 0 : 1e20;
|
|
177
|
+
distanceTransform1d(rowInput, rowOutput, width);
|
|
178
|
+
for (let x = 0; x < width; x += 1) temp[rowOffset + x] = rowOutput[x] || 1e20;
|
|
179
|
+
}
|
|
180
|
+
const columnInput = new Float64Array(height);
|
|
181
|
+
const columnOutput = new Float64Array(height);
|
|
182
|
+
for (let x = 0; x < width; x += 1) {
|
|
183
|
+
for (let y = 0; y < height; y += 1) columnInput[y] = temp[y * width + x] || 1e20;
|
|
184
|
+
distanceTransform1d(columnInput, columnOutput, height);
|
|
185
|
+
for (let y = 0; y < height; y += 1) output[y * width + x] = columnOutput[y] || 1e20;
|
|
186
|
+
}
|
|
187
|
+
return output;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
function distanceTransform1d(input, output, length) {
|
|
191
|
+
if (length <= 0) return;
|
|
192
|
+
const v = new Int32Array(length);
|
|
193
|
+
const z = new Float64Array(length + 1);
|
|
194
|
+
let k = 0;
|
|
195
|
+
v[0] = 0;
|
|
196
|
+
z[0] = -Infinity;
|
|
197
|
+
z[1] = Infinity;
|
|
198
|
+
for (let q = 1; q < length; q += 1) {
|
|
199
|
+
let s = intersection(input, q, v[k]);
|
|
200
|
+
while (s <= z[k]) {
|
|
201
|
+
k -= 1;
|
|
202
|
+
s = intersection(input, q, v[k]);
|
|
203
|
+
}
|
|
204
|
+
k += 1;
|
|
205
|
+
v[k] = q;
|
|
206
|
+
z[k] = s;
|
|
207
|
+
z[k + 1] = Infinity;
|
|
208
|
+
}
|
|
209
|
+
k = 0;
|
|
210
|
+
for (let q = 0; q < length; q += 1) {
|
|
211
|
+
while (z[k + 1] < q) k += 1;
|
|
212
|
+
const distance = q - v[k];
|
|
213
|
+
output[q] = distance * distance + input[v[k]];
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function intersection(input, q, p) {
|
|
218
|
+
return ((input[q] + q * q) - (input[p] + p * p)) / (2 * q - 2 * p);
|
|
219
|
+
}
|
|
220
|
+
`;
|
|
221
|
+
//# sourceMappingURL=static-shadow-cpu-worker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-shadow-cpu-worker.js","sourceRoot":"","sources":["../src/static-shadow-cpu-worker.ts"],"names":[],"mappings":"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"}
|
|
@@ -6,6 +6,8 @@ export * from './shadows/planar-shadow-system';
|
|
|
6
6
|
export * from './shadows/planar-shadow-shaders';
|
|
7
7
|
export * from './shadows/blob-shadow-system';
|
|
8
8
|
export * from './shadows/blob-shadow-shaders';
|
|
9
|
-
export * from './shadows/static-projected-shadow-
|
|
9
|
+
export * from './shadows/static-projected-shadow-baker';
|
|
10
|
+
export * from './shadows/static-projected-shadow-atlas';
|
|
11
|
+
export * from './shadows/static-projected-shadow-artifact-system';
|
|
10
12
|
export * from './shadows/types';
|
|
11
13
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,iBAAiB,CAAC"}
|
|
@@ -6,6 +6,8 @@ export * from './shadows/planar-shadow-system.js';
|
|
|
6
6
|
export * from './shadows/planar-shadow-shaders.js';
|
|
7
7
|
export * from './shadows/blob-shadow-system.js';
|
|
8
8
|
export * from './shadows/blob-shadow-shaders.js';
|
|
9
|
-
export * from './shadows/static-projected-shadow-
|
|
9
|
+
export * from './shadows/static-projected-shadow-baker.js';
|
|
10
|
+
export * from './shadows/static-projected-shadow-atlas.js';
|
|
11
|
+
export * from './shadows/static-projected-shadow-artifact-system.js';
|
|
10
12
|
export * from './shadows/types.js';
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,qCAAqC,CAAC;AACpD,cAAc,eAAe,CAAC;AAC9B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yCAAyC,CAAC;AACxD,cAAc,mDAAmD,CAAC;AAClE,cAAc,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { Scene } from '@babylonjs/core/scene';
|
|
2
|
+
import { type StaticProjectedShadowArtifact, type StaticProjectedShadowArtifactOptions, type StaticProjectedShadowArtifactSystem } from './types';
|
|
3
|
+
export declare function createStaticProjectedShadowArtifactSystem(scene: Scene, artifact: StaticProjectedShadowArtifact | null | undefined, options?: Partial<StaticProjectedShadowArtifactOptions>): StaticProjectedShadowArtifactSystem;
|
|
4
|
+
//# sourceMappingURL=static-projected-shadow-artifact-system.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"static-projected-shadow-artifact-system.d.ts","sourceRoot":"","sources":["../../src/shadows/static-projected-shadow-artifact-system.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAUnD,OAAO,EAEL,KAAK,6BAA6B,EAOlC,KAAK,oCAAoC,EACzC,KAAK,mCAAmC,EAEzC,MAAM,SAAS,CAAC;AA2BjB,wBAAgB,yCAAyC,CACvD,KAAK,EAAE,KAAK,EACZ,QAAQ,EAAE,6BAA6B,GAAG,IAAI,GAAG,SAAS,EAC1D,OAAO,GAAE,OAAO,CAAC,oCAAoC,CAAM,GAC1D,mCAAmC,CAErC"}
|