251 Commits

Author SHA1 Message Date
Syoyo Fujita
0f0620fab4 Fix emscripten build using recent(2023/May) emsdk. 2023-05-07 02:30:06 +09:00
Syoyo Fujita
5a4f19237d Fix python binding build 2023-05-05 19:26:29 +00:00
Syoyo Fujita
59d16e5041 Do not build pybind11-based python module(will be deprecated). Use C API + ctypes based python module instead. 2023-05-05 23:09:46 +09:00
Syoyo Fujita
2142333e5e Set FOLDER for Visual Studio Solution Explorer. 2023-04-14 04:56:04 +09:00
Syoyo Fujita
3cb88a7cc5 Use Cmake Object library both for SHARED and STATIC tinyusdz lib to save compilation time. 2023-04-13 22:48:17 +09:00
Syoyo Fujita
7f2c401f44 Fix usdFbx build. 2023-04-13 19:08:08 +09:00
Syoyo Fujita
b3ea956118 Fix CMakeLists to link osd library correctly. 2023-04-08 04:30:36 +09:00
Syoyo Fujita
4b8807b390 Fix dll build of tinyusdz and c-tinyusd in Windows. 2023-04-08 04:17:32 +09:00
Syoyo Fujita
2951b6d3f7 Refactoring C API.
Support dllexport/dllimport in C API header.
2023-03-30 23:13:01 +09:00
Syoyo Fujita
3782baa341 Force build C API DLL when Python binding is enabled
(Experience c-tinyusd dll directly through ctypes Python module, instead of writing C++ binding using pybind11.)
2023-03-29 21:19:54 +09:00
Syoyo Fujita
5cd6d253a4 Implement more C API stuff. 2023-03-15 23:04:29 +09:00
Syoyo Fujita
6a4c7b17d3 Implement some C APIs. 2023-03-14 23:15:38 +09:00
Syoyo Fujita
da30531f10 Fix python binding build when including tydra header files(include
path was missing).
2023-03-11 05:02:25 +09:00
Syoyo Fujita
f9cc889356 Python bindings experiment. 2023-03-06 23:20:05 +09:00
Syoyo Fujita
1eddd479df Fix python module build.
Append `c` prefix to python module: ctinyusdz
Just started experiencing Python API designed for TinyUSDZ...
2023-03-02 22:56:03 +09:00
Syoyo Fujita
9f953d5856 Add sRGB <-> Linear conversion code. 2023-02-18 23:11:07 +09:00
Syoyo Fujita
1d86fc90a1 Use single-header version of nlohmann json.hpp
Fix usd_to_json example build.
2023-02-03 22:44:27 +09:00
Syoyo Fujita
9172622a24 Use TypedTerminalAttr for UsdPreviewSurface's output attributes.
[USDA parser] Fix `token outputs:surface` is not parsed correctly.
Add path-util.cc
2023-01-26 20:32:11 +09:00
Syoyo Fujita
5d7e203c44 Use python3 interpreter to run usda/usdc parser tester. 2023-01-20 22:40:01 +09:00
Syoyo Fujita
7787842343 Enable unit test(using ctest) on Github Actions CI(Linux and macOS only at the moment).
Fix USDA parser and USDC parser unit runner.
2023-01-20 22:06:03 +09:00
Syoyo Fujita
111f2a9d4d Fix openglviewer example build.
Do not build tests, examples and tools by default when tinyusdz is being added by
add_subdirectory()
2023-01-19 02:17:38 +09:00
Syoyo Fujita
d98768ce18 Better deal with escape/unescape control sequence character. 2023-01-10 06:11:34 +09:00
Syoyo Fujita
5382d082ea Add USD Stage to RenderScene cli conversion check tool. 2022-12-30 16:52:11 +09:00
Syoyo Fujita
04989ec1c7 Merge branch 'dev' into wbraithwaite-nvidia-nvusd 2022-12-11 05:06:57 +09:00
Syoyo Fujita
98b0d2bef5 Add Prim::get_child_indices_from_primChildren() utility function to traverse child Prims according to primChildren information(Prim metadataum)
Initial addtion of TINYUSDZ_ENABLE_THREAD flag(threading feature is not implemented)
2022-12-10 22:42:26 +09:00
oddsocks
b66b3b18e5 cmakelists update to prevent clang compile error on osx 2022-12-08 08:58:46 -08:00
Syoyo Fujita
c8fcbec421 Enable multiprocessor build by default(MSVC)
Suppress MSVC compiler warning.
2022-12-06 01:59:40 +09:00
Syoyo Fujita
c7ce1039f4 Rename tydra_convert => tydra_api
Fix materialBinding and some builtin attribute is not handled when constructing Xform Prim.
Fix FindBoundMaterial fails to find Material in parent Prim.
2022-11-27 21:18:02 +09:00
Syoyo Fujita
1a7acdd86d Add some Tydra utility functions. 2022-11-23 04:03:43 +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
76a8654e27 Improve Emscripten build.
Add AssetInfo struct.
2022-11-17 05:07:14 +09:00
Syoyo Fujita
8b8d1e5be8 Disable debug print by default. 2022-11-07 19:59:02 +09:00
Syoyo Fujita
0ef2450480 Disable build with OpenSubdiv by default. 2022-11-02 22:46:22 +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
Syoyo Fujita
b1f1bd6c26 Add linear-algebra source file.
Implement operator+, -, * and / for some types(e.g. value::float4)
2022-10-24 01:56:13 +09:00
Syoyo Fujita
e25bb4f880 Fix compile with TINYUSDZ_PRODUCTION_BUILD on 2022-10-17 18:59:34 +09:00
Syoyo Fujita
854182d873 [Tydra] Add shader network(nothing yet though).
Remove unused `experimental/serialize`
2022-10-17 03:39:10 +09:00
Syoyo Fujita
9a7d5233ea [USDA] Split TimeSample parser .cc further to avoid sections too large compilation error: https://github.com/syoyo/tinyusdz/issues/33 2022-10-15 22:41:57 +09:00
Syoyo Fujita
af64beaca4 Split AsciiParser class for fast compilation and recude sections generated in .obj(mingw fails to generate .obj due to large amount of sections generated) 2022-10-15 21:32:35 +09:00
Syoyo Fujita
4ae665a336 add to_string to some concrete Shader class. 2022-10-13 23:28:02 +09:00
Syoyo Fujita
d4e49bf783 Cosmetics. 2022-10-07 22:10:17 +09:00
Syoyo Fujita
760b39cf69 Move examples/commonm/mapbox/earcut to src/external
Implement some of Tydra RenderMesh convert module.
2022-10-05 20:06:31 +09:00
Syoyo Fujita
1f93c6ea11 Remove ryu(Floating point parser) library, which is not used in TinyUSDZ anymore. 2022-10-04 21:06:06 +09:00
Syoyo Fujita
110d131b74 PROJECT_IS_TOP_LEVEL is not available CMake < 3.21 2022-10-01 04:33:59 +09:00
Syoyo Fujita
852ff80975 Fix CMakeLists.txt 2022-09-29 22:22:06 +09:00
Syoyo Fujita
1520beb1df Do not claim CXX standard when TinyUSDZ is built as a library for an external project. 2022-09-29 22:08:02 +09:00
Syoyo Fujita
a302bba0af Fix cmake syntex 2022-09-29 19:53:00 +09:00
Syoyo Fujita
2635952977 [USDC] Parse variantSetNames(ListOp[string]) 2022-09-28 22:36:34 +09:00
Syoyo Fujita
a15236b905 Add ALAC codec. 2022-09-27 01:18:35 +09:00
Syoyo Fujita
63245e63d5 Add DecompressInt tester.
Fix DecompressInt fuzzer.
2022-09-24 21:06:34 +09:00