@threenative/terrain 0.1.7 → 0.1.8
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/AGENT_GUIDE.md +19 -4
- package/dist/editor/index.d.ts +160 -5
- package/dist/editor/index.js +3783 -1406
- package/dist/editor/server.d.ts +2 -2
- package/dist/editor/server.js +555 -121
- package/dist/editor/worker.d.ts +33 -1
- package/dist/editor/worker.js +444 -110
- package/dist/export.d.ts +11 -9
- package/dist/export.js +22 -34
- package/dist/index.d.ts +727 -73
- package/dist/index.js +2434 -553
- package/dist/kit.d.ts +56 -0
- package/dist/kit.js +2524 -0
- package/dist/mcp/cook-child.d.ts +2 -0
- package/dist/mcp/cook-child.js +3705 -0
- package/dist/mcp/server.d.ts +7 -0
- package/dist/mcp/server.js +3279 -0
- package/dist/{server-ByM2hmYJ.d.ts → server-C8Ydr_IM.d.ts} +3 -2
- package/dist/starter.d.ts +143 -0
- package/dist/starter.js +1030 -0
- package/dist/{terrain-gPnkCU6S.d.ts → terrain-B3DkduPw.d.ts} +3 -2
- package/dist/three.d.ts +1 -1
- package/dist/{types-Ant8-Axc.d.ts → types-CPYAc9vo.d.ts} +13 -4
- package/dist/world-package-B7KGYIou.d.ts +94 -0
- package/package.json +28 -6
- package/starter/alpine/README.md +77 -1
- package/starter/alpine/bake.mjs +4 -116
- package/starter/alpine/biome.data.json +114 -0
- package/starter/alpine/heightmap.r16 +0 -0
- package/starter/alpine/recipe.json +3 -66051
- package/starter/alpine/world.ts +45 -293
- package/starter/coastal/README.md +77 -1
- package/starter/coastal/bake.mjs +4 -116
- package/starter/coastal/biome.data.json +135 -0
- package/starter/coastal/heightmap.r16 +0 -0
- package/starter/coastal/recipe.json +3 -66051
- package/starter/coastal/sea.ts +49 -16
- package/starter/coastal/world.ts +53 -318
- package/starter/desert/README.md +77 -1
- package/starter/desert/bake.mjs +4 -116
- package/starter/desert/biome.data.json +114 -0
- package/starter/desert/heightmap.r16 +0 -0
- package/starter/desert/recipe.json +3 -66051
- package/starter/desert/world.ts +45 -293
- package/starter/forest/README.md +84 -4
- package/starter/forest/assets.json +32 -0
- package/starter/forest/bake.mjs +6 -116
- package/starter/forest/biome.data.json +150 -0
- package/starter/forest/heightmap.r16 +0 -0
- package/starter/forest/recipe.json +192 -4428
- package/starter/forest/sky.ts +11 -0
- package/starter/forest/water.ts +30 -20
- package/starter/forest/world.ts +86 -322
- package/starter/tundra/README.md +77 -1
- package/starter/tundra/bake.mjs +4 -116
- package/starter/tundra/biome.data.json +131 -0
- package/starter/tundra/heightmap.r16 +0 -0
- package/starter/tundra/recipe.json +18 -66066
- package/starter/tundra/world.ts +65 -319
- package/starter-assets.json +6 -0
- package/{starter-assets/credits.json → starter-credits.json} +12 -105
- package/starter-assets/bark_brown_02/bark_brown_02_diff_1k.jpg +0 -0
- package/starter-assets/bark_brown_02/bark_brown_02_nor_gl_1k.jpg +0 -0
- package/starter-assets/bark_brown_02/bark_brown_02_rough_1k.jpg +0 -0
- package/starter-assets/boulder_01/boulder-mid.glb +0 -0
- package/starter-assets/boulder_01/boulder-near.glb +0 -0
- package/starter-assets/cliff_side/cliff_side_ao_1k.jpg +0 -0
- package/starter-assets/cliff_side/cliff_side_diff_1k.jpg +0 -0
- package/starter-assets/cliff_side/cliff_side_nor_gl_1k.jpg +0 -0
- package/starter-assets/cliff_side/cliff_side_rough_1k.jpg +0 -0
- package/starter-assets/fern_02/fern_02_alpha_512.png +0 -0
- package/starter-assets/fern_02/fern_02_diff_512.jpg +0 -0
- package/starter-assets/fern_02/fern_02_nor_gl_512.jpg +0 -0
- package/starter-assets/fir_tree_01/fir-b-lod1.glb +0 -0
- package/starter-assets/fir_tree_01/fir-b-lod2.glb +0 -0
- package/starter-assets/fir_tree_01/fir-c-lod1.glb +0 -0
- package/starter-assets/fir_tree_01/fir-c-lod2.glb +0 -0
- package/starter-assets/fir_tree_01/fir_tree_01_twig_arm_1k.jpg +0 -0
- package/starter-assets/fir_tree_01/fir_tree_01_twig_diff_1k.jpg +0 -0
- package/starter-assets/fir_tree_01/fir_tree_01_twig_nor_gl_1k.jpg +0 -0
- package/starter-assets/forest_ground_04/forest_ground_04_ao_1k.jpg +0 -0
- package/starter-assets/forest_ground_04/forest_ground_04_diff_1k.jpg +0 -0
- package/starter-assets/forest_ground_04/forest_ground_04_nor_gl_1k.jpg +0 -0
- package/starter-assets/forest_ground_04/forest_ground_04_rough_1k.jpg +0 -0
- package/starter-assets/forest_leaves_02/forest_leaves_02_arm_512.jpg +0 -0
- package/starter-assets/forest_leaves_02/forest_leaves_02_diff_512.jpg +0 -0
- package/starter-assets/forest_leaves_02/forest_leaves_02_nor_gl_512.jpg +0 -0
- package/starter-assets/grass_medium_02/grass_medium_02_alpha_512.png +0 -0
- package/starter-assets/grass_medium_02/grass_medium_02_diff_512.jpg +0 -0
- package/starter-assets/grass_medium_02/grass_medium_02_nor_gl_512.jpg +0 -0
- package/starter-assets/hdri/kloofendal_48d_partly_cloudy_1k.hdr +0 -0
- package/starter-assets/leafy_grass/leafy_grass_ao_1k.jpg +0 -0
- package/starter-assets/leafy_grass/leafy_grass_diff_1k.jpg +0 -0
- package/starter-assets/leafy_grass/leafy_grass_nor_gl_1k.jpg +0 -0
- package/starter-assets/leafy_grass/leafy_grass_rough_1k.jpg +0 -0
- package/starter-assets/lichen_rock/lichen_rock_arm_512.jpg +0 -0
- package/starter-assets/lichen_rock/lichen_rock_diff_512.jpg +0 -0
- package/starter-assets/lichen_rock/lichen_rock_nor_gl_512.jpg +0 -0
- package/starter-assets/mossy_rock/mossy_rock_ao_1k.jpg +0 -0
- package/starter-assets/mossy_rock/mossy_rock_diff_1k.jpg +0 -0
- package/starter-assets/mossy_rock/mossy_rock_nor_gl_1k.jpg +0 -0
- package/starter-assets/mossy_rock/mossy_rock_rough_1k.jpg +0 -0
- package/starter-assets/needle-atlas.png +0 -0
- package/starter-assets/needle-surface.png +0 -0
- package/starter-assets/river_small_rocks/river_small_rocks_arm_512.jpg +0 -0
- package/starter-assets/river_small_rocks/river_small_rocks_diff_512.jpg +0 -0
- package/starter-assets/river_small_rocks/river_small_rocks_nor_gl_512.jpg +0 -0
- package/starter-assets/rock_boulder_dry/rock_boulder_dry_arm_512.jpg +0 -0
- package/starter-assets/rock_boulder_dry/rock_boulder_dry_diff_512.jpg +0 -0
- package/starter-assets/rock_boulder_dry/rock_boulder_dry_nor_gl_512.jpg +0 -0
- package/starter-assets/rocks/boulder-mid.glb +0 -0
- package/starter-assets/rocks/boulder-near.glb +0 -0
- package/starter-assets/rocks/boulder-prep.json +0 -37
- package/starter-assets/rocks/rock01-mid.glb +0 -0
- package/starter-assets/rocks/rock01-near.glb +0 -0
- package/starter-assets/rocks/rock01-prep.json +0 -37
- package/starter-assets/rocks/rock04-mid.glb +0 -0
- package/starter-assets/rocks/rock04-near.glb +0 -0
- package/starter-assets/rocks/rock04-prep.json +0 -37
- package/starter-assets/sand_01/sand_01_ao_1k.jpg +0 -0
- package/starter-assets/sand_01/sand_01_diff_1k.jpg +0 -0
- package/starter-assets/sand_01/sand_01_nor_gl_1k.jpg +0 -0
- package/starter-assets/sand_01/sand_01_rough_1k.jpg +0 -0
- package/starter-assets/snow_02/snow_02_ao_1k.jpg +0 -0
- package/starter-assets/snow_02/snow_02_diff_1k.jpg +0 -0
- package/starter-assets/snow_02/snow_02_nor_gl_1k.jpg +0 -0
- package/starter-assets/snow_02/snow_02_rough_1k.jpg +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"budgets": {
|
|
3
|
-
"mid": 600,
|
|
4
|
-
"near": 2500
|
|
5
|
-
},
|
|
6
|
-
"levels": {
|
|
7
|
-
"mid": {
|
|
8
|
-
"boundsMetres": [-0.746, -0.8893, 0.0, 0.524, 0.9483, 1.0098],
|
|
9
|
-
"budget": 600,
|
|
10
|
-
"bytes": 31940,
|
|
11
|
-
"cards_dropped": 0,
|
|
12
|
-
"cards_kept": 0,
|
|
13
|
-
"heightM": 1.0098,
|
|
14
|
-
"images": [],
|
|
15
|
-
"meshes": {
|
|
16
|
-
"wood.002": 540
|
|
17
|
-
},
|
|
18
|
-
"triangles": 540
|
|
19
|
-
},
|
|
20
|
-
"near": {
|
|
21
|
-
"boundsMetres": [-0.7512, -0.8893, 0.0, 0.524, 0.9483, 1.0098],
|
|
22
|
-
"budget": 2500,
|
|
23
|
-
"bytes": 130016,
|
|
24
|
-
"cards_dropped": 0,
|
|
25
|
-
"cards_kept": 0,
|
|
26
|
-
"heightM": 1.0098,
|
|
27
|
-
"images": [],
|
|
28
|
-
"meshes": {
|
|
29
|
-
"wood.003": 2250
|
|
30
|
-
},
|
|
31
|
-
"triangles": 2250
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"source": "/tmp/claude-1000/-home-joao-projects-threenative-threenative-engine/d66e89ee-9a5d-4d81-86f1-e323fe08ab71/scratchpad/trees/raw/boulder_01",
|
|
35
|
-
"species": "boulder",
|
|
36
|
-
"variant": "boulder_01"
|
|
37
|
-
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"budgets": {
|
|
3
|
-
"mid": 600,
|
|
4
|
-
"near": 2500
|
|
5
|
-
},
|
|
6
|
-
"levels": {
|
|
7
|
-
"mid": {
|
|
8
|
-
"boundsMetres": [-1.0289, -1.6829, 0.0, 1.1371, 1.7124, 1.4622],
|
|
9
|
-
"budget": 600,
|
|
10
|
-
"bytes": 14636,
|
|
11
|
-
"cards_dropped": 0,
|
|
12
|
-
"cards_kept": 0,
|
|
13
|
-
"heightM": 1.4622,
|
|
14
|
-
"images": [],
|
|
15
|
-
"meshes": {
|
|
16
|
-
"wood.003": 529
|
|
17
|
-
},
|
|
18
|
-
"triangles": 529
|
|
19
|
-
},
|
|
20
|
-
"near": {
|
|
21
|
-
"boundsMetres": [-1.0386, -1.6673, 0.0, 1.1249, 1.6977, 1.4081],
|
|
22
|
-
"budget": 2500,
|
|
23
|
-
"bytes": 48972,
|
|
24
|
-
"cards_dropped": 0,
|
|
25
|
-
"cards_kept": 0,
|
|
26
|
-
"heightM": 1.4081,
|
|
27
|
-
"images": [],
|
|
28
|
-
"meshes": {
|
|
29
|
-
"wood.004": 2235
|
|
30
|
-
},
|
|
31
|
-
"triangles": 2235
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"source": "/tmp/claude-1000/-home-joao-projects-threenative-threenative-engine/d66e89ee-9a5d-4d81-86f1-e323fe08ab71/scratchpad/trees/raw/rock_moss_set_01",
|
|
35
|
-
"species": "rock01",
|
|
36
|
-
"variant": "rock_moss_set_01_rock01"
|
|
37
|
-
}
|
|
Binary file
|
|
Binary file
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"budgets": {
|
|
3
|
-
"mid": 600,
|
|
4
|
-
"near": 2500
|
|
5
|
-
},
|
|
6
|
-
"levels": {
|
|
7
|
-
"mid": {
|
|
8
|
-
"boundsMetres": [-0.9551, -1.0897, 0.0, 1.128, 0.7838, 1.7365],
|
|
9
|
-
"budget": 600,
|
|
10
|
-
"bytes": 13544,
|
|
11
|
-
"cards_dropped": 0,
|
|
12
|
-
"cards_kept": 0,
|
|
13
|
-
"heightM": 1.7365,
|
|
14
|
-
"images": [],
|
|
15
|
-
"meshes": {
|
|
16
|
-
"wood.003": 527
|
|
17
|
-
},
|
|
18
|
-
"triangles": 527
|
|
19
|
-
},
|
|
20
|
-
"near": {
|
|
21
|
-
"boundsMetres": [-0.9493, -1.0767, 0.0, 1.117, 0.7838, 1.7445],
|
|
22
|
-
"budget": 2500,
|
|
23
|
-
"bytes": 46644,
|
|
24
|
-
"cards_dropped": 0,
|
|
25
|
-
"cards_kept": 0,
|
|
26
|
-
"heightM": 1.7445,
|
|
27
|
-
"images": [],
|
|
28
|
-
"meshes": {
|
|
29
|
-
"wood.004": 2220
|
|
30
|
-
},
|
|
31
|
-
"triangles": 2220
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"source": "/tmp/claude-1000/-home-joao-projects-threenative-threenative-engine/d66e89ee-9a5d-4d81-86f1-e323fe08ab71/scratchpad/trees/raw/rock_moss_set_01",
|
|
35
|
-
"species": "rock04",
|
|
36
|
-
"variant": "rock_moss_set_01_rock04"
|
|
37
|
-
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|