37 Commits

Author SHA1 Message Date
Syoyo Fujita
9ac9b8792f Fix build errors: use std::move for set_value() calls
Fixed template deduction issues where set_value() was being called
with lvalue references, causing TypeTraits specialization errors.
Changed all problematic calls to use std::move() to ensure correct
non-reference type deduction.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-06 01:49:10 +09:00
Syoyo Fujita
f403f8204c Make Tydra build optional. 2024-07-17 02:12:58 +09:00
Syoyo Fujita
52372dc32a fix compile. 2024-05-05 22:08:00 +09:00
Syoyo Fujita
947bf03a30 Missing commit. 2024-05-05 22:05:59 +09:00
Syoyo Fujita
e4acbe92d0 GeomSubset material binding W.I.P. 2024-01-29 02:36:18 +09:00
Syoyo Fujita
8e4948ca3e Improve support of material binding.
code format to example code.
2023-12-04 02:27:33 +09:00
Syoyo Fujita
8e9d4025a5 Add subLayer, references/payload usage in api-tutorial example.
Fix setting up variant in api-tutorial example.
2023-08-08 21:52:55 +09:00
Syoyo Fujita
b1d1b4719c Implement some subLayers composition features. 2023-06-30 23:17:46 +09:00
Syoyo Fujita
9df28c0883 Use Dictionary(alias to CustomDataType) instead of CustomDataType in some location. 2023-06-22 20:19:28 +09:00
Syoyo Fujita
2d9c5cbdc9 Implement Stage::replace_root_prim(). 2023-06-01 04:34:45 +09:00
Syoyo Fujita
cd3ff4a0d8 Implement Stage::add_root_prim() API(rename root Prim's elementName to unique if required) 2023-05-30 21:36:20 +09:00
Syoyo Fujita
2a98e319e9 Implement uniqe Prim name modifier. 2023-05-30 20:59:40 +09:00
Syoyo Fujita
0bfe1ab531 W.I.P. Add Prim::add_child() and add make unique Prim name feature. 2023-05-29 21:57:36 +09:00
Syoyo Fujita
1044b4ccb1 Add Stage::commit() API 2023-02-15 20:52:30 +09:00
Syoyo Fujita
73acd3b96f [API tutorial] Add very simple material/shader construction example. 2023-02-01 02:27:28 +09:00
Syoyo Fujita
63369ec52c Add example to add Variant in TinyUSDZ API. 2023-01-15 18:21:04 +09:00
Syoyo Fujita
f9445bfdab Merge branch 'dev' of github.com:syoyo/tinyusdz into dev 2022-12-03 20:15:57 +09:00
Syoyo Fujita
5f87dc1e17 Add feature to find Prim by prim_id
Add unit test for handle-allocator.
2022-12-02 22:39:35 +09:00
Syoyo Fujita
02e18aab62 Add helper method to compute absolute path and prim id for each Prim in Stage. 2022-12-02 05:41:08 +09:00
Syoyo Fujita
b7115806db Implement Stage::allocate_prim_id() 2022-12-02 02:04:03 +09:00
Syoyo Fujita
f801722526 Implement Dictionary(CustomData) access API. 2022-11-25 21:31:36 +09:00
Syoyo Fujita
5fe80aec11 Add OpenFBX to import FBX file(just added files. no actual FBX import possible yet)
Update api-tutorial.
2022-11-19 21:43:13 +09:00
Syoyo Fujita
0539d120c8 Add some utility functions. 2022-11-11 22:59:14 +09:00
Syoyo Fujita
e902256b5b Merge branch 'dev' of github.com:syoyo/tinyusdz into dev 2022-11-10 19:36:37 +09:00
Syoyo Fujita
e533e29884 Make Property custom false by default.
Return the first path for get_relationshipTarget() when Relationship contains PathVector(multiple paths).
2022-11-10 19:35:23 +09:00
Syoyo Fujita
f998fd6226 Implement some basic matrix add/sub/mul operator overload. 2022-11-10 03:52:09 +09:00
Syoyo Fujita
155f0b623e Rename take_elements_from_indices -> flatten_with_indices to avoid
confusion from `elementsize` variable.
Support directly construct MetaVariable from type T.
Use dict key as variable name when MetaVariable's name is empty when
pprinting..
2022-11-10 00:56:41 +09:00
Syoyo Fujita
2bc422a93e StringData class improvement. 2022-11-09 21:26:04 +09:00
Syoyo Fujita
90a872dc90 Implement GeomPrimvar::take_elements_from_indices(equivalent to pxr::GeomPrimvar::ComputeFlattened) 2022-11-09 06:15:41 +09:00
Syoyo Fujita
b9f0911dc2 Add initial GeomPrimvar support(read-only wrapper for GPrim::props). 2022-11-08 21:59:13 +09:00
Syoyo Fujita
a8f1768527 Update comment in api-tutorial example.
Fix sdlviewer build.
2022-10-31 17:58:18 +09:00
Syoyo Fujita
3d2dfe5a12 Refactor MetaVariable and CustomData.
Fix root Prim's name is set to empty.
[USDC] Fix reading autoPlay and playbackMode Stage metadataum.
2022-10-29 04:31:35 +09:00
Syoyo Fujita
41ef70f14b Fix include line order. 2022-10-27 22:55:54 +09:00
Syoyo Fujita
ff83c6eb63 Add missing file changes. 2022-10-27 19:45:53 +09:00
Syoyo Fujita
2654b58471 Fix build. 2022-10-27 06:04:06 +09:00
Syoyo Fujita
f75b63852a Refactor Attribute class. 2022-10-26 22:50:35 +09:00
Syoyo Fujita
72c125d638 Fix Prim.elementPath is not set at constructor.
Refactor API.
Add `api_tutorial` example to demonstrate TinyUSDZ API.
2022-10-26 21:11:08 +09:00