From ed90cf3be71be9e145988d1c287da2d9f235ad02 Mon Sep 17 00:00:00 2001 From: pxdl <17756301+pxdl@users.noreply.github.com> Date: Sun, 9 Aug 2026 00:10:53 -0300 Subject: [PATCH] Add direct model rotation gizmo --- README.md | 7 +++-- index.html | 10 +++++- src/model-browser.ts | 55 ++++++++++++++++++++++++++++----- src/style.css | 72 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 133 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 4ccbace..25d962d 100644 --- a/README.md +++ b/README.md @@ -77,8 +77,11 @@ The 3D tab catalogs 7,345 models, 8,404 animation files, and 2,254 collision meshes from the US retail disc. The SDK executes the model's PS2 VIF packets, reconstructs geometry, materials, bone hierarchies, skin weights, inverse bind matrices, and I3M quaternion tracks, and resolves TIM2 materials within the -model's own package. Three.js renders the result with orbit controls, framing, -wireframe, grid, skeleton, playback, and timeline controls. +model's own package. Three.js renders the result with camera orbit controls and +a DCC-style rotation gizmo: drag its center for free rotation or a colored X, +Y, or Z ring for constrained rotation. The gizmo rotates only the preview +wrapper, preserving the authored model transform for glTF export. Framing, +wireframe, grid, skeleton, playback, and timeline controls remain available. Selecting a model lists every compatible animation in its package. Selecting an animation finds a compatible skeleton by exact track and bone names, including diff --git a/index.html b/index.html index b150d05..a9dec06 100644 --- a/index.html +++ b/index.html @@ -384,7 +384,7 @@

MODELS & ANIMATION