22
33[ ![ ] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/kwblackstone/264643f3d2acacc5369a0ba70854dfb6/raw/macOS-14-2411-ALL.json )] ( https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml ) [ ![ ] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/kwblackstone/264643f3d2acacc5369a0ba70854dfb6/raw/macOS-14-2408-ALL.json )] ( https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml ) [ ![ ] ( https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/kwblackstone/264643f3d2acacc5369a0ba70854dfb6/raw/macOS-14-2411-ALL.json )] ( https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml )
44
5- [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml)[](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml)
5+ [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml)[](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml)
66
77[](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml) [](https://github.com/adobe/USD-Fileformat-plugins/actions/workflows/ci.yml)
88
@@ -41,17 +41,19 @@ The following tools are needed:
4141The following dependencies are needed:
4242| Dependency| Version| Affects| Optional|
4343| --| --| --| --|
44- | [ Pixar USD] ( https://github.com/PixarAnimationStudios/USD ) | 23.08 | all | no |
45- | [ GTest] ( https://github.com/google/googletest.git ) | 1.11.0 | all tests | yes |
46- | [ FBX SDK] ( https://aps.autodesk.com/developer/overview/fbx-sdk ) | 2020.3.7 | usdfbx | no |
47- | [ LibXml2] ( https://gitlab.gnome.org/GNOME/libxml2 ) | 2.10.0 | usdfbx | no |
48- | [ Zlib] ( https://github.com/madler/zlib.git ) | 1.2.11 | usdfbx | no |
49- | [ TinyGltf] ( https://github.com/syoyo/tinygltf ) | 2.8.21 | usdgltf | no |
50- | [ Draco] ( https://github.com/google/draco.git ) | 1.56 | usdgltf | yes |
51- | [ Fmt] ( https://github.com/fmtlib/fmt.git ) | 10.1.1 | usdobj | no |
52- | [ FastFloat] ( https://github.com/lemire/fast_float.git ) | 1.1.2 | usdobj | no |
53- | [ Happly] ( https://github.com/nmwsharp/happly.git ) | cfa2611 | usdply | no |
54- | [ Substance] ( https://developer.adobe.com/substance3d-sdk/ ) | 9.1.2 | usdsbsar | no |
44+ | [ Pixar USD] ( https://github.com/PixarAnimationStudios/USD ) | 23.08 | all | no |
45+ | [ GTest] ( https://github.com/google/googletest.git ) | 1.11.0 | all tests | yes |
46+ | [ Eigen] ( https://gitlab.com/libeigen/eigen ) | 3.4.0 | usdply | no |
47+ | [ FBX SDK] ( https://aps.autodesk.com/developer/overview/fbx-sdk ) | 2020.3.7 | usdfbx | no |
48+ | [ LibXml2] ( https://gitlab.gnome.org/GNOME/libxml2 ) | 2.10.0 | usdfbx | no |
49+ | [ Zlib] ( https://github.com/madler/zlib.git ) | 1.2.11 | usdfbx | no |
50+ | [ TinyGltf] ( https://github.com/syoyo/tinygltf ) | 2.8.21 | usdgltf | no |
51+ | [ Draco] ( https://github.com/google/draco.git ) | 1.56 | usdgltf | yes |
52+ | [ Fmt] ( https://github.com/fmtlib/fmt.git ) | 10.1.1 | usdobj | no |
53+ | [ FastFloat] ( https://github.com/lemire/fast_float.git ) | 1.1.2 | usdobj | no |
54+ | [ Happly] ( https://github.com/nmwsharp/happly.git ) | cfa2611 | usdply | no |
55+ | [ Spherical Harmonics] ( https://github.com/google/spherical-harmonics ) | ccb6c7f | usdply | no |
56+ | [ Substance] ( https://developer.adobe.com/substance3d-sdk/ ) | 9.1.2 | usdsbsar | no |
5557
5658## Build
5759
@@ -141,8 +143,6 @@ where:
141143| -DUSD_FILEFORMATS_FETCH_FASTFLOAT | Forces FetchContent for FastFLoat | ON | usdobj |
142144| -DUSD_FILEFORMATS_ENABLE_ASM | Generate a ASM based material network on layerwrite | OFF |
143145
144- Note that `Dpxr_ROOT` is *not* an optional parameter - a reference to the OpenUSD installation path **has** to be passed.
145-
146146ZLIB, Draco and OpenImageIO packages are hinted to search into the USD installation by default. Override this by setting their ROOT or their FETCH variables (no fetch for OIIO).
147147
148148The previous commands will place intermediate files into the folder `build` and install binaries into the folder `bin`.
@@ -157,7 +157,7 @@ Also, make the plugins discoverable by USD to complete installation, by adding t
157157 ```bash
158158 python ./USD/build_scripts/build_usd.py ./usd-install --build-shared --usd-imaging --tools --generator <GENERATOR> --openimageio --build-variant release
159159 ```
160- #### For Linux/Mac :
160+ #### For Linux:
161161 ``` bash
162162 python ./USD/build_scripts/build_usd.py ./usd-install --use-cxx11-abi=1 --build-shared --usd-imaging --tools --generator < GENERATOR> --openimageio --build-variant release
163163 ```
@@ -175,12 +175,19 @@ Environment Variables
175175 set PATH=%PATH%; .\U SD-Fileformat-plugins\b in\b in; .\U SD-Fileformat-plugins\b in\p lugin\u sd
176176 set PXR_PLUGINPATH_NAME=%PXR_PLUGINPATH_NAME%; .\U SD-Fileformat-plugins\b in\p lugin\u sd
177177 ```
178- #### For Linux/Mac
178+ #### For Linux
179179 ``` bash
180180 export PATH=$PATH :./USD-Fileformat-plugins/bin/bin:./USD-Fileformat-plugins/bin/plugin/usd
181181 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :./USD-Fileformat-plugins/bin/lib:./USD-Fileformat-plugins/bin/lib64
182182 export PXR_PLUGINPATH_NAME=$PXR_PLUGINPATH_NAME :./USD-Fileformat-plugins/bin/plugin/usd
183183 ```
184+ #### For Mac
185+ ``` bash
186+ export PATH=$PATH :./USD-Fileformat-plugins/bin/bin:./USD-Fileformat-plugins/bin/plugin/usd
187+ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH :./USD-Fileformat-plugins/bin/lib
188+ export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH :./USD-Fileformat-plugins/bin/lib
189+ export PXR_PLUGINPATH_NAME=$PXR_PLUGINPATH_NAME :./USD-Fileformat-plugins/bin/plugin/usd
190+ ```
184191
185192Or Copy plugins:
186193* Copy the installed plugins and dependent shared libraries to the specified folder:
@@ -259,4 +266,4 @@ To generate the documentation go to the project root folder and enter:
259266```
260267doxygen
261268```
262- The resulting documentation will be placed at the ` docs ` folder.
269+ The resulting documentation will be placed at the ` docs ` folder.
0 commit comments