@needle-tools/three-mesh-effects 0.3.5 → 0.3.7
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/CHANGELOG.md +33 -28
- package/README.md +63 -231
- package/SKILL.md +11 -68
- package/build/box-impostor-runtime.js +652 -257
- package/build/box-impostor-runtime.js.map +4 -4
- package/build/deformation-runtime.js +1 -1
- package/build/deformation-runtime.js.map +1 -1
- package/build/hull-effects.js.map +1 -1
- package/build/impostor-runtime.js +2 -2
- package/build/impostor-runtime.js.map +2 -2
- package/build/index.js +2 -2
- package/build/index.js.map +2 -2
- package/build/internal/box-impostor/box-impostor-display.js +662 -265
- package/build/internal/box-impostor/box-impostor-display.js.map +4 -4
- package/build/internal/box-impostor/box-impostor-material.js +662 -265
- package/build/internal/box-impostor/box-impostor-material.js.map +4 -4
- package/build/internal/box-impostor/box-impostor-ray-bounds.js +369 -0
- package/build/internal/box-impostor/box-impostor-ray-bounds.js.map +7 -0
- package/build/internal/box-impostor/box-impostor-runtime.js +652 -257
- package/build/internal/box-impostor/box-impostor-runtime.js.map +4 -4
- package/build/internal/deformation/rig-runtime.js +1 -1
- package/build/internal/deformation/rig-runtime.js.map +1 -1
- package/build/internal/impostor/impostor-node-material.js +2 -2
- package/build/internal/impostor/impostor-node-material.js.map +2 -2
- package/build/internal/impostor/octahedral.js.map +1 -1
- package/build/internal/pixel-impostor/pixel-impostor-display.js +39 -16
- package/build/internal/pixel-impostor/pixel-impostor-display.js.map +2 -2
- package/build/internal/pixel-impostor/pixel-impostor-metadata.js +61 -6
- package/build/internal/pixel-impostor/pixel-impostor-metadata.js.map +2 -2
- package/build/internal/pixel-impostor/pixel-impostor-runtime.js +980 -26
- package/build/internal/pixel-impostor/pixel-impostor-runtime.js.map +4 -4
- package/build/internal/rendering/hull-effect-runtime.js.map +1 -1
- package/build/internal/rendering/renderer-support.js.map +1 -1
- package/build/internal/rendering/skin-projection.js.map +1 -1
- package/build/internal/rendering/surface-query.js.map +1 -1
- package/build/internal/rendering/wrap-preview.js.map +1 -1
- package/build/internal/rendering/wrap-skin.js.map +1 -1
- package/build/pixel-impostor-runtime.js +362 -172
- package/build/pixel-impostor-runtime.js.map +4 -4
- package/build/types/box-impostor/box-impostor-material.d.ts +2 -1
- package/build/types/box-impostor/box-impostor-ray-bounds.d.ts +6 -0
- package/build/types/box-impostor/box-impostor-ray-bounds.js +1 -0
- package/build/types/deformation/rig-runtime.d.ts +1 -1
- package/build/types/impostor/octahedral.d.ts +1 -1
- package/build/types/pixel-impostor/pixel-impostor-display.d.ts +3 -3
- package/build/types/pixel-impostor/pixel-impostor-metadata.d.ts +76 -5
- package/build/types/pixel-impostor/pixel-impostor-runtime.d.ts +19 -7
- package/build/types/public/pixel-impostor-runtime.d.ts +1 -1
- package/build/types/rendering/renderer-support.d.ts +1 -1
- package/build/types/rendering/surface-query.d.ts +2 -2
- package/package.json +2 -2
- package/src/box-impostor/box-impostor-material.js +128 -90
- package/src/box-impostor/box-impostor-ray-bounds.js +452 -0
- package/src/deformation/rig-runtime.ts +1 -1
- package/src/impostor/impostor-node-material.js +2 -2
- package/src/impostor/octahedral.js +1 -1
- package/src/pixel-impostor/pixel-impostor-display.js +32 -18
- package/src/pixel-impostor/pixel-impostor-metadata.js +69 -9
- package/src/pixel-impostor/pixel-impostor-runtime.js +32 -9
- package/src/public/index.js +2 -2
- package/src/public/pixel-impostor-runtime.js +1 -1
- package/src/rendering/renderer-support.js +1 -1
- package/src/rendering/surface-query.js +2 -2
|
@@ -2,13 +2,50 @@
|
|
|
2
2
|
|
|
3
3
|
// src/pixel-impostor/pixel-impostor-metadata.js
|
|
4
4
|
var NEEDLE_PIXEL_IMPOSTOR = "NEEDLE_pixel_impostor";
|
|
5
|
+
var DEFAULT_PIXEL_IMPOSTOR_DISPLAY = Object.freeze({
|
|
6
|
+
mode: (
|
|
7
|
+
/** @type {PixelImpostorDisplay['mode']} */
|
|
8
|
+
"geometry"
|
|
9
|
+
),
|
|
10
|
+
pixelSize: 5,
|
|
11
|
+
splatScale: 1,
|
|
12
|
+
snapMode: (
|
|
13
|
+
/** @type {PixelImpostorDisplay['snapMode']} */
|
|
14
|
+
"nearest-grid"
|
|
15
|
+
),
|
|
16
|
+
antialias: true,
|
|
17
|
+
pbr: true,
|
|
18
|
+
projectedNormalMix: 1
|
|
19
|
+
});
|
|
20
|
+
var PIXEL_IMPOSTOR_VOLUME_MODES = Object.freeze(
|
|
21
|
+
/** @type {const} */
|
|
22
|
+
["raycast", "screen-pixels"]
|
|
23
|
+
);
|
|
24
|
+
function normalizePixelImpostorDisplay(input = {}) {
|
|
25
|
+
const value = { ...DEFAULT_PIXEL_IMPOSTOR_DISPLAY, ...input };
|
|
26
|
+
if (!["geometry", "vertex-snap", "raycast", "screen-pixels"].includes(value.mode) || !Number.isInteger(value.pixelSize) || value.pixelSize < 1 || value.pixelSize > 64 || !Number.isFinite(value.splatScale) || value.splatScale <= 0 || value.splatScale > 4 || !["nearest-grid", "single-cell", "center-only"].includes(value.snapMode) || typeof value.antialias !== "boolean" || typeof value.pbr !== "boolean" || !Number.isFinite(value.projectedNormalMix) || value.projectedNormalMix < 0 || value.projectedNormalMix > 1)
|
|
27
|
+
throw new Error("Invalid pixel impostor display settings.");
|
|
28
|
+
return {
|
|
29
|
+
mode: value.mode,
|
|
30
|
+
pixelSize: value.pixelSize,
|
|
31
|
+
splatScale: value.splatScale,
|
|
32
|
+
snapMode: value.snapMode,
|
|
33
|
+
antialias: value.antialias,
|
|
34
|
+
pbr: value.pbr,
|
|
35
|
+
projectedNormalMix: value.projectedNormalMix
|
|
36
|
+
};
|
|
37
|
+
}
|
|
5
38
|
function parsePixelImpostorDescriptor(value) {
|
|
6
39
|
if (!value || typeof value !== "object") return null;
|
|
7
40
|
const raw = (
|
|
8
41
|
/** @type {Record<string, unknown>} */
|
|
9
42
|
value
|
|
10
43
|
);
|
|
11
|
-
|
|
44
|
+
const v4 = typeof raw.version === "string" && /^4\.(?:0|[1-9][0-9]*)$/.test(raw.version);
|
|
45
|
+
if (![1, 2, 3].includes(
|
|
46
|
+
/** @type {number} */
|
|
47
|
+
raw.version
|
|
48
|
+
) && !v4 || !triplet(raw.dimensions) || !triplet(raw.volumeMin) || !triplet(raw.volumeSize)) return null;
|
|
12
49
|
const dimensions = (
|
|
13
50
|
/** @type {number[]} */
|
|
14
51
|
raw.dimensions
|
|
@@ -28,14 +65,24 @@ function parsePixelImpostorDescriptor(value) {
|
|
|
28
65
|
/** @type {number[]} */
|
|
29
66
|
raw.occupiedSize
|
|
30
67
|
) : volumeSize;
|
|
31
|
-
if (!dimensions.every((item) => Number.isInteger(item) && item > 0) || !volumeSize.every((item) => Number.isFinite(item) && item > 0) || !occupiedSize.every((item) => Number.isFinite(item) && item > 0) ||
|
|
32
|
-
|
|
33
|
-
|
|
68
|
+
if (!dimensions.every((item) => Number.isInteger(item) && item > 0) || !volumeSize.every((item) => Number.isFinite(item) && item > 0) || !occupiedSize.every((item) => Number.isFinite(item) && item > 0) || v4 && raw.storage !== "sparse" && raw.storage !== "dense") return null;
|
|
69
|
+
if (!((raw.version === 3 || v4) && raw.storage === "sparse") && (!Number.isInteger(raw.atlasColumns) || Number(raw.atlasColumns) < 1 || !Number.isInteger(raw.atlasRows) || Number(raw.atlasRows) < 1)) return null;
|
|
70
|
+
const sparse = (raw.version === 3 || v4) && raw.storage === "sparse";
|
|
71
|
+
let display = null;
|
|
72
|
+
try {
|
|
73
|
+
display = raw.display && typeof raw.display === "object" ? normalizePixelImpostorDisplay(
|
|
74
|
+
/** @type {Partial<PixelImpostorDisplay>} */
|
|
75
|
+
raw.display
|
|
76
|
+
) : null;
|
|
77
|
+
} catch {
|
|
78
|
+
display = null;
|
|
79
|
+
}
|
|
80
|
+
if (raw.version === 3 && !sparse || sparse && (!Number.isInteger(raw.surfaceCount) || Number(raw.surfaceCount) < 1 || !pair(raw.surfaceAtlasSize) || !pair(raw.indexAtlasSize))) return null;
|
|
34
81
|
return (
|
|
35
82
|
/** @type {PixelImpostorDescriptor} */
|
|
36
83
|
{
|
|
37
84
|
version: (
|
|
38
|
-
/** @type {1 | 2 | 3} */
|
|
85
|
+
/** @type {1 | 2 | 3 | string} */
|
|
39
86
|
raw.version
|
|
40
87
|
),
|
|
41
88
|
dimensions: [...dimensions],
|
|
@@ -54,7 +101,12 @@ function parsePixelImpostorDescriptor(value) {
|
|
|
54
101
|
raw.surfaceAtlasSize],
|
|
55
102
|
indexAtlasSize: [.../** @type {number[]} */
|
|
56
103
|
raw.indexAtlasSize]
|
|
57
|
-
} : {}
|
|
104
|
+
} : {},
|
|
105
|
+
...display ? { display } : {},
|
|
106
|
+
...v4 && raw.voxelShell === false ? { voxelShell: (
|
|
107
|
+
/** @type {const} */
|
|
108
|
+
false
|
|
109
|
+
) } : {}
|
|
58
110
|
}
|
|
59
111
|
);
|
|
60
112
|
}
|
|
@@ -65,7 +117,10 @@ function pair(value) {
|
|
|
65
117
|
return Array.isArray(value) && value.length === 2 && value.every((item) => Number.isInteger(item) && item > 0);
|
|
66
118
|
}
|
|
67
119
|
export {
|
|
120
|
+
DEFAULT_PIXEL_IMPOSTOR_DISPLAY,
|
|
68
121
|
NEEDLE_PIXEL_IMPOSTOR,
|
|
122
|
+
PIXEL_IMPOSTOR_VOLUME_MODES,
|
|
123
|
+
normalizePixelImpostorDisplay,
|
|
69
124
|
parsePixelImpostorDescriptor
|
|
70
125
|
};
|
|
71
126
|
//# sourceMappingURL=pixel-impostor-metadata.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/pixel-impostor/pixel-impostor-metadata.js"],
|
|
4
|
-
"sourcesContent": ["// @ts-check\n\nexport const NEEDLE_PIXEL_IMPOSTOR = 'NEEDLE_pixel_impostor';\n\n/**\n * @typedef {object} PixelImpostorDescriptor\n * @property {1 | 2 | 3} version\n * @property {[number, number, number]} dimensions\n * @property {number} atlasColumns\n * @property {number} atlasRows\n * @property {[number, number, number]} volumeMin\n * @property {[number, number, number]} volumeSize\n * @property {[number, number, number]} occupiedMin\n * @property {[number, number, number]} occupiedSize\n * @property {number} alphaCutoff\n * @property {'dense' | 'sparse'} storage\n * @property {number=} surfaceCount\n * @property {[number, number]=} surfaceAtlasSize\n * @property {[number, number]=} indexAtlasSize\n */\n\n/** @param {unknown} value @returns {PixelImpostorDescriptor | null} */\nexport function parsePixelImpostorDescriptor(value) {\n if (!value || typeof value !== 'object') return null;\n const raw = /** @type {Record<string, unknown>} */ (value);\n
|
|
5
|
-
"mappings": ";;;AAEO,IAAM,wBAAwB;
|
|
4
|
+
"sourcesContent": ["// @ts-check\n\nexport const NEEDLE_PIXEL_IMPOSTOR = 'NEEDLE_pixel_impostor';\n\n/**\n * @typedef {object} PixelImpostorDescriptor\n * @property {1 | 2 | 3 | string} version The integers 1 and 2 (dense storage) and 3 (sparse storage), or\n * `\"<major>.<minor>\"` from 4.0: either storage, and the primitive can be the volume's box (`voxelShell`).\n * Readers read every minor version of a major version they know, ignoring properties they do not\n * know, and ignore other major versions (older readers ignore every string version).\n * @property {[number, number, number]} dimensions\n * @property {number} atlasColumns\n * @property {number} atlasRows\n * @property {[number, number, number]} volumeMin\n * @property {[number, number, number]} volumeSize\n * @property {[number, number, number]} occupiedMin\n * @property {[number, number, number]} occupiedSize\n * @property {number} alphaCutoff\n * @property {'dense' | 'sparse'} storage\n * @property {number=} surfaceCount\n * @property {[number, number]=} surfaceAtlasSize\n * @property {[number, number]=} indexAtlasSize\n * @property {PixelImpostorDisplay=} display How the asset is meant to be shown; loaders given a renderer apply it.\n * @property {false=} voxelShell Version 4.x: `false` when the primitive is the volume's box rather than the\n * voxel shell, written for the `raycast` and `screen-pixels` modes, which trace the volume. Such a\n * file has no `geometry` display, and viewers without the extension draw the box.\n */\n\n/**\n * @typedef {object} PixelImpostorDisplay\n * @property {'geometry' | 'vertex-snap' | 'raycast' | 'screen-pixels'} mode `geometry` draws the voxel shell;\n * the other modes are shaders. `raycast` and `screen-pixels` trace the volume and need no shell.\n * @property {number} pixelSize Superpixel size in CSS pixels (`vertex-snap`, `screen-pixels`).\n * @property {number} splatScale Splat size relative to the voxel footprint (`vertex-snap`).\n * @property {'nearest-grid' | 'single-cell' | 'center-only'} snapMode Splat grid mode (`vertex-snap`).\n * @property {boolean} antialias Four rotated subpixel rays per pixel (`raycast`).\n * @property {boolean} pbr Use the baked occlusion, roughness and metallic data.\n * @property {number} projectedNormalMix Strength of the baked object-space normals, 0 to 1.\n */\n\n/** @type {Readonly<PixelImpostorDisplay>} */\nexport const DEFAULT_PIXEL_IMPOSTOR_DISPLAY = Object.freeze({\n mode: /** @type {PixelImpostorDisplay['mode']} */ ('geometry'),\n pixelSize: 5,\n splatScale: 1,\n snapMode: /** @type {PixelImpostorDisplay['snapMode']} */ ('nearest-grid'),\n antialias: true,\n pbr: true,\n projectedNormalMix: 1,\n});\n\n/** Display modes that trace the volume: they draw a box and need no voxel shell. */\nexport const PIXEL_IMPOSTOR_VOLUME_MODES = Object.freeze(/** @type {const} */ (['raycast', 'screen-pixels']));\n\n/** @param {Partial<PixelImpostorDisplay>} [input] @returns {PixelImpostorDisplay} */\nexport function normalizePixelImpostorDisplay(input = {}) {\n const value = { ...DEFAULT_PIXEL_IMPOSTOR_DISPLAY, ...input };\n if (!['geometry', 'vertex-snap', 'raycast', 'screen-pixels'].includes(value.mode)\n || !Number.isInteger(value.pixelSize) || value.pixelSize < 1 || value.pixelSize > 64\n || !Number.isFinite(value.splatScale) || value.splatScale <= 0 || value.splatScale > 4\n || !['nearest-grid', 'single-cell', 'center-only'].includes(value.snapMode)\n || typeof value.antialias !== 'boolean' || typeof value.pbr !== 'boolean'\n || !Number.isFinite(value.projectedNormalMix) || value.projectedNormalMix < 0 || value.projectedNormalMix > 1)\n throw new Error('Invalid pixel impostor display settings.');\n return {\n mode: value.mode, pixelSize: value.pixelSize, splatScale: value.splatScale, snapMode: value.snapMode,\n antialias: value.antialias, pbr: value.pbr, projectedNormalMix: value.projectedNormalMix,\n };\n}\n\n/** @param {unknown} value @returns {PixelImpostorDescriptor | null} */\nexport function parsePixelImpostorDescriptor(value) {\n if (!value || typeof value !== 'object') return null;\n const raw = /** @type {Record<string, unknown>} */ (value);\n const v4 = typeof raw.version === 'string' && /^4\\.(?:0|[1-9][0-9]*)$/.test(raw.version);\n if ((![1, 2, 3].includes(/** @type {number} */ (raw.version)) && !v4) || !triplet(raw.dimensions) || !triplet(raw.volumeMin)\n || !triplet(raw.volumeSize)) return null;\n const dimensions = /** @type {number[]} */ (raw.dimensions);\n const volumeSize = /** @type {number[]} */ (raw.volumeSize);\n const occupiedMin = triplet(raw.occupiedMin)\n ? /** @type {number[]} */ (raw.occupiedMin)\n : /** @type {number[]} */ (raw.volumeMin);\n const occupiedSize = triplet(raw.occupiedSize)\n ? /** @type {number[]} */ (raw.occupiedSize)\n : volumeSize;\n if (!dimensions.every((item) => Number.isInteger(item) && item > 0)\n || !volumeSize.every((item) => Number.isFinite(item) && item > 0)\n || !occupiedSize.every((item) => Number.isFinite(item) && item > 0)\n || (v4 && raw.storage !== 'sparse' && raw.storage !== 'dense')) return null;\n if (!((raw.version === 3 || v4) && raw.storage === 'sparse')\n && (!Number.isInteger(raw.atlasColumns) || Number(raw.atlasColumns) < 1\n || !Number.isInteger(raw.atlasRows) || Number(raw.atlasRows) < 1)) return null;\n // version 3 is sparse; version 4.x names its storage\n const sparse = (raw.version === 3 || v4) && raw.storage === 'sparse';\n /** @type {PixelImpostorDisplay | null} */\n let display = null;\n try {\n display = raw.display && typeof raw.display === 'object' ? normalizePixelImpostorDisplay(/** @type {Partial<PixelImpostorDisplay>} */ (raw.display)) : null;\n } catch { display = null; } // an unknown display falls back to the reader's default\n if ((raw.version === 3 && !sparse) || (sparse && (\n !Number.isInteger(raw.surfaceCount) || Number(raw.surfaceCount) < 1\n || !pair(raw.surfaceAtlasSize) || !pair(raw.indexAtlasSize)))) return null;\n return /** @type {PixelImpostorDescriptor} */ ({\n version: /** @type {1 | 2 | 3 | string} */ (raw.version),\n dimensions: [...dimensions],\n atlasColumns: sparse ? 0 : Number(raw.atlasColumns),\n atlasRows: sparse ? 0 : Number(raw.atlasRows),\n volumeMin: [.../** @type {number[]} */ (raw.volumeMin)],\n volumeSize: [...volumeSize],\n occupiedMin: [...occupiedMin],\n occupiedSize: [...occupiedSize],\n alphaCutoff: Number.isFinite(raw.alphaCutoff) ? Number(raw.alphaCutoff) : 0.5,\n storage: sparse ? 'sparse' : 'dense',\n ...(sparse ? {\n surfaceCount: Number(raw.surfaceCount),\n surfaceAtlasSize: [.../** @type {number[]} */ (raw.surfaceAtlasSize)],\n indexAtlasSize: [.../** @type {number[]} */ (raw.indexAtlasSize)],\n } : {}),\n ...(display ? { display } : {}),\n ...(v4 && raw.voxelShell === false ? { voxelShell: /** @type {const} */ (false) } : {}),\n });\n}\n\n/** @param {unknown} value */\nfunction triplet(value) {\n return Array.isArray(value) && value.length === 3\n && value.every((item) => Number.isFinite(item));\n}\n\n/** @param {unknown} value */\nfunction pair(value) {\n return Array.isArray(value) && value.length === 2\n && value.every((item) => Number.isInteger(item) && item > 0);\n}\n"],
|
|
5
|
+
"mappings": ";;;AAEO,IAAM,wBAAwB;AAuC9B,IAAM,iCAAiC,OAAO,OAAO;AAAA,EAC1D;AAAA;AAAA,IAAmD;AAAA;AAAA,EACnD,WAAW;AAAA,EACX,YAAY;AAAA,EACZ;AAAA;AAAA,IAA2D;AAAA;AAAA,EAC3D,WAAW;AAAA,EACX,KAAK;AAAA,EACL,oBAAoB;AACtB,CAAC;AAGM,IAAM,8BAA8B,OAAO;AAAA;AAAA,EAA6B,CAAC,WAAW,eAAe;AAAE;AAGrG,SAAS,8BAA8B,QAAQ,CAAC,GAAG;AACxD,QAAM,QAAQ,EAAE,GAAG,gCAAgC,GAAG,MAAM;AAC5D,MAAI,CAAC,CAAC,YAAY,eAAe,WAAW,eAAe,EAAE,SAAS,MAAM,IAAI,KAC3E,CAAC,OAAO,UAAU,MAAM,S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