@dcl-regenesislabs/opendcl 0.1.5-23569259243.commit-df8937b → 0.1.5-24375036645.commit-2b2c754
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/scene-context.d.ts +2 -0
- package/dist/scene-context.d.ts.map +1 -1
- package/dist/scene-context.js +6 -0
- package/dist/scene-context.js.map +1 -1
- package/extensions/dcl-context.ts +19 -1
- package/extensions/dcl-init.ts +11 -0
- package/package.json +2 -2
- package/prompts/system.md +3 -3
- package/skills/add-3d-models/SKILL.md +60 -24
- package/skills/add-3d-models/references/model-catalog.md +5794 -0
- package/skills/create-scene/SKILL.md +8 -5
- package/context/asset-packs-catalog.md +0 -2856
- package/context/open-source-3d-assets.md +0 -714
|
@@ -24,16 +24,19 @@ Never manually create scene.json, package.json, or tsconfig.json — the SDK tem
|
|
|
24
24
|
|
|
25
25
|
## 3. Find Matching 3D Assets
|
|
26
26
|
|
|
27
|
-
Before writing scene code,
|
|
27
|
+
Before writing scene code, search the asset catalog for free models that match the user's theme:
|
|
28
28
|
|
|
29
|
-
1.
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
1. Search the model catalog (5,700+ optimized 3D models — characters, structures, props, nature, vehicles, etc.)
|
|
30
|
+
```bash
|
|
31
|
+
grep -i "keyword" {baseDir}/../add-3d-models/references/model-catalog.md
|
|
32
|
+
```
|
|
33
|
+
2. Read `{baseDir}/../../context/audio-catalog.md` (50 free sounds — music, ambient, SFX, game mechanics, etc.)
|
|
34
|
+
3. Fetch the **preview thumbnail** (the `preview:` URL at the end of each catalog line) to visually confirm models
|
|
32
35
|
4. Suggest matching models and sounds to the user
|
|
33
36
|
5. Download selected models into the scene's `models/` directory:
|
|
34
37
|
```bash
|
|
35
38
|
mkdir -p models
|
|
36
|
-
curl -o models/
|
|
39
|
+
curl -o models/zombie-purple.glb "https://models.dclregenesislabs.xyz/blobs/bafybeiffc..."
|
|
37
40
|
```
|
|
38
41
|
|
|
39
42
|
> **Important**: `GltfContainer` only works with local files. Never use external URLs for the model `src` field.
|