This commit is contained in:
wass08
2026-01-30 09:58:16 +09:00
parent 477fceb1bf
commit e2f0e394fc
3 changed files with 79 additions and 64 deletions
@@ -1,6 +1,34 @@
import { AssetInput, ItemNode } from "@pascal-app/core"; import { AssetInput, ItemNode } from "@pascal-app/core";
export const CATALOG_ITEMS: AssetInput[] = [ export const CATALOG_ITEMS: AssetInput[] = [
{
"id": "medium-fence",
"category": "outdoor",
"name": "medium-fence",
"thumbnail": "/items/medium-fence/thumbnail.webp",
"src": "/items/medium-fence/model.glb",
"scale": [
0.49,
0.49,
0.49
],
"offset": [
0,
0.01,
0
],
"rotation": [
0,
0,
0
],
"dimensions": [
2,
2,
0.5
]
},
{ {
"id": "pillar", "id": "pillar",
"category": "outdoor", "category": "outdoor",
@@ -238,9 +266,9 @@ export const CATALOG_ITEMS: AssetInput[] = [
1 1
], ],
"offset": [ "offset": [
-0.09, -0.01,
0.05, 0.05,
0.03 -0.07
], ],
"rotation": [ "rotation": [
0, 0,
@@ -248,9 +276,9 @@ export const CATALOG_ITEMS: AssetInput[] = [
0 0
], ],
"dimensions": [ "dimensions": [
1.5, 0.5,
3.2, 3,
1.5 0.5
] ]
}, },
@@ -266,9 +294,9 @@ export const CATALOG_ITEMS: AssetInput[] = [
0.65 0.65
], ],
"offset": [ "offset": [
0.09, -0.02,
0.17, 0.17,
0.06 -0.04
], ],
"rotation": [ "rotation": [
0, 0,
@@ -276,9 +304,9 @@ export const CATALOG_ITEMS: AssetInput[] = [
0 0
], ],
"dimensions": [ "dimensions": [
4, 1,
5, 5,
4 1
] ]
}, },
@@ -289,14 +317,14 @@ export const CATALOG_ITEMS: AssetInput[] = [
"thumbnail": "/items/window-double/thumbnail.webp", "thumbnail": "/items/window-double/thumbnail.webp",
"src": "/items/window-double/model.glb", "src": "/items/window-double/model.glb",
"scale": [ "scale": [
0.75, 0.81,
0.75, 0.81,
0.75 0.81
], ],
"offset": [ "offset": [
0, 0,
-0.18, -0.32,
0.02 0
], ],
"rotation": [ "rotation": [
0, 0,
@@ -324,7 +352,7 @@ export const CATALOG_ITEMS: AssetInput[] = [
], ],
"offset": [ "offset": [
1.06, 1.06,
0, -0.21,
0.05 0.05
], ],
"rotation": [ "rotation": [
@@ -501,14 +529,14 @@ export const CATALOG_ITEMS: AssetInput[] = [
"thumbnail": "/items/window-rectangle/thumbnail.webp", "thumbnail": "/items/window-rectangle/thumbnail.webp",
"src": "/items/window-rectangle/model.glb", "src": "/items/window-rectangle/model.glb",
"scale": [ "scale": [
0.95, 0.81,
1, 0.81,
1 0.81
], ],
"offset": [ "offset": [
-1.65, -1.41,
-0.34, -0.28,
0.1 0.08
], ],
"rotation": [ "rotation": [
0, 0,
@@ -516,8 +544,8 @@ export const CATALOG_ITEMS: AssetInput[] = [
0 0
], ],
"dimensions": [ "dimensions": [
3, 2.5,
2, 1.5,
0.5 0.5
], ],
"attachTo": "wall" "attachTo": "wall"
@@ -542,10 +570,10 @@ export const CATALOG_ITEMS: AssetInput[] = [
name: "door", name: "door",
thumbnail: "/items/door/thumbnail.webp", thumbnail: "/items/door/thumbnail.webp",
src: "/items/door/model.glb", src: "/items/door/model.glb",
scale: [0.8, 0.8, 0.8], scale: [0.9, 0.9, 0.9],
offset: [-0.43, 0, 0], offset: [-0.43, 0, 0],
rotation: [0, 0, 0], rotation: [0, 0, 0],
dimensions: [1.5, 2, 0.4], dimensions: [1.5, 2.5, 0.4],
attachTo: "wall", attachTo: "wall",
}, },
@@ -1543,17 +1571,4 @@ export const CATALOG_ITEMS: AssetInput[] = [
rotation: [0, 0, 0], rotation: [0, 0, 0],
dimensions: [0.5, 1, 0.5], dimensions: [0.5, 1, 0.5],
}, },
{
id: "window-square",
category: "window",
name: "Window-square",
thumbnail: "/items/window-square/thumbnail.webp",
src: "/items/window-square/model.glb",
scale: [0.5, 0.5, 0.5],
offset: [0, 0.72, 0],
rotation: [0, Math.PI, 0],
dimensions: [1, 1.5, 0.3],
attachTo: "wall",
},
]; ];
Binary file not shown.
Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB