Files
Syoyo Fujita 5405805129 Fix path sorting and property token remapping for Material/Shader support
Critical fixes for USD path tree encoding:

1. **Use consistent USD path comparison**: Changed spec sorting in Finalize()
   to use pathlib::ComparePaths instead of simple lexicographic sort. This
   ensures path indices match the path tree encoding order.

2. **Fix property token remapping**: Properties use negative token indices
   (e.g., -5 for "outputs:surface"). Fixed token remap table to preserve
   both positive and negative indices without collision. Previously, both
   path_tree_idx=3 and path_tree_idx=-3 were mapping to same key, causing
   property tokens to be lost.

3. **Add ListOp wrapper for Material outputs**: Material output connections
   (outputs:surface, outputs:displacement, outputs:volume) must be wrapped
   in ListOp<Path> as required by USD spec.

4. **Add Material/Shader test**: Created test case for Material and Shader
   prims with surface output connection.

Known issue: Material outputs need to be recognized as "attribute connections"
by the reader. This requires further investigation into the proper spec
structure or fields needed.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 03:42:08 +09:00
..
2025-08-22 08:21:40 +09:00
2025-07-25 05:11:04 +09:00
2024-08-07 06:04:00 +09:00
2024-08-07 06:04:00 +09:00
2024-02-26 07:52:50 +09:00
2025-08-26 22:28:46 +09:00