Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ tools/avatars/ their build: merge to one skinned mesh + 1 mate
runtime/ = what core ships in static/avatars/
```

Each item row in a model list also carries its measured **`size`** (`[w, h, d]` metres), **`box`**,
**`tris`**, **`bytes`** (and `animated: true` for a rigged/clipped file) — written by
`node tools/kit-build/kit-build.mjs dims <pack> --write`, checked by the CI. The app reads them to
draw an item's size while it is dragged in, before the file downloads.

Each `index.json` row: `{name, title, value | zip, attribution, copyright, license, source}` —
`value` points at a model-list JSON (relative to this repo), `zip` at a self-describing
installable pack. The formats are documented in the app repo's
Expand Down
42 changes: 35 additions & 7 deletions arcane-kit/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
"file": "crystal-ball.lod2.glb",
"ratio": 0.53
}
]
],
"size": [0.492, 0.55, 0.491],
"box": [-0.246, 0, -0.245, 0.246, 0.55, 0.246],
"tris": 3122,
"bytes": 644660
},
{
"name": "AlchemyTable",
Expand All @@ -33,7 +37,11 @@
"file": "alchemy-table.lod2.glb",
"ratio": 0.32
}
]
],
"size": [1.6, 1.112, 0.876],
"box": [-0.8, 0, -0.438, 0.8, 1.112, 0.438],
"tris": 6000,
"bytes": 772996
},
{
"name": "Lectern",
Expand All @@ -47,7 +55,11 @@
"file": "lectern.lod1.glb",
"ratio": 0.5
}
]
],
"size": [0.978, 1.25, 0.612],
"box": [-0.489, 0, -0.306, 0.489, 1.25, 0.306],
"tris": 3499,
"bytes": 758216
},
{
"name": "Telescope",
Expand All @@ -61,7 +73,11 @@
"file": "telescope.lod1.glb",
"ratio": 0.5
}
]
],
"size": [1.6, 1.6, 0.48],
"box": [-0.8, 0, -0.24, 0.8, 1.6, 0.24],
"tris": 3691,
"bytes": 639320
},
{
"name": "Armillary",
Expand All @@ -75,7 +91,11 @@
"file": "armillary.lod1.glb",
"ratio": 0.5
}
]
],
"size": [0.845, 0.9, 0.812],
"box": [-0.422, 0, -0.406, 0.423, 0.9, 0.406],
"tris": 4999,
"bytes": 905256
},
{
"name": "PotionShelf",
Expand All @@ -93,7 +113,11 @@
"file": "potion-shelf.lod2.glb",
"ratio": 0.21
}
]
],
"size": [1.109, 1.8, 0.44],
"box": [-0.554, 0, -0.22, 0.555, 1.8, 0.22],
"tris": 5999,
"bytes": 891424
},
{
"name": "RuneRug",
Expand All @@ -107,6 +131,10 @@
"file": "rune-rug.lod1.glb",
"ratio": 0.72
}
]
],
"size": [2.4, 0.02, 2.4],
"box": [-1.2, 0, -1.2, 1.2, 0.02, 1.2],
"tris": 601,
"bytes": 894440
}
]
Loading
Loading