@iwsdk/create 1.1.0-rc.0 → 1.1.0-rc.2
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/cli.js +8 -13
- package/dist/guidance/agents/.agents/skills/iwsdk-compose-scene/SKILL.md +16 -2
- package/dist/guidance/agents/.agents/skills/iwsdk-compose-scene/references/environment-recipes.md +234 -0
- package/dist/guidance/agents/.agents/skills/iwsdk-compose-scene/references/scene-format.md +6 -0
- package/dist/guidance/agents/.agents/skills/iwsdk-dev/references/api-reference.md +56 -33
- package/dist/guidance/agents/.agents/skills/iwsdk-dev/references/iterate.md +24 -5
- package/dist/guidance/agents/.agents/skills/iwsdk-glasses-test/SKILL.md +281 -0
- package/dist/guidance/agents/.agents/skills/iwsdk-grab/SKILL.md +24 -1
- package/dist/guidance/agents/.agents/skills/iwsdk-ray/SKILL.md +3 -1
- package/dist/guidance/agents/.agents/skills/iwsdk-ui/SKILL.md +25 -2
- package/dist/guidance/claude/.claude/agents/iwsdk-project-code-reviewer.md +73 -6
- package/dist/guidance/claude/.claude/rules/assets-and-manifest.md +2 -0
- package/dist/guidance/claude/.claude/rules/ecs-api.md +1 -1
- package/dist/guidance/claude/.claude/rules/scene-json.md +3 -1
- package/dist/guidance/claude/.claude/rules/uikitml.md +5 -0
- package/dist/guidance/claude/.claude/settings.json +1 -0
- package/dist/guidance/claude/.claude/skills/iwsdk-compose-scene/SKILL.md +16 -2
- package/dist/guidance/claude/.claude/skills/iwsdk-compose-scene/references/environment-recipes.md +234 -0
- package/dist/guidance/claude/.claude/skills/iwsdk-compose-scene/references/scene-format.md +6 -0
- package/dist/guidance/claude/.claude/skills/iwsdk-dev/references/api-reference.md +56 -33
- package/dist/guidance/claude/.claude/skills/iwsdk-dev/references/iterate.md +24 -5
- package/dist/guidance/claude/.claude/skills/iwsdk-glasses-test/SKILL.md +281 -0
- package/dist/guidance/claude/.claude/skills/iwsdk-grab/SKILL.md +24 -1
- package/dist/guidance/claude/.claude/skills/iwsdk-ray/SKILL.md +3 -1
- package/dist/guidance/claude/.claude/skills/iwsdk-ui/SKILL.md +25 -2
- package/dist/guidance/common/AGENTS.md +25 -12
- package/dist/guidance/copilot/.github/instructions/assets-and-manifest.instructions.md +2 -0
- package/dist/guidance/copilot/.github/instructions/ecs-api.instructions.md +1 -1
- package/dist/guidance/copilot/.github/instructions/scene-json.instructions.md +3 -1
- package/dist/guidance/copilot/.github/instructions/uikitml.instructions.md +5 -0
- package/dist/guidance/cursor/.cursor/rules/assets-and-manifest.mdc +2 -0
- package/dist/guidance/cursor/.cursor/rules/ecs-api.mdc +1 -1
- package/dist/guidance/cursor/.cursor/rules/scene-json.mdc +3 -1
- package/dist/guidance/cursor/.cursor/rules/uikitml.mdc +5 -0
- package/dist/guidance/scoped-agents/public/scenes/AGENTS.md +3 -1
- package/dist/guidance/scoped-agents/public/ui/AGENTS.md +5 -0
- package/dist/guidance/scoped-agents/src/AGENTS.md +3 -1
- package/dist/template/common/README.md +19 -0
- package/dist/template/common/public/ui/label-grab.uikitml +57 -0
- package/dist/template/common/public/ui/label-select.uikitml +57 -0
- package/dist/template/common/public/ui/label-spin.uikitml +57 -0
- package/dist/template/common/public/ui/welcome.uikitml +33 -32
- package/dist/template/common/src/assets.ts +32 -23
- package/dist/template/common/src/scene-assets/decor.scene-asset.ts +781 -0
- package/dist/template/common/src/scene-assets/studio.scene-asset.ts +298 -0
- package/dist/template/common-js/README.md +19 -0
- package/dist/template/common-js/public/ui/label-grab.uikitml +57 -0
- package/dist/template/common-js/public/ui/label-select.uikitml +57 -0
- package/dist/template/common-js/public/ui/label-spin.uikitml +57 -0
- package/dist/template/common-js/public/ui/welcome.uikitml +33 -32
- package/dist/template/common-js/src/assets.js +20 -23
- package/dist/template/common-js/src/scene-assets/decor.scene-asset.js +554 -0
- package/dist/template/common-js/src/scene-assets/studio.scene-asset.js +236 -0
- package/dist/template/scenes/ar.iwsdk.scene.json +354 -58
- package/dist/template/scenes/immersive.iwsdk.scene.json +435 -54
- package/package.json +4 -4
- package/dist/template/common/public/gltf/webxr-banner/banner.gltf +0 -68
- package/dist/template/common/public/textures/webxr.png +0 -0
- package/dist/template/common-js/public/gltf/webxr-banner/banner.gltf +0 -68
- package/dist/template/common-js/public/textures/webxr.png +0 -0
|
@@ -3,72 +3,357 @@
|
|
|
3
3
|
"units": "meters",
|
|
4
4
|
"components": {
|
|
5
5
|
"com.iwsdk.components.DomeGradient": {
|
|
6
|
-
"sky": [0.
|
|
7
|
-
"equator": [0.
|
|
8
|
-
"ground": [0.
|
|
9
|
-
"
|
|
6
|
+
"sky": [0.843, 0.796, 0.882, 1],
|
|
7
|
+
"equator": [0.808, 0.855, 0.91, 1],
|
|
8
|
+
"ground": [0.902, 0.855, 0.82, 1],
|
|
9
|
+
"elevationDeg": 24,
|
|
10
|
+
"azimuthDeg": -31,
|
|
11
|
+
"dither": true
|
|
10
12
|
},
|
|
11
13
|
"com.iwsdk.components.IBLGradient": {
|
|
12
|
-
"sky": [0.
|
|
13
|
-
"equator": [0.
|
|
14
|
-
"ground": [0.
|
|
15
|
-
"intensity":
|
|
14
|
+
"sky": [0.72, 0.7, 0.8, 1],
|
|
15
|
+
"equator": [0.78, 0.78, 0.84, 1],
|
|
16
|
+
"ground": [0.5, 0.52, 0.58, 1],
|
|
17
|
+
"intensity": 0.2025
|
|
16
18
|
}
|
|
17
19
|
},
|
|
20
|
+
"environment": {
|
|
21
|
+
"toneMapping": "aces",
|
|
22
|
+
"exposure": 1.2,
|
|
23
|
+
"shadows": true,
|
|
24
|
+
"shadowMapType": "pcf"
|
|
25
|
+
},
|
|
18
26
|
"resources": {},
|
|
19
27
|
"nodes": [
|
|
20
28
|
{
|
|
21
|
-
"id": "
|
|
22
|
-
"name": "
|
|
29
|
+
"id": "studio-floor",
|
|
30
|
+
"name": "Studio Floor",
|
|
31
|
+
"framingRole": "support",
|
|
23
32
|
"content": {
|
|
24
33
|
"type": "asset",
|
|
25
|
-
"asset": "
|
|
26
|
-
|
|
27
|
-
"transform": {
|
|
28
|
-
"position": [0, -0.106921583, 0],
|
|
29
|
-
"rotationDeg": [0, 180, 0]
|
|
34
|
+
"asset": "studio-floor",
|
|
35
|
+
"receiveShadow": true
|
|
30
36
|
},
|
|
31
37
|
"components": {
|
|
32
|
-
"LocomotionEnvironment": {}
|
|
38
|
+
"LocomotionEnvironment": {},
|
|
39
|
+
"DomeFade": {
|
|
40
|
+
"start": 4,
|
|
41
|
+
"end": 10
|
|
42
|
+
}
|
|
33
43
|
}
|
|
34
44
|
},
|
|
35
45
|
{
|
|
36
|
-
"id": "
|
|
37
|
-
"name": "
|
|
46
|
+
"id": "stage",
|
|
47
|
+
"name": "Stage",
|
|
48
|
+
"framingRole": "support",
|
|
38
49
|
"content": {
|
|
39
50
|
"type": "asset",
|
|
40
|
-
"asset": "
|
|
51
|
+
"asset": "stage",
|
|
52
|
+
"castShadow": true,
|
|
53
|
+
"receiveShadow": true
|
|
41
54
|
},
|
|
42
55
|
"transform": {
|
|
43
|
-
"position": [
|
|
56
|
+
"position": [0, 0, 0.1]
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"id": "grab-plinth",
|
|
61
|
+
"name": "Grab Plinth",
|
|
62
|
+
"content": {
|
|
63
|
+
"type": "asset",
|
|
64
|
+
"asset": "plinth",
|
|
65
|
+
"castShadow": true,
|
|
66
|
+
"receiveShadow": true
|
|
44
67
|
},
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
68
|
+
"transform": {
|
|
69
|
+
"position": [-0.9543, 0.035, -1.1214],
|
|
70
|
+
"rotationDeg": [0, 30, 0]
|
|
71
|
+
},
|
|
72
|
+
"children": [
|
|
73
|
+
{
|
|
74
|
+
"id": "grab-plinth-contact",
|
|
75
|
+
"name": "Contact Shadow",
|
|
76
|
+
"transform": {
|
|
77
|
+
"position": [0, 0.002, 0]
|
|
78
|
+
},
|
|
79
|
+
"components": {
|
|
80
|
+
"ContactShadow": {
|
|
81
|
+
"size": [0.8, 0.8],
|
|
82
|
+
"height": 0.0016
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "graphite-cube",
|
|
88
|
+
"name": "Graphite Cube",
|
|
89
|
+
"content": {
|
|
90
|
+
"type": "asset",
|
|
91
|
+
"asset": "graphite-cube",
|
|
92
|
+
"castShadow": true,
|
|
93
|
+
"receiveShadow": true
|
|
94
|
+
},
|
|
95
|
+
"transform": {
|
|
96
|
+
"position": [-0.25, 0.998, -0.03],
|
|
97
|
+
"rotationDeg": [0, 20, 0],
|
|
98
|
+
"scale": 1.2
|
|
99
|
+
},
|
|
100
|
+
"components": {
|
|
101
|
+
"RayInteractable": {},
|
|
102
|
+
"DistanceGrabbable": {
|
|
103
|
+
"movementMode": "MoveFromTarget"
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "graphite-cube-contact",
|
|
109
|
+
"name": "Contact Shadow",
|
|
110
|
+
"transform": {
|
|
111
|
+
"position": [-0.25, 0.921, -0.03]
|
|
112
|
+
},
|
|
113
|
+
"components": {
|
|
114
|
+
"ContactShadow": {
|
|
115
|
+
"size": [0.26, 0.26],
|
|
116
|
+
"height": 0.00052
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "graphite-gem",
|
|
122
|
+
"name": "Graphite Gem",
|
|
123
|
+
"content": {
|
|
124
|
+
"type": "asset",
|
|
125
|
+
"asset": "graphite-gem",
|
|
126
|
+
"castShadow": true,
|
|
127
|
+
"receiveShadow": true
|
|
128
|
+
},
|
|
129
|
+
"transform": {
|
|
130
|
+
"position": [0, 1.006, -0.03],
|
|
131
|
+
"rotationDeg": [15, 0, 10],
|
|
132
|
+
"scale": 1.2
|
|
133
|
+
},
|
|
134
|
+
"components": {
|
|
135
|
+
"RayInteractable": {},
|
|
136
|
+
"DistanceGrabbable": {
|
|
137
|
+
"movementMode": "MoveFromTarget"
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"id": "graphite-gem-contact",
|
|
143
|
+
"name": "Contact Shadow",
|
|
144
|
+
"transform": {
|
|
145
|
+
"position": [0, 0.921, -0.03]
|
|
146
|
+
},
|
|
147
|
+
"components": {
|
|
148
|
+
"ContactShadow": {
|
|
149
|
+
"size": [0.24, 0.24],
|
|
150
|
+
"height": 0.00048
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"id": "graphite-knot",
|
|
156
|
+
"name": "Graphite Knot",
|
|
157
|
+
"content": {
|
|
158
|
+
"type": "asset",
|
|
159
|
+
"asset": "graphite-knot",
|
|
160
|
+
"castShadow": true,
|
|
161
|
+
"receiveShadow": true
|
|
162
|
+
},
|
|
163
|
+
"transform": {
|
|
164
|
+
"position": [0.25, 1.02, -0.03],
|
|
165
|
+
"rotationDeg": [0, -30, 0],
|
|
166
|
+
"scale": 0.74
|
|
167
|
+
},
|
|
168
|
+
"components": {
|
|
169
|
+
"RayInteractable": {},
|
|
170
|
+
"DistanceGrabbable": {
|
|
171
|
+
"movementMode": "MoveFromTarget"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"id": "graphite-knot-contact",
|
|
177
|
+
"name": "Contact Shadow",
|
|
178
|
+
"transform": {
|
|
179
|
+
"position": [0.25, 0.921, -0.03]
|
|
180
|
+
},
|
|
181
|
+
"components": {
|
|
182
|
+
"ContactShadow": {
|
|
183
|
+
"size": [0.26, 0.26],
|
|
184
|
+
"height": 0.00052
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"id": "grab-label",
|
|
190
|
+
"name": "Grab Label",
|
|
191
|
+
"content": {
|
|
192
|
+
"type": "asset",
|
|
193
|
+
"asset": "label-grab"
|
|
194
|
+
},
|
|
195
|
+
"transform": {
|
|
196
|
+
"position": [0, 0.94, 0.358],
|
|
197
|
+
"rotationDeg": [-32, 0, 0],
|
|
198
|
+
"scale": 0.12
|
|
199
|
+
}
|
|
49
200
|
}
|
|
50
|
-
|
|
201
|
+
]
|
|
51
202
|
},
|
|
52
203
|
{
|
|
53
|
-
"id": "
|
|
54
|
-
"name": "
|
|
204
|
+
"id": "select-plinth",
|
|
205
|
+
"name": "Select Plinth",
|
|
55
206
|
"content": {
|
|
56
207
|
"type": "asset",
|
|
57
|
-
"asset": "
|
|
208
|
+
"asset": "plinth",
|
|
209
|
+
"castShadow": true,
|
|
210
|
+
"receiveShadow": true
|
|
58
211
|
},
|
|
59
212
|
"transform": {
|
|
60
|
-
"position": [
|
|
61
|
-
"scale": 0.5
|
|
213
|
+
"position": [0, 0.035, -1.5]
|
|
62
214
|
},
|
|
63
|
-
"
|
|
64
|
-
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
215
|
+
"children": [
|
|
216
|
+
{
|
|
217
|
+
"id": "select-plinth-contact",
|
|
218
|
+
"name": "Contact Shadow",
|
|
219
|
+
"transform": {
|
|
220
|
+
"position": [0, 0.002, 0]
|
|
221
|
+
},
|
|
222
|
+
"components": {
|
|
223
|
+
"ContactShadow": {
|
|
224
|
+
"size": [0.8, 0.8],
|
|
225
|
+
"height": 0.0016
|
|
226
|
+
}
|
|
227
|
+
}
|
|
68
228
|
},
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
229
|
+
{
|
|
230
|
+
"id": "robot",
|
|
231
|
+
"name": "Robot",
|
|
232
|
+
"metadata": {
|
|
233
|
+
"iwsdk.validation": {
|
|
234
|
+
"allowFloating": true
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
"content": {
|
|
238
|
+
"type": "asset",
|
|
239
|
+
"asset": "robot",
|
|
240
|
+
"castShadow": true
|
|
241
|
+
},
|
|
242
|
+
"transform": {
|
|
243
|
+
"position": [0, 1.2, -0.02],
|
|
244
|
+
"scale": 0.6
|
|
245
|
+
},
|
|
246
|
+
"components": {
|
|
247
|
+
"AudioSource": {
|
|
248
|
+
"src": "./audio/chime.mp3",
|
|
249
|
+
"maxInstances": 3,
|
|
250
|
+
"playbackMode": "fade-restart"
|
|
251
|
+
},
|
|
252
|
+
"RayInteractable": {},
|
|
253
|
+
"Robot": {}
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"id": "robot-contact",
|
|
258
|
+
"name": "Contact Shadow",
|
|
259
|
+
"transform": {
|
|
260
|
+
"position": [0, 0.921, -0.02]
|
|
261
|
+
},
|
|
262
|
+
"components": {
|
|
263
|
+
"ContactShadow": {
|
|
264
|
+
"size": [0.37, 0.37],
|
|
265
|
+
"height": 0.00074
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"id": "select-label",
|
|
271
|
+
"name": "Select Label",
|
|
272
|
+
"content": {
|
|
273
|
+
"type": "asset",
|
|
274
|
+
"asset": "label-select"
|
|
275
|
+
},
|
|
276
|
+
"transform": {
|
|
277
|
+
"position": [0, 0.94, 0.358],
|
|
278
|
+
"rotationDeg": [-32, 0, 0],
|
|
279
|
+
"scale": 0.12
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
]
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"id": "spin-plinth",
|
|
286
|
+
"name": "Spin Plinth",
|
|
287
|
+
"content": {
|
|
288
|
+
"type": "asset",
|
|
289
|
+
"asset": "plinth",
|
|
290
|
+
"castShadow": true,
|
|
291
|
+
"receiveShadow": true
|
|
292
|
+
},
|
|
293
|
+
"transform": {
|
|
294
|
+
"position": [0.9543, 0.035, -1.1214],
|
|
295
|
+
"rotationDeg": [0, -30, 0]
|
|
296
|
+
},
|
|
297
|
+
"children": [
|
|
298
|
+
{
|
|
299
|
+
"id": "spin-plinth-contact",
|
|
300
|
+
"name": "Contact Shadow",
|
|
301
|
+
"transform": {
|
|
302
|
+
"position": [0, 0.002, 0]
|
|
303
|
+
},
|
|
304
|
+
"components": {
|
|
305
|
+
"ContactShadow": {
|
|
306
|
+
"size": [0.8, 0.8],
|
|
307
|
+
"height": 0.0016
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"id": "graphite-ring",
|
|
313
|
+
"name": "Graphite Ring",
|
|
314
|
+
"content": {
|
|
315
|
+
"type": "asset",
|
|
316
|
+
"asset": "graphite-ring",
|
|
317
|
+
"castShadow": true,
|
|
318
|
+
"receiveShadow": true
|
|
319
|
+
},
|
|
320
|
+
"transform": {
|
|
321
|
+
"position": [0, 1.165, -0.02]
|
|
322
|
+
},
|
|
323
|
+
"components": {
|
|
324
|
+
"RayInteractable": {},
|
|
325
|
+
"DistanceGrabbable": {
|
|
326
|
+
"movementMode": "RotateAtSource"
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"id": "graphite-ring-contact",
|
|
332
|
+
"name": "Contact Shadow",
|
|
333
|
+
"transform": {
|
|
334
|
+
"position": [0, 0.921, -0.02]
|
|
335
|
+
},
|
|
336
|
+
"components": {
|
|
337
|
+
"ContactShadow": {
|
|
338
|
+
"size": [0.4, 0.4],
|
|
339
|
+
"height": 0.0008
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"id": "spin-label",
|
|
345
|
+
"name": "Spin Label",
|
|
346
|
+
"content": {
|
|
347
|
+
"type": "asset",
|
|
348
|
+
"asset": "label-spin"
|
|
349
|
+
},
|
|
350
|
+
"transform": {
|
|
351
|
+
"position": [0, 0.94, 0.358],
|
|
352
|
+
"rotationDeg": [-32, 0, 0],
|
|
353
|
+
"scale": 0.12
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
]
|
|
72
357
|
},
|
|
73
358
|
{
|
|
74
359
|
"id": "welcome-panel",
|
|
@@ -78,32 +363,128 @@
|
|
|
78
363
|
"asset": "welcome-panel"
|
|
79
364
|
},
|
|
80
365
|
"transform": {
|
|
81
|
-
"position": [0,
|
|
82
|
-
"
|
|
366
|
+
"position": [0, 2.3, -5.15],
|
|
367
|
+
"rotationDeg": [-6, 0, 0],
|
|
368
|
+
"scale": 0.46
|
|
83
369
|
},
|
|
84
370
|
"components": {
|
|
85
|
-
"RayInteractable": {}
|
|
86
|
-
"ScreenSpace": {
|
|
87
|
-
"top": "20px",
|
|
88
|
-
"left": "20px",
|
|
89
|
-
"width": "25vw",
|
|
90
|
-
"height": "40%"
|
|
91
|
-
}
|
|
371
|
+
"RayInteractable": {}
|
|
92
372
|
}
|
|
93
373
|
},
|
|
94
374
|
{
|
|
95
|
-
"id": "
|
|
96
|
-
"name": "
|
|
375
|
+
"id": "gallery-set",
|
|
376
|
+
"name": "Gallery Set",
|
|
377
|
+
"content": {
|
|
378
|
+
"type": "asset",
|
|
379
|
+
"asset": "gallery-set",
|
|
380
|
+
"castShadow": true,
|
|
381
|
+
"receiveShadow": true
|
|
382
|
+
},
|
|
383
|
+
"transform": {
|
|
384
|
+
"position": [-3.5562, 0, -4.0787],
|
|
385
|
+
"rotationDeg": [0, 35, 0]
|
|
386
|
+
},
|
|
387
|
+
"children": [
|
|
388
|
+
{
|
|
389
|
+
"id": "gallery-set-contact",
|
|
390
|
+
"name": "Contact Shadow",
|
|
391
|
+
"transform": {
|
|
392
|
+
"position": [0, 0.002, 0]
|
|
393
|
+
},
|
|
394
|
+
"components": {
|
|
395
|
+
"ContactShadow": {
|
|
396
|
+
"size": [1.9, 1]
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"id": "gallery-vase-contact",
|
|
402
|
+
"name": "Contact Shadow",
|
|
403
|
+
"transform": {
|
|
404
|
+
"position": [-0.95, 0.002, -0.15]
|
|
405
|
+
},
|
|
406
|
+
"components": {
|
|
407
|
+
"ContactShadow": {
|
|
408
|
+
"size": [0.55, 0.55],
|
|
409
|
+
"height": 0.0011
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
]
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"id": "sideboard-set",
|
|
417
|
+
"name": "Sideboard Set",
|
|
97
418
|
"content": {
|
|
98
419
|
"type": "asset",
|
|
99
|
-
"asset": "
|
|
420
|
+
"asset": "sideboard-set",
|
|
421
|
+
"castShadow": true,
|
|
422
|
+
"receiveShadow": true
|
|
423
|
+
},
|
|
424
|
+
"transform": {
|
|
425
|
+
"position": [3.6709, 0, -4.2426],
|
|
426
|
+
"rotationDeg": [0, -35, 0]
|
|
100
427
|
},
|
|
428
|
+
"children": [
|
|
429
|
+
{
|
|
430
|
+
"id": "sideboard-set-contact",
|
|
431
|
+
"name": "Contact Shadow",
|
|
432
|
+
"transform": {
|
|
433
|
+
"position": [0, 0.002, 0]
|
|
434
|
+
},
|
|
435
|
+
"components": {
|
|
436
|
+
"ContactShadow": {
|
|
437
|
+
"size": [2.3, 0.9]
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"id": "floor-lamp-contact",
|
|
443
|
+
"name": "Contact Shadow",
|
|
444
|
+
"transform": {
|
|
445
|
+
"position": [1.1, 0.002, -0.08]
|
|
446
|
+
},
|
|
447
|
+
"components": {
|
|
448
|
+
"ContactShadow": {
|
|
449
|
+
"size": [0.45, 0.45],
|
|
450
|
+
"height": 0.0009
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
]
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "key-light",
|
|
458
|
+
"name": "Key Light",
|
|
101
459
|
"transform": {
|
|
102
|
-
"position": [
|
|
103
|
-
"rotationDeg": [
|
|
104
|
-
"scale": [1, -1, 1]
|
|
460
|
+
"position": [-2.3541, 11.2763, 1.762],
|
|
461
|
+
"rotationDeg": [-73.3982, -11.3134, 0]
|
|
105
462
|
},
|
|
106
|
-
"components": {
|
|
463
|
+
"components": {
|
|
464
|
+
"DirectionalLight": {
|
|
465
|
+
"color": [1, 0.945, 0.87, 1],
|
|
466
|
+
"intensity": 2.3,
|
|
467
|
+
"castShadow": true,
|
|
468
|
+
"shadowMapSize": "2048",
|
|
469
|
+
"shadowCameraSize": 8,
|
|
470
|
+
"shadowCameraNear": 2,
|
|
471
|
+
"shadowCameraFar": 24,
|
|
472
|
+
"shadowRadius": 7,
|
|
473
|
+
"shadowBias": -0.0004,
|
|
474
|
+
"shadowNormalBias": 0.02
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
"id": "fill-light",
|
|
480
|
+
"name": "Fill Light",
|
|
481
|
+
"components": {
|
|
482
|
+
"HemisphereLight": {
|
|
483
|
+
"skyColor": [0.78, 0.83, 0.96, 1],
|
|
484
|
+
"groundColor": [0.592, 0.608, 0.651, 1],
|
|
485
|
+
"intensity": 1.15
|
|
486
|
+
}
|
|
487
|
+
}
|
|
107
488
|
}
|
|
108
489
|
]
|
|
109
490
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iwsdk/create",
|
|
3
|
-
"version": "1.1.0-rc.
|
|
3
|
+
"version": "1.1.0-rc.2",
|
|
4
4
|
"description": "Interactive CLI to scaffold Immersive Web SDK starter apps",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
"@types/semver": "^7.5.8",
|
|
47
47
|
"typescript": "^5.8.3",
|
|
48
48
|
"vitest": "^4.1.10",
|
|
49
|
-
"@iwsdk/cli": "1.1.0-rc.
|
|
50
|
-
"@iwsdk/scene-composition": "1.1.0-rc.
|
|
51
|
-
"@iwsdk/core": "1.1.0-rc.
|
|
49
|
+
"@iwsdk/cli": "1.1.0-rc.2",
|
|
50
|
+
"@iwsdk/scene-composition": "1.1.0-rc.2",
|
|
51
|
+
"@iwsdk/core": "1.1.0-rc.2"
|
|
52
52
|
},
|
|
53
53
|
"scripts": {
|
|
54
54
|
"prebuild": "node scripts/gen-version.cjs && node scripts/build-template.mjs",
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"asset": {
|
|
3
|
-
"version": "2.0",
|
|
4
|
-
"generator": "IWSDK starter static banner"
|
|
5
|
-
},
|
|
6
|
-
"extensionsUsed": ["KHR_materials_unlit"],
|
|
7
|
-
"scene": 0,
|
|
8
|
-
"scenes": [{ "nodes": [0] }],
|
|
9
|
-
"nodes": [{ "mesh": 0 }],
|
|
10
|
-
"meshes": [
|
|
11
|
-
{
|
|
12
|
-
"primitives": [
|
|
13
|
-
{
|
|
14
|
-
"attributes": { "POSITION": 0, "TEXCOORD_0": 1 },
|
|
15
|
-
"indices": 2,
|
|
16
|
-
"material": 0
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"materials": [
|
|
22
|
-
{
|
|
23
|
-
"name": "Unlit WebXR banner",
|
|
24
|
-
"extensions": { "KHR_materials_unlit": {} },
|
|
25
|
-
"pbrMetallicRoughness": {
|
|
26
|
-
"baseColorTexture": { "index": 0 },
|
|
27
|
-
"metallicFactor": 0,
|
|
28
|
-
"roughnessFactor": 1
|
|
29
|
-
},
|
|
30
|
-
"alphaMode": "BLEND"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"textures": [{ "source": 0 }],
|
|
34
|
-
"images": [{ "uri": "../../textures/webxr.png" }],
|
|
35
|
-
"accessors": [
|
|
36
|
-
{
|
|
37
|
-
"bufferView": 0,
|
|
38
|
-
"componentType": 5126,
|
|
39
|
-
"count": 4,
|
|
40
|
-
"type": "VEC3",
|
|
41
|
-
"min": [-1.695, -0.48, 0],
|
|
42
|
-
"max": [1.695, 0.48, 0]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"bufferView": 1,
|
|
46
|
-
"componentType": 5126,
|
|
47
|
-
"count": 4,
|
|
48
|
-
"type": "VEC2"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"bufferView": 2,
|
|
52
|
-
"componentType": 5123,
|
|
53
|
-
"count": 6,
|
|
54
|
-
"type": "SCALAR"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"bufferViews": [
|
|
58
|
-
{ "buffer": 0, "byteOffset": 0, "byteLength": 48, "target": 34962 },
|
|
59
|
-
{ "buffer": 0, "byteOffset": 48, "byteLength": 32, "target": 34962 },
|
|
60
|
-
{ "buffer": 0, "byteOffset": 80, "byteLength": 12, "target": 34963 }
|
|
61
|
-
],
|
|
62
|
-
"buffers": [
|
|
63
|
-
{
|
|
64
|
-
"byteLength": 92,
|
|
65
|
-
"uri": "data:application/octet-stream;base64,w/XYv4/C9b4AAAAAw/XYP4/C9b4AAAAAw/XYP4/C9T4AAAAAw/XYv4/C9T4AAAAAAAAAAAAAAAAAAIA/AAAAAAAAgD8AAIA/AAAAAAAAgD8AAAEAAgAAAAIAAwA="
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|
|
Binary file
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"asset": {
|
|
3
|
-
"version": "2.0",
|
|
4
|
-
"generator": "IWSDK starter static banner"
|
|
5
|
-
},
|
|
6
|
-
"extensionsUsed": ["KHR_materials_unlit"],
|
|
7
|
-
"scene": 0,
|
|
8
|
-
"scenes": [{ "nodes": [0] }],
|
|
9
|
-
"nodes": [{ "mesh": 0 }],
|
|
10
|
-
"meshes": [
|
|
11
|
-
{
|
|
12
|
-
"primitives": [
|
|
13
|
-
{
|
|
14
|
-
"attributes": { "POSITION": 0, "TEXCOORD_0": 1 },
|
|
15
|
-
"indices": 2,
|
|
16
|
-
"material": 0
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"materials": [
|
|
22
|
-
{
|
|
23
|
-
"name": "Unlit WebXR banner",
|
|
24
|
-
"extensions": { "KHR_materials_unlit": {} },
|
|
25
|
-
"pbrMetallicRoughness": {
|
|
26
|
-
"baseColorTexture": { "index": 0 },
|
|
27
|
-
"metallicFactor": 0,
|
|
28
|
-
"roughnessFactor": 1
|
|
29
|
-
},
|
|
30
|
-
"alphaMode": "BLEND"
|
|
31
|
-
}
|
|
32
|
-
],
|
|
33
|
-
"textures": [{ "source": 0 }],
|
|
34
|
-
"images": [{ "uri": "../../textures/webxr.png" }],
|
|
35
|
-
"accessors": [
|
|
36
|
-
{
|
|
37
|
-
"bufferView": 0,
|
|
38
|
-
"componentType": 5126,
|
|
39
|
-
"count": 4,
|
|
40
|
-
"type": "VEC3",
|
|
41
|
-
"min": [-1.695, -0.48, 0],
|
|
42
|
-
"max": [1.695, 0.48, 0]
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"bufferView": 1,
|
|
46
|
-
"componentType": 5126,
|
|
47
|
-
"count": 4,
|
|
48
|
-
"type": "VEC2"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"bufferView": 2,
|
|
52
|
-
"componentType": 5123,
|
|
53
|
-
"count": 6,
|
|
54
|
-
"type": "SCALAR"
|
|
55
|
-
}
|
|
56
|
-
],
|
|
57
|
-
"bufferViews": [
|
|
58
|
-
{ "buffer": 0, "byteOffset": 0, "byteLength": 48, "target": 34962 },
|
|
59
|
-
{ "buffer": 0, "byteOffset": 48, "byteLength": 32, "target": 34962 },
|
|
60
|
-
{ "buffer": 0, "byteOffset": 80, "byteLength": 12, "target": 34963 }
|
|
61
|
-
],
|
|
62
|
-
"buffers": [
|
|
63
|
-
{
|
|
64
|
-
"byteLength": 92,
|
|
65
|
-
"uri": "data:application/octet-stream;base64,w/XYv4/C9b4AAAAAw/XYP4/C9b4AAAAAw/XYP4/C9T4AAAAAw/XYv4/C9T4AAAAAAAAAAAAAAAAAAIA/AAAAAAAAgD8AAIA/AAAAAAAAgD8AAAEAAgAAAAIAAwA="
|
|
66
|
-
}
|
|
67
|
-
]
|
|
68
|
-
}
|