upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/models.md
diff options
context:
space:
mode:
authorItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 14:25:31 -0500
committerItsNotRexed <300290919+ItsNotRexed@users.noreply.github.com>2026-11-22 14:25:31 -0500
commit1b2e8ff3d6a018a97dd3dd8f20e4cd06f3f2ed90 (patch)
tree89d8d9194bc07c78c3a582f11d930067a5ecbf00 /docs/models.md
parentb93abf0dbeb4eddb4814d509be14cc28c98acb91 (diff)
Revert "Merge pull request #2732 from Kam471"
This reverts commit f8175dc5014379966530e3169440ec1508bc4787, reversing changes made to 6e3426d694c6202520c7b265b8573354849106ea.
Diffstat (limited to 'docs/models.md')
-rw-r--r--docs/models.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/docs/models.md b/docs/models.md
index ab5d73c62..026ccd998 100644
--- a/docs/models.md
+++ b/docs/models.md
@@ -461,24 +461,6 @@ The character-part inventory (Lucia's named records and decoded parts, the `play
461drawable set, slot-name counts and texture coverage) is in 461drawable set, slot-name counts and texture coverage) is in
462[character_models.md](character_models.md). 462[character_models.md](character_models.md).
463 463
464### Character census
465
466`tools/character_census.py` totals a decoded model tree or an `rpf9dump models` manifest:
467
468```powershell
469python -I tools/character_census.py <models-dir-or-manifest> [--json FILE] [--csv FILE]
470```
471
472It reads every nested `model.json` (the decoded-pack layout: `type`, `vertex_count`,
473`triangle_count`, `materials[].shader_name_hash`, `materials[].textures[].hash64`,
474`drawable.skeleton`/`models[].bone_palette` and `meshes[].skin_influences`), or the `Items[]` of a
475manifest (`Verts`, `Tris`, `IsFragment`, `HasBoneBindings`, `Materials[]`). It prints one row per
476model with kind, vertex/triangle counts, bones, 8-influence skin, shader hashes and texture keys,
477then totals by kind and by shader hash. A missing or wrongly typed field is reported on that row
478instead of ending the run. A manifest records only `HasBoneBindings`, not a bone count or influence
479width, so those cells stay `?`. Report paths that alias an input are refused. The tests are
480synthetic: `python -I tests/test_character_census.py`.
481
482## Shader render buckets 464## Shader render buckets
483 465
484`rpf9dump` writes two raw shader fields per material, `RenderBucket` (byte at shader +0x39) and 466`rpf9dump` writes two raw shader fields per material, `RenderBucket` (byte at shader +0x39) and