@plasius/gpu-demo-viewer 0.1.10 → 0.2.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 +32 -0
- package/README.md +11 -0
- package/docs/adrs/adr-0006-composite-study-consumer.md +21 -0
- package/docs/adrs/index.md +1 -0
- package/docs/batch-four-qualification.json +241 -0
- package/docs/catalogue-production-rollout.md +34 -4
- package/docs/composite-model-studies.md +65 -0
- package/model-library/catalogue.json +911 -1
- package/model-library/controller.js +1 -1
- package/model-library/index.html +2 -2
- package/model-library/main.js +19 -11
- package/model-library/rollout.json +71 -71
- package/model-library/scenes.js +54 -0
- package/package.json +5 -5
|
@@ -20,7 +20,7 @@ export function createReviewController({ load, onState }) {
|
|
|
20
20
|
const id = ++generation;
|
|
21
21
|
abort?.abort(); active?.destroy(); active = undefined;
|
|
22
22
|
abort = new AbortController();
|
|
23
|
-
if (!asset.entry) { onState({kind:'missing', asset, message:'Download deferred. This model is not installed.'}); return; }
|
|
23
|
+
if (!asset.entry && !asset.models?.length) { onState({kind:'missing', asset, message:'Download deferred. This model is not installed.'}); return; }
|
|
24
24
|
onState({kind:'loading',asset});
|
|
25
25
|
try {
|
|
26
26
|
const runtime = await load(asset, abort.signal);
|
package/model-library/index.html
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
</script></head>
|
|
17
17
|
<body><header><a href="https://plasius.co.uk/" target="_blank" rel="noopener">PLASIUS</a><span>Renderer workshop · Local review</span></header>
|
|
18
18
|
<main><div class="intro"><p class="eyebrow">From source to scene</p><h1>Model studies</h1><p>Original assets. One renderer. Explore the surfaces, silhouettes and details that will shape our next improvements.</p></div>
|
|
19
|
-
<div class="workspace"><aside><label for="model">Choose a model</label><select id="model" disabled></select><p id="category" class="muted"></p><h2 id="name"></h2><p id="target"></p><p id="note"></p><div id="metrics" class="metrics"></div>
|
|
20
|
-
<details><summary>Source and licence</summary><p id="credits"></p><p><a id="source" target="_blank" rel="noopener">Original model</a> · <a id="licence" target="_blank" rel="noopener"></a></p><p>Original files retained. Framing is normalized for inspection. Powered by Poly Haven for its asset metadata.</p></details>
|
|
19
|
+
<div class="workspace"><aside><label for="model">Choose a model or study</label><select id="model" disabled></select><p id="category" class="muted"></p><h2 id="name"></h2><p id="target"></p><p id="note"></p><div id="metrics" class="metrics"></div>
|
|
20
|
+
<details><summary>Source and licence</summary><p id="credits"></p><p id="source-line"><a id="source" target="_blank" rel="noopener">Original model</a> · <a id="licence" target="_blank" rel="noopener"></a></p><ul id="composite-credits" hidden></ul><p>Original files retained. Framing is normalized for inspection. Powered by Poly Haven for its asset metadata.</p></details>
|
|
21
21
|
<details><summary>Camera help</summary><p id="help">Drag to orbit. Shift-drag or right-drag to truck. Alt-drag to pan. Scroll to move closer; Shift-scroll changes the lens. Touch: one finger orbits; two fingers move and pinch. Keyboard: arrows orbit, Shift-arrows truck, + / − move closer or further, Home resets. Keys 1–5 choose orbit, truck, pan, dolly or zoom. Press ? for a brief reminder.</p></details>
|
|
22
22
|
<details open><summary>Review focus</summary><p id="review"></p><p>This is an inspection pass, not a visual-quality approval. Source animations are retained on disk; this view displays static geometry.</p></details></aside>
|
|
23
23
|
<section class="stage" aria-label="Model inspection">
|
package/model-library/main.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { createReviewController, fixtureRequest, reviewEnabled } from './controller.js';
|
|
2
|
+
import { compositeStudies, compositeRequest, renderCompositeCredits } from './scenes.js';
|
|
2
3
|
|
|
3
4
|
export async function mountLibrary({document:doc=globalThis.document,window:win=globalThis.window,
|
|
4
5
|
fetch:request=globalThis.fetch,importRuntime=()=>import('@plasius/gpu-shared/model-inspection')}={}) {
|
|
@@ -10,11 +11,12 @@ export async function mountLibrary({document:doc=globalThis.document,window:win=
|
|
|
10
11
|
const response=await request(new URL('./catalogue.json',win.location.href));
|
|
11
12
|
if (!response.ok) throw new Error('Model catalogue could not be loaded.');
|
|
12
13
|
const {assets}=await response.json();
|
|
13
|
-
|
|
14
|
+
const studies=compositeStudies(assets), selections=[...assets,...studies];
|
|
15
|
+
for(const asset of selections) {
|
|
14
16
|
const option=doc.createElement('option');option.value=asset.key;
|
|
15
|
-
option.textContent=asset.name+(asset.entry?'':' — deferred');el('model').append(option);
|
|
17
|
+
option.textContent=asset.name+(asset.models?' — composite study':asset.entry?'':' — deferred');el('model').append(option);
|
|
16
18
|
}
|
|
17
|
-
const {createModelInspection}=await importRuntime();
|
|
19
|
+
const {createModelInspection,createSceneInspection}=await importRuntime();
|
|
18
20
|
el('samples').value='64';el('bounces').value='6';el('resolution').value='800';el('denoise').checked=true;
|
|
19
21
|
const quality=()=>{
|
|
20
22
|
const [width,fixedHeight]=el('resolution').value.split('x').map(Number);
|
|
@@ -28,9 +30,11 @@ export async function mountLibrary({document:doc=globalThis.document,window:win=
|
|
|
28
30
|
};
|
|
29
31
|
const controller=createReviewController({
|
|
30
32
|
load:async(asset,signal)=>{
|
|
31
|
-
const
|
|
33
|
+
const base=new URL('./',win.location.href);
|
|
34
|
+
const request=asset.models?compositeRequest(asset,base):fixtureRequest(asset,base);
|
|
32
35
|
el('canvas').hidden=false;
|
|
33
|
-
|
|
36
|
+
const inspect=asset.models?createSceneInspection:createModelInspection;
|
|
37
|
+
return inspect({canvas:el('canvas'),...request,signal,enabled:true,
|
|
34
38
|
...quality(),quality:quality(),
|
|
35
39
|
onProgress:p=>{if(!signal.aborted)refinement(p);},
|
|
36
40
|
onHintChange:visible=>{el('hint').hidden=!visible;},
|
|
@@ -42,23 +46,27 @@ export async function mountLibrary({document:doc=globalThis.document,window:win=
|
|
|
42
46
|
if(state.kind==='loading')status.textContent=`Loading ${state.asset.name} and checking its files…`;
|
|
43
47
|
else if(state.kind==='ready') {
|
|
44
48
|
status.textContent=`${state.asset.review_status==='needs-fix'?'Rendered — visual defect recorded':'Ready'} · ${state.asset.name} · ${state.runtime.triangleCount.toLocaleString()} triangles · ${state.runtime.primitiveCount} mesh primitives`;
|
|
45
|
-
el('metrics').textContent=`${state.runtime.triangleCount.toLocaleString()} triangles · ${state.asset.inspection.materials} source materials`;
|
|
49
|
+
el('metrics').textContent=`${state.runtime.triangleCount.toLocaleString()} triangles · ${state.asset.inspection.materials} source materials${state.asset.models?` · ${state.asset.models.length} models + shared ground`:''}`;
|
|
46
50
|
} else {status.textContent=state.message;el('canvas').hidden=true;el('refinement').textContent='Refinement unavailable';}
|
|
47
51
|
},
|
|
48
52
|
});
|
|
49
53
|
const change=()=>{
|
|
50
|
-
const asset=
|
|
54
|
+
const asset=selections.find(a=>a.key===el('model').value);
|
|
51
55
|
el('category').textContent=asset.category;el('name').textContent=asset.name;
|
|
52
56
|
el('target').textContent=asset.renderer_target;el('review').textContent=asset.observed_issue??asset.preparation;
|
|
53
|
-
el('
|
|
54
|
-
el('
|
|
57
|
+
el('source-line').hidden=!!asset.models;el('composite-credits').hidden=!asset.models;
|
|
58
|
+
el('credits').textContent=asset.models?'Sources in this study':asset.authors;
|
|
59
|
+
renderCompositeCredits(doc,el('composite-credits'),asset.models??[]);
|
|
60
|
+
if(!asset.models){el('source').href=asset.source_url;el('licence').href=asset.licence_url;el('licence').textContent=asset.licence;}
|
|
55
61
|
el('metrics').textContent=asset.entry?`${(asset.files.reduce((n,f)=>n+f.bytes,0)/1048576).toFixed(1)} MiB on disk`:'';
|
|
56
62
|
const clips=asset.inspection?.animations??[];
|
|
57
|
-
el('note').textContent=
|
|
63
|
+
el('note').textContent=asset.models?`${asset.models.length} original models share one camera, ground and lighting. Geometry counts include the ground.`:
|
|
64
|
+
clips.length?`Static pose only. ${clips.length} source clips are present: ${clips.join(', ')}. Animation playback needs importer work.`:
|
|
58
65
|
asset.inspection?.extensions.length?`Material features to inspect: ${asset.inspection.extensions.join(', ')}.`:'Source materials under the same inspection lighting.';
|
|
59
66
|
return controller.select(asset);
|
|
60
67
|
};
|
|
61
|
-
|
|
68
|
+
const requested=new URL(win.location.href).searchParams.get('model');
|
|
69
|
+
el('model').value=selections.find(a=>a.key===requested&&(a.entry||a.models))?.key??assets.find(a=>a.entry).key;
|
|
62
70
|
el('model').addEventListener('change',change);
|
|
63
71
|
el('model').disabled=false;
|
|
64
72
|
const qualityChange=async()=>{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"updated": "2026-10-
|
|
3
|
+
"updated": "2026-10-21",
|
|
4
4
|
"story": "https://github.com/Plasius-LTD/plasius-ltd-site/issues/2308",
|
|
5
5
|
"flag": "gpu-demo.scene-fidelity.enabled",
|
|
6
6
|
"phase": "original-models",
|
|
@@ -10,49 +10,49 @@
|
|
|
10
10
|
"key": "large_castle_door",
|
|
11
11
|
"batch": 0,
|
|
12
12
|
"status": "production",
|
|
13
|
-
"note": "
|
|
13
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"key": "sf-house",
|
|
17
17
|
"batch": 0,
|
|
18
18
|
"status": "production",
|
|
19
|
-
"note": "
|
|
19
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"key": "fern_02",
|
|
23
23
|
"batch": 0,
|
|
24
24
|
"status": "production",
|
|
25
|
-
"note": "
|
|
25
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"key": "quiver_tree_01",
|
|
29
29
|
"batch": 0,
|
|
30
30
|
"status": "production",
|
|
31
|
-
"note": "
|
|
31
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
32
32
|
},
|
|
33
33
|
{
|
|
34
34
|
"key": "rock_moss_set_01",
|
|
35
35
|
"batch": 0,
|
|
36
36
|
"status": "production",
|
|
37
|
-
"note": "
|
|
37
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
38
38
|
},
|
|
39
39
|
{
|
|
40
40
|
"key": "garden_gloves_01",
|
|
41
41
|
"batch": 0,
|
|
42
42
|
"status": "production",
|
|
43
|
-
"note": "
|
|
43
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"key": "wooden_crate_02",
|
|
47
47
|
"batch": 0,
|
|
48
48
|
"status": "production",
|
|
49
|
-
"note": "
|
|
49
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"key": "bronze_whale_statue",
|
|
53
53
|
"batch": 0,
|
|
54
54
|
"status": "production",
|
|
55
|
-
"note": "
|
|
55
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"key": "sf-gem",
|
|
@@ -64,19 +64,19 @@
|
|
|
64
64
|
"key": "antique_ceramic_vase_01",
|
|
65
65
|
"batch": 0,
|
|
66
66
|
"status": "production",
|
|
67
|
-
"note": "
|
|
67
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
68
68
|
},
|
|
69
69
|
{
|
|
70
70
|
"key": "MosquitoInAmber",
|
|
71
71
|
"batch": 0,
|
|
72
|
-
"status": "
|
|
73
|
-
"note": "
|
|
72
|
+
"status": "production",
|
|
73
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"key": "Fox",
|
|
77
77
|
"batch": 0,
|
|
78
78
|
"status": "production",
|
|
79
|
-
"note": "
|
|
79
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
80
80
|
},
|
|
81
81
|
{
|
|
82
82
|
"key": "sf-castle",
|
|
@@ -87,32 +87,32 @@
|
|
|
87
87
|
{
|
|
88
88
|
"key": "large_iron_gate",
|
|
89
89
|
"batch": 1,
|
|
90
|
-
"status": "
|
|
91
|
-
"note": "
|
|
90
|
+
"status": "production",
|
|
91
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"key": "modular_factory_facade",
|
|
95
95
|
"batch": 1,
|
|
96
|
-
"status": "
|
|
97
|
-
"note": "
|
|
96
|
+
"status": "production",
|
|
97
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"key": "modular_fort_01",
|
|
101
101
|
"batch": 1,
|
|
102
|
-
"status": "
|
|
103
|
-
"note": "
|
|
102
|
+
"status": "production",
|
|
103
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
104
104
|
},
|
|
105
105
|
{
|
|
106
106
|
"key": "modular_urban_apartments_facade",
|
|
107
107
|
"batch": 1,
|
|
108
|
-
"status": "
|
|
109
|
-
"note": "
|
|
108
|
+
"status": "production",
|
|
109
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
110
110
|
},
|
|
111
111
|
{
|
|
112
112
|
"key": "modular_wooden_pier",
|
|
113
113
|
"batch": 1,
|
|
114
|
-
"status": "
|
|
115
|
-
"note": "
|
|
114
|
+
"status": "production",
|
|
115
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"key": "sf-cottage",
|
|
@@ -123,8 +123,8 @@
|
|
|
123
123
|
{
|
|
124
124
|
"key": "dandelion_01",
|
|
125
125
|
"batch": 1,
|
|
126
|
-
"status": "
|
|
127
|
-
"note": "
|
|
126
|
+
"status": "production",
|
|
127
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"key": "DiffuseTransmissionPlant",
|
|
@@ -141,8 +141,8 @@
|
|
|
141
141
|
{
|
|
142
142
|
"key": "grass_medium_01",
|
|
143
143
|
"batch": 2,
|
|
144
|
-
"status": "
|
|
145
|
-
"note": "
|
|
144
|
+
"status": "production",
|
|
145
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
"key": "island_tree_01",
|
|
@@ -165,134 +165,134 @@
|
|
|
165
165
|
{
|
|
166
166
|
"key": "searsia_lucida",
|
|
167
167
|
"batch": 2,
|
|
168
|
-
"status": "
|
|
169
|
-
"note": "
|
|
168
|
+
"status": "production",
|
|
169
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
170
170
|
},
|
|
171
171
|
{
|
|
172
172
|
"key": "boulder_01",
|
|
173
173
|
"batch": 2,
|
|
174
|
-
"status": "
|
|
175
|
-
"note": "
|
|
174
|
+
"status": "production",
|
|
175
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"key": "coastal_cliff_01",
|
|
179
179
|
"batch": 2,
|
|
180
|
-
"status": "
|
|
181
|
-
"note": "
|
|
180
|
+
"status": "production",
|
|
181
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
182
182
|
},
|
|
183
183
|
{
|
|
184
184
|
"key": "dead_tree_trunk",
|
|
185
185
|
"batch": 2,
|
|
186
|
-
"status": "
|
|
187
|
-
"note": "
|
|
186
|
+
"status": "production",
|
|
187
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"key": "food_pomegranate_01",
|
|
191
191
|
"batch": 3,
|
|
192
|
-
"status": "
|
|
193
|
-
"note": "
|
|
192
|
+
"status": "production",
|
|
193
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
194
194
|
},
|
|
195
195
|
{
|
|
196
196
|
"key": "lambis_shell",
|
|
197
197
|
"batch": 3,
|
|
198
|
-
"status": "
|
|
199
|
-
"note": "
|
|
198
|
+
"status": "production",
|
|
199
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"key": "rock_face_01",
|
|
203
203
|
"batch": 3,
|
|
204
|
-
"status": "
|
|
205
|
-
"note": "
|
|
204
|
+
"status": "production",
|
|
205
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
206
206
|
},
|
|
207
207
|
{
|
|
208
208
|
"key": "tree_stump_01",
|
|
209
209
|
"batch": 3,
|
|
210
|
-
"status": "
|
|
211
|
-
"note": "
|
|
210
|
+
"status": "production",
|
|
211
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
212
212
|
},
|
|
213
213
|
{
|
|
214
214
|
"key": "ArmChair_01",
|
|
215
215
|
"batch": 3,
|
|
216
|
-
"status": "
|
|
217
|
-
"note": "
|
|
216
|
+
"status": "production",
|
|
217
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"key": "fishermans_hat",
|
|
221
221
|
"batch": 3,
|
|
222
|
-
"status": "
|
|
223
|
-
"note": "
|
|
222
|
+
"status": "production",
|
|
223
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
224
224
|
},
|
|
225
225
|
{
|
|
226
226
|
"key": "rubber_boots",
|
|
227
227
|
"batch": 3,
|
|
228
|
-
"status": "
|
|
229
|
-
"note": "
|
|
228
|
+
"status": "production",
|
|
229
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
230
230
|
},
|
|
231
231
|
{
|
|
232
232
|
"key": "SheenChair",
|
|
233
233
|
"batch": 3,
|
|
234
|
-
"status": "
|
|
235
|
-
"note": "
|
|
234
|
+
"status": "production",
|
|
235
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
236
236
|
},
|
|
237
237
|
{
|
|
238
238
|
"key": "SheenCloth",
|
|
239
239
|
"batch": 3,
|
|
240
|
-
"status": "
|
|
241
|
-
"note": "
|
|
240
|
+
"status": "production",
|
|
241
|
+
"note": "Verified in the 31-model production review on 2026-10-20; site commit e01035f492d4e43094564707e1516c0d526cbbfb. Source and fixed-sampling limitations remain documented."
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"key": "SheenWoodLeatherSofa",
|
|
245
245
|
"batch": 4,
|
|
246
|
-
"status": "
|
|
247
|
-
"note": "
|
|
246
|
+
"status": "qualified",
|
|
247
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
248
248
|
},
|
|
249
249
|
{
|
|
250
250
|
"key": "SpecularSilkPouf",
|
|
251
251
|
"batch": 4,
|
|
252
|
-
"status": "
|
|
253
|
-
"note": "
|
|
252
|
+
"status": "qualified",
|
|
253
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
"key": "spinning_wheel_01",
|
|
257
257
|
"batch": 4,
|
|
258
|
-
"status": "
|
|
259
|
-
"note": "
|
|
258
|
+
"status": "qualified",
|
|
259
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
260
260
|
},
|
|
261
261
|
{
|
|
262
262
|
"key": "vintage_cabinet_01",
|
|
263
263
|
"batch": 4,
|
|
264
|
-
"status": "
|
|
265
|
-
"note": "
|
|
264
|
+
"status": "qualified",
|
|
265
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
266
266
|
},
|
|
267
267
|
{
|
|
268
268
|
"key": "wicker_basket_01",
|
|
269
269
|
"batch": 4,
|
|
270
|
-
"status": "
|
|
271
|
-
"note": "
|
|
270
|
+
"status": "qualified",
|
|
271
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
272
272
|
},
|
|
273
273
|
{
|
|
274
274
|
"key": "wine_barrel_01",
|
|
275
275
|
"batch": 4,
|
|
276
|
-
"status": "
|
|
277
|
-
"note": "
|
|
276
|
+
"status": "qualified",
|
|
277
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
278
278
|
},
|
|
279
279
|
{
|
|
280
280
|
"key": "bench_vice_01",
|
|
281
281
|
"batch": 4,
|
|
282
|
-
"status": "
|
|
283
|
-
"note": "
|
|
282
|
+
"status": "qualified",
|
|
283
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
284
284
|
},
|
|
285
285
|
{
|
|
286
286
|
"key": "brass_blowtorch",
|
|
287
287
|
"batch": 4,
|
|
288
|
-
"status": "
|
|
289
|
-
"note": "
|
|
288
|
+
"status": "qualified",
|
|
289
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
290
290
|
},
|
|
291
291
|
{
|
|
292
292
|
"key": "Camera_01",
|
|
293
293
|
"batch": 4,
|
|
294
|
-
"status": "
|
|
295
|
-
"note": "
|
|
294
|
+
"status": "qualified",
|
|
295
|
+
"note": "Original source fixed64, camera/refinement, denoising off/on and native UHD1 passed on registry renderer0.2.54/shared1.1.12. Site production verification pending."
|
|
296
296
|
},
|
|
297
297
|
{
|
|
298
298
|
"key": "can_rusted",
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { fixtureRequest } from './controller.js';
|
|
2
|
+
|
|
3
|
+
const definitions = [
|
|
4
|
+
{ key: 'study-furnished-interior', name: 'Furnished interior',
|
|
5
|
+
renderer_target: 'Compare woven fabric, silk, leather, wicker and aged wood in one arrangement.',
|
|
6
|
+
preparation: 'Inspect relative scale, fabric response and contact shadows. Sizes are chosen scene units, not verified physical dimensions.',
|
|
7
|
+
placements: [
|
|
8
|
+
['SheenWoodLeatherSofa', [0, 0, -.8], 2.4, 0],
|
|
9
|
+
['vintage_cabinet_01', [-2.15, 0, -.8], 1.7, 0],
|
|
10
|
+
['SpecularSilkPouf', [.55, 0, .85], .7, 0],
|
|
11
|
+
['wicker_basket_01', [1.6, 0, -.3], .6, 0],
|
|
12
|
+
] },
|
|
13
|
+
{ key: 'study-workshop', name: 'Workshop still life',
|
|
14
|
+
renderer_target: 'Compare worked metal, rough timber and worn surfaces under shared light.',
|
|
15
|
+
preparation: 'Inspect object contact and the contrast between brass, painted metal and timber. These are static review arrangements.',
|
|
16
|
+
placements: [
|
|
17
|
+
['spinning_wheel_01', [-1.1, 0, -.65], 1.8, 0],
|
|
18
|
+
['wine_barrel_01', [1.15, 0, -.7], 1.25, 0],
|
|
19
|
+
['wooden_crate_02', [0, 0, .7], 1.2, 0],
|
|
20
|
+
['bench_vice_01', [-1.3, 0, 1.05], .55, .3],
|
|
21
|
+
// Crate lid height from the original accessor bounds and lid translation,
|
|
22
|
+
// uniformly scaled to its chosen 1.2-unit longest dimension.
|
|
23
|
+
['brass_blowtorch', [0, .47735, .7], .55, 0],
|
|
24
|
+
] },
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
export function compositeStudies(assets) {
|
|
28
|
+
return definitions.flatMap(({ placements, ...definition }) => {
|
|
29
|
+
const models = placements.map(([key, anchor, size, yaw]) => ({
|
|
30
|
+
asset: assets.find(a => a.key === key), anchor: [...anchor], size, yaw,
|
|
31
|
+
}));
|
|
32
|
+
if (models.some(model => !model.asset?.entry)) return [];
|
|
33
|
+
return [{ ...definition, category: 'Composite study', models,
|
|
34
|
+
inspection: { materials: models.reduce((sum, model) => sum + model.asset.inspection.materials, 0) } }];
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function compositeRequest(study, base) {
|
|
39
|
+
return { models: study.models.map(({ asset, anchor, size, yaw }) => ({
|
|
40
|
+
...fixtureRequest(asset, base), anchor, size, yaw,
|
|
41
|
+
})) };
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function renderCompositeCredits(doc, container, models) {
|
|
45
|
+
container.replaceChildren();
|
|
46
|
+
for (const { asset, size } of models) {
|
|
47
|
+
const item = doc.createElement('li'), source = doc.createElement('a'), licence = doc.createElement('a');
|
|
48
|
+
source.textContent = `${asset.name} — ${asset.authors}`; source.href = asset.source_url;
|
|
49
|
+
licence.textContent = asset.licence; licence.href = asset.licence_url;
|
|
50
|
+
for (const link of [source, licence]) { link.target = '_blank'; link.rel = 'noopener'; }
|
|
51
|
+
item.append(source, ' · ', licence, ` · longest dimension ${size} scene units`);
|
|
52
|
+
container.append(item);
|
|
53
|
+
}
|
|
54
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@plasius/gpu-demo-viewer",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Root validation viewer for Plasius gpu-* demos.",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -47,18 +47,18 @@
|
|
|
47
47
|
"lint": "npm run typecheck",
|
|
48
48
|
"pack:check": "node scripts/verify-public-package.cjs",
|
|
49
49
|
"prepublishOnly": "npm run build && npm run pack:check",
|
|
50
|
-
"typecheck": "node --check index.js && node --check main.js && node --check viewer-manifest.js && node --check showcase/index.js && node --check showcase/main.js && node --check wavefront/main.js && node --check model-library/main.js && node --check model-library/controller.js && node --check model-library/acquire.js && node --check model-library/rollout.js",
|
|
50
|
+
"typecheck": "node --check index.js && node --check main.js && node --check viewer-manifest.js && node --check showcase/index.js && node --check showcase/main.js && node --check wavefront/main.js && node --check model-library/main.js && node --check model-library/controller.js && node --check model-library/scenes.js && node --check model-library/acquire.js && node --check model-library/rollout.js",
|
|
51
51
|
"test": "node --test",
|
|
52
52
|
"models:download": "node scripts/acquire-model-library.mjs",
|
|
53
53
|
"models:dev": "vite --config model-library/vite.config.js",
|
|
54
54
|
"test:coverage": "c8 --reporter=lcov --reporter=text node --test"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@plasius/gpu-renderer": "^0.2.
|
|
58
|
-
"@plasius/gpu-shared": "^1.
|
|
57
|
+
"@plasius/gpu-renderer": "^0.2.54",
|
|
58
|
+
"@plasius/gpu-shared": "^1.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"c8": "^11.0.0",
|
|
62
|
-
"vite": "^8.
|
|
62
|
+
"vite": "^8.3.5"
|
|
63
63
|
}
|
|
64
64
|
}
|