mirror of
https://github.com/lighttransport/tinyusdz.git
synced 2026-01-18 01:11:17 +01:00
Added comprehensive test models and scripts for skeletal animation features: Skeletal Animation Test Models (models/): - skelanim-empty.usda: Edge case with no animation data - skelanim-mixed.usda: Mixed static and time-sampled (incomplete skeleton binding) - skelanim-rotation-only.usda: Only rotation channels animated - skelanim-single-joint.usda: Single joint animation - skelanim-static.usda: Static values only (incomplete skeleton binding) - skelanim-timesampled.usda: Time-sampled values (incomplete skeleton binding) Synthetic Skin Test Models (models/): - synthetic-skin-8influences.usda: 8 influences per vertex test - synthetic-skin-16influences.usda: 16 influences per vertex test - synthetic-skin-32influences.usda: 32 influences per vertex test Test Scripts (web/js/): - test-anim-debug.js: Animation debugging utility - test-16influences.js: Test 16 influences per vertex - test-all-bone-reduction.js: Bone reduction testing - test-boundaries.js: Boundary condition tests - test-digit-limits.js: Digit parsing limits - test-malicious.js: Malicious input handling - test-number-parsing.js: Number parsing validation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
26 lines
568 B
Plaintext
26 lines
568 B
Plaintext
#usda 1.0
|
|
(
|
|
defaultPrim = "Root"
|
|
upAxis = "Z"
|
|
)
|
|
|
|
def Xform "Root"
|
|
{
|
|
def Skeleton "Skel"
|
|
{
|
|
uniform token[] joints = ["joint0"]
|
|
uniform matrix4d[] bindTransforms = [
|
|
( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )
|
|
]
|
|
uniform matrix4d[] restTransforms = [
|
|
( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )
|
|
]
|
|
|
|
def SkelAnimation "EmptyAnim"
|
|
{
|
|
uniform token[] joints = ["joint0"]
|
|
# No animation data - edge case test
|
|
}
|
|
}
|
|
}
|