@plasius/gpu-shared 0.1.19 → 1.0.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/CHANGELOG.md CHANGED
@@ -4,6 +4,34 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ - **Added**
8
+ - (placeholder)
9
+
10
+ - **Changed**
11
+ - (placeholder)
12
+
13
+ - **Fixed**
14
+ - (placeholder)
15
+
16
+ - **Security**
17
+ - (placeholder)
18
+
19
+ ## [1.0.0] - 2026-06-27
20
+
21
+ - **Added**
22
+ - (placeholder)
23
+
24
+ - **Changed**
25
+ - (placeholder)
26
+
27
+ - **Fixed**
28
+ - (placeholder)
29
+
30
+ - **Security**
31
+ - (placeholder)
32
+
33
+ ## [0.1.20] - 2026-06-22
34
+
7
35
  - **Added**
8
36
  - (placeholder)
9
37
 
@@ -20,7 +48,7 @@ All notable changes to this project will be documented in this file.
20
48
 
21
49
  - **Added**
22
50
  - Deterministic showcase asset generation for a richer shared brigantine,
23
- cutter, lighthouse, and harbor-dock catalog.
51
+ cutter, lighthouse, harbor-dock, and shoreline catalog.
24
52
  - Fullscreen capture mode for slide-deck screenshots and video recording,
25
53
  including scene-only layout and bounded 1080p canvas scaling.
26
54
  - Bundled `en-GB` translation keys and dictionaries for shared showcase labels
@@ -30,6 +58,16 @@ All notable changes to this project will be documented in this file.
30
58
  delegation to the `@plasius/gpu-renderer` WebGPU wavefront renderer.
31
59
 
32
60
  - **Changed**
61
+ - Reworked the shared harbor showcase chrome into a render-first canvas with
62
+ compact controls and a collapsed runtime diagnostics drawer instead of
63
+ always-visible hero, status, sidebar, and footer panels.
64
+ - Improved the shared harbor shoreline presentation with a denser near-band
65
+ water mesh, generated shoreline/breakwater geometry, broken waterline foam,
66
+ subtler wake/ripple metadata, calmer ship traffic, and less exaggerated
67
+ cloth material cues.
68
+ - Re-exported `buildProductStudioSceneObjects(...)` as a compatibility alias
69
+ of `createProductStudioMeshes(...)` so browser validation pages and runtime
70
+ scene loaders can consume one stable Product Studio scene-builder contract.
33
71
  - Lowered Product Studio wavefront renderer defaults to a host-safe `640x360`
34
72
  frame at `maxDepth: 2` so browser demos do not start with a heavy 720p
35
73
  depth-6 GPU workload.
@@ -291,3 +329,5 @@ All notable changes to this project will be documented in this file.
291
329
  [0.1.10]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.10
292
330
  [0.1.11]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.11
293
331
  [0.1.19]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.19
332
+ [0.1.20]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v0.1.20
333
+ [1.0.0]: https://github.com/Plasius-LTD/gpu-shared/releases/tag/v1.0.0
package/README.md CHANGED
@@ -30,8 +30,8 @@ npm install @plasius/gpu-shared
30
30
  - Preserves one shared fix point for cloth motion, visible water continuity, and
31
31
  occluded harbor-light reflections across GPU demo consumers.
32
32
  - Ships a package-owned showcase asset catalog with distinct brigantine,
33
- cutter, lighthouse, and harbor-dock models instead of relying on one tiny
34
- hull mesh plus placeholder box geometry.
33
+ cutter, lighthouse, harbor-dock, and shoreline models instead of relying on
34
+ one tiny hull mesh plus placeholder box geometry.
35
35
  - Converts Product Studio GLTF primitives into triangle mesh inputs for the
36
36
  renderer-owned mesh-BVH wavefront path instead of customer-visible analytic
37
37
  scene objects.
@@ -132,7 +132,10 @@ await mountGpuShowcase({
132
132
  The legacy analytic proxy scene-object path is disabled and is not a customer
133
133
  visible fallback. Stale callers must move to `createProductStudioMeshes(...)`
134
134
  or `mountGpuShowcase({ demoMode: "product-studio" })`, both of which use mesh
135
- inputs for renderer-owned BVH construction.
135
+ inputs for renderer-owned BVH construction. For compatibility with older demo
136
+ pages and validation harnesses, the package also re-exports
137
+ `buildProductStudioSceneObjects(...)` as an alias of
138
+ `createProductStudioMeshes(...)`.
136
139
 
137
140
  Install `@plasius/gpu-renderer` alongside `@plasius/gpu-shared` when Product
138
141
  Studio mode is used. Harbor-only consumers do not need the renderer peer.
@@ -185,17 +188,26 @@ Then open `http://localhost:8000/gpu-shared/demo/`.
185
188
  This package demo mounts the integrated harbor showcase so the shared runtime
186
189
  can be validated independently of `gpu-demo-viewer`.
187
190
 
188
- The integrated scene now includes a persistent flag cloth state, visible ship
189
- wakes and collision ripples, and water reflections that are occluded by later
191
+ The harbor showcase uses a render-first canvas layout with compact pause,
192
+ stress, and focus controls plus a collapsed runtime diagnostics drawer. The
193
+ older always-visible hero, status, metrics, notes, and validation footer panels
194
+ are no longer part of the default viewport, so consumers can embed the runtime
195
+ inside production showcase pages without debug copy occupying the render area.
196
+
197
+ The integrated scene now includes a persistent flag cloth state, subdued ship
198
+ wakes and waterline ripples, and water reflections that are occluded by later
190
199
  ship geometry instead of being painted through hulls. The harbor surface reads
191
200
  the banded `@plasius/gpu-fluid` continuity envelope directly, so the default
192
201
  camera keeps finite, visibly animated near-band water motion instead of
193
- flattening or dropping the shared water mesh.
202
+ flattening or dropping the shared water mesh. The near shoreline band now
203
+ includes denser water geometry, broken foam segments tied to modeled rocks, and
204
+ lower-contrast ripple highlights, while the flag cloth carries subtle material
205
+ cues for weave, folds, and pinned-edge continuity.
194
206
 
195
207
  The default showcase asset set now uses a multi-primitive brigantine, a
196
- distinct cutter profile, a modeled lighthouse, and a modeled dock/warehouse
197
- scene so the harbor reads closer to a believable coastal night view on high-end
198
- machines.
208
+ distinct cutter profile, a modeled lighthouse, a dock/warehouse scene, and a
209
+ generated rocky shoreline/breakwater so the harbor reads closer to a believable
210
+ coastal night view on high-end machines.
199
211
 
200
212
  For slide-deck screenshots or video capture, open the route with
201
213
  `?capture=1&renderScale=1`. Capture mode hides the validation chrome, fills the
@@ -233,10 +245,11 @@ surface for these family demos.
233
245
  - `resolveShowcaseAssetUrl(baseUrlOrAssetName?, assetName?)`
234
246
  - `showcaseFocusModes`
235
247
 
236
- `resolveShowcaseAssetUrl()` keeps consumers on the package-owned brigantine
237
- asset URL. If a host cannot actually serve that asset, `loadGltfModel()`
238
- lazily activates the built-in inline fallback instead of eagerly parsing that
239
- payload in the top-level package entrypoint.
248
+ `resolveShowcaseAssetUrl()` keeps consumers on package-owned showcase asset
249
+ URLs and still defaults to the brigantine for backward compatibility. If a host
250
+ cannot actually serve that asset, `loadGltfModel()` lazily activates the
251
+ built-in inline fallback instead of eagerly parsing that payload in the
252
+ top-level package entrypoint.
240
253
 
241
254
  ## Development
242
255