@plasius/gpu-model-renderer 0.2.0 → 0.3.0
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 +33 -2
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -61,6 +61,35 @@ objects and structured clones fail closed; verify clones through
|
|
|
61
61
|
versions/module instances consistent across adapters and bridge consumers.
|
|
62
62
|
The deprecated `packageBootstrap` identity export remains compatible.
|
|
63
63
|
|
|
64
|
+
This bridge requires the published `@plasius/gpu-model-core` **0.5.0** contract.
|
|
65
|
+
Source adapters and the bridge must resolve the same core module instance and
|
|
66
|
+
module format. An equal version in a separate install, worker, or ESM/CJS module
|
|
67
|
+
instance does not share the private verification brand. Inspect
|
|
68
|
+
`npm ls @plasius/gpu-model-core` when integrating; explicitly reverify transferred
|
|
69
|
+
clones with the receiving core and its trusted resource-verification port. Do not
|
|
70
|
+
cast a plain object to a verified document or disable the brand check.
|
|
71
|
+
|
|
72
|
+
Preparation retains the additional `thickness`, `specular`, `specularColor`,
|
|
73
|
+
`iridescence`, `iridescenceThickness`, and `anisotropy` bindings, including their
|
|
74
|
+
samplers, selected UV sets, transforms, colour spaces, and verified encoded image
|
|
75
|
+
resources. Extension factors remain bounded canonical metadata. The bridge
|
|
76
|
+
preserves these contracts; the source adapter owns KHR admission, factors,
|
|
77
|
+
defaults, channels, and export, while the renderer owns actual texture sampling.
|
|
78
|
+
Missing references, mismatched slot usage, image identity, samplers, colour
|
|
79
|
+
spaces, or absent UV sets must fail core verification before preparation.
|
|
80
|
+
|
|
81
|
+
Use published renderer **0.2.53** or a compatible later release for the six
|
|
82
|
+
additional channel mappings. Its canonical mapper accepts UV0 and identity
|
|
83
|
+
transforms, and explicitly rejects unsupported UV sets or nonidentity transforms.
|
|
84
|
+
The generic bridge retains the authored data so the host can choose an appropriate
|
|
85
|
+
consumer; it never removes a transform or substitutes UV0 to evade a rejection.
|
|
86
|
+
The owning renderer contract is tracked by
|
|
87
|
+
[gpu-renderer #252](https://github.com/Plasius-LTD/gpu-renderer/issues/252).
|
|
88
|
+
Retaining fields in prepared output does not establish physical rendering fidelity or
|
|
89
|
+
[glTF #14](https://github.com/Plasius-LTD/gpu-model-gltf/issues/14) completion.
|
|
90
|
+
Keep unsupported assets on the existing consumer path until the released
|
|
91
|
+
renderer passes the real source-adapter compatibility fixtures.
|
|
92
|
+
|
|
64
93
|
Optional `diagnostics` uses the core `GpuModelDiagnosticInput` contract. Core
|
|
65
94
|
owns strict/tolerant/forensic evaluation and bounded repair/loss/evidence
|
|
66
95
|
ledgers. Strict is the default. Tolerant reports describe repairs already
|
|
@@ -118,11 +147,13 @@ prove the full format conformance matrix in site Story #1160: the current
|
|
|
118
147
|
published GLB canonical importer supports a narrower texture-free static
|
|
119
148
|
profile. Actual format-adapter support must be verified separately.
|
|
120
149
|
|
|
121
|
-
Dependencies added for this API: runtime core `0.
|
|
122
|
-
diagnostics); test-only runtime `0.2.4` and renderer `0.2.
|
|
150
|
+
Dependencies added for this API: runtime core `0.5.0` (canonical validation and
|
|
151
|
+
diagnostics); test-only runtime `0.2.4` and renderer `0.2.53` (published consumer
|
|
123
152
|
contract checks). No local package references or format SDKs are introduced.
|
|
124
153
|
See [ADR 0006](docs/adrs/adr-0006-canonical-renderer-preparation.md) and the
|
|
125
154
|
[design and NFR evidence](docs/design/canonical-renderer-preparation.md).
|
|
155
|
+
The core adoption and module-instance constraints are specified by
|
|
156
|
+
[ADR 0007](docs/adrs/adr-0007-extended-material-core-alignment.md).
|
|
126
157
|
|
|
127
158
|
Apache-2.0. See LICENSE, SECURITY.md, and legal/.
|
|
128
159
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/gpu-model-renderer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "Canonical GPU model to renderer-ready buffers and animation inputs bridge.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@eslint/js": "^10.0.1",
|
|
72
72
|
"@plasius/gpu-model-runtime": "0.2.4",
|
|
73
|
-
"@plasius/gpu-renderer": "0.2.
|
|
73
|
+
"@plasius/gpu-renderer": "0.2.53",
|
|
74
74
|
"@types/node": "^26.0.1",
|
|
75
75
|
"@typescript-eslint/eslint-plugin": "^8.59.3",
|
|
76
76
|
"@typescript-eslint/parser": "^8.59.3",
|
|
@@ -106,6 +106,6 @@
|
|
|
106
106
|
"node": ">=24"
|
|
107
107
|
},
|
|
108
108
|
"dependencies": {
|
|
109
|
-
"@plasius/gpu-model-core": "0.
|
|
109
|
+
"@plasius/gpu-model-core": "0.5.0"
|
|
110
110
|
}
|
|
111
111
|
}
|