Add USD preview and thumbnail support #30

Merged
parkerhdavis merged 1 commit from usd-thumbnails into main 2026-05-28 07:05:59 -06:00
parkerhdavis commented 2026-05-28 07:05:52 -06:00 (Migrated from github.com)

Summary

  • Route .usd, .usda, .usdc, .usdz through Three.js USDLoader in the offscreen modelThumbnailer so grid tiles get rendered thumbnails alongside glTF/FBX/OBJ/STL/PLY.
  • Wire USD into ModelPreview so the asset detail page shows the interactive 3D viewer for USD assets.
  • Backend thumbnails.rs adds USD extensions to MODEL_FORMATS (cache lookup only — generation stays on the frontend, same pattern as the existing renderable model formats).

Test plan

  • make typecheck
  • make lint
  • cargo check
  • Manual: scan a folder of USD assets, confirm grid thumbnails render and detail-page viewer loads
## Summary - Route `.usd`, `.usda`, `.usdc`, `.usdz` through Three.js `USDLoader` in the offscreen `modelThumbnailer` so grid tiles get rendered thumbnails alongside glTF/FBX/OBJ/STL/PLY. - Wire USD into `ModelPreview` so the asset detail page shows the interactive 3D viewer for USD assets. - Backend `thumbnails.rs` adds USD extensions to `MODEL_FORMATS` (cache lookup only — generation stays on the frontend, same pattern as the existing renderable model formats). ## Test plan - [x] `make typecheck` - [x] `make lint` - [x] `cargo check` - [x] Manual: scan a folder of USD assets, confirm grid thumbnails render and detail-page viewer loads
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
parker/garnet!30
No description provided.