Skip to content

Commit 59992d2

Browse files
committed
Merge release v24.08
2 parents 2864f3d + fd1338e commit 59992d2

File tree

5,799 files changed

+318948
-119697
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,799 files changed

+318948
-119697
lines changed

BUILDING.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,12 @@ ctest -C Release -R testUsdShade -V
379379

380380
See the [ctest documentation](https://cmake.org/cmake/help/latest/manual/ctest.1.html) for more options.
381381

382+
##### Test Run Directories
383+
384+
Each test is run out of an automatically-created temporary directory containing any additional files required by the test. Set the cmake
385+
option `PXR_TEST_RUN_TEMP_DIR_PREFIX` to prepend a prefix string to the name of these directories. For example, setting this option to
386+
"foo-" will create test run directories named "foo-<test dir>"
387+
382388
##### Diagnosing Failed Tests
383389

384390
In order to aid with diagnosing of failing tests, test generated files for failing test are explicitly put in the following directories, where

CHANGELOG.md

Lines changed: 624 additions & 3 deletions
Large diffs are not rendered by default.

LICENSE.txt

Lines changed: 129 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1+
============================================================
2+
OpenUSD
3+
============================================================
14

2-
Modified Apache 2.0 License
5+
Note: The Tomorrow Open Source Technology License 1.0 differs from the
6+
original Apache License 2.0 in the following manner. Section 6 ("Trademarks")
7+
is different.
38

9+
TOMORROW OPEN SOURCE TECHNOLOGY LICENSE 1.0
410

511
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
612

@@ -679,7 +685,7 @@ The Art of C++ : PEGTL (Parsing Expression Grammar Template Library)
679685

680686
The MIT License (MIT)
681687

682-
Copyright (c) 2007-2020 Dr. Colin Hirsch and Daniel Frey
688+
Copyright (c) 2007-2022 Dr. Colin Hirsch and Daniel Frey
683689

684690
Permission is hereby granted, free of charge, to any person obtaining a copy
685691
of this software and associated documentation files (the "Software"), to deal
@@ -699,31 +705,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
699705
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
700706
SOFTWARE.
701707

702-
================================================================
703-
invoke.hpp
704-
================================================================
705-
706-
MIT License
707-
708-
Copyright (C) 2018-2023, by Matvey Cherevko ([email protected])
709-
710-
Permission is hereby granted, free of charge, to any person obtaining a copy of
711-
this software and associated documentation files (the "Software"), to deal in
712-
the Software without restriction, including without limitation the rights to
713-
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
714-
the Software, and to permit persons to whom the Software is furnished to do so,
715-
subject to the following conditions:
716-
717-
The above copyright notice and this permission notice shall be included in all
718-
copies or substantial portions of the Software.
719-
720-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
721-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
722-
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
723-
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
724-
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
725-
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
726-
727708
================================================================
728709
Doxygen Awesome
729710
================================================================
@@ -748,4 +729,124 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
748729
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
749730
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
750731
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
751-
SOFTWARE.
732+
SOFTWARE.
733+
734+
================================================================
735+
LibAvif v1.0.4
736+
================================================================
737+
738+
Copyright 2019 Joe Drago. All rights reserved.
739+
740+
Redistribution and use in source and binary forms, with or without
741+
modification, are permitted provided that the following conditions are met:
742+
743+
1. Redistributions of source code must retain the above copyright notice, this
744+
list of conditions and the following disclaimer.
745+
746+
2. Redistributions in binary form must reproduce the above copyright notice,
747+
this list of conditions and the following disclaimer in the documentation
748+
and/or other materials provided with the distribution.
749+
750+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
751+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
752+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
753+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
754+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
755+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
756+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
757+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
758+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
759+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
760+
761+
================================================================
762+
AVIF/src/obu.c, renamed in this repository as AVIF/src/avif_obu.c
763+
================================================================
764+
765+
Copyright © 2018-2019, VideoLAN and dav1d authors
766+
All rights reserved.
767+
768+
Redistribution and use in source and binary forms, with or without
769+
modification, are permitted provided that the following conditions are met:
770+
771+
1. Redistributions of source code must retain the above copyright notice, this
772+
list of conditions and the following disclaimer.
773+
774+
2. Redistributions in binary form must reproduce the above copyright notice,
775+
this list of conditions and the following disclaimer in the documentation
776+
and/or other materials provided with the distribution.
777+
778+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
779+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
780+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
781+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
782+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
783+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
784+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
785+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
786+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
787+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
788+
789+
================================================================
790+
AVIF/third_party/libyuv/*
791+
================================================================
792+
793+
Copyright 2011 The LibYuv Project Authors. All rights reserved.
794+
795+
Redistribution and use in source and binary forms, with or without
796+
modification, are permitted provided that the following conditions are
797+
met:
798+
799+
* Redistributions of source code must retain the above copyright
800+
notice, this list of conditions and the following disclaimer.
801+
802+
* Redistributions in binary form must reproduce the above copyright
803+
notice, this list of conditions and the following disclaimer in
804+
the documentation and/or other materials provided with the
805+
distribution.
806+
807+
* Neither the name of Google nor the names of its contributors may
808+
be used to endorse or promote products derived from this software
809+
without specific prior written permission.
810+
811+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
812+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
813+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
814+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
815+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
816+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
817+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
818+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
819+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
820+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
821+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
822+
823+
================================================================
824+
libaom
825+
================================================================
826+
827+
Copyright (c) 2016, Alliance for Open Media. All rights reserved.
828+
829+
Redistribution and use in source and binary forms, with or without
830+
modification, are permitted provided that the following conditions
831+
are met:
832+
833+
1. Redistributions of source code must retain the above copyright
834+
notice, this list of conditions and the following disclaimer.
835+
836+
2. Redistributions in binary form must reproduce the above copyright
837+
notice, this list of conditions and the following disclaimer in
838+
the documentation and/or other materials provided with the
839+
distribution.
840+
841+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
842+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
843+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
844+
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
845+
COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
846+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
847+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
848+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
849+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
850+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
851+
ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
852+
POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ Supported Platforms
3838
USD is primarily developed on Linux platforms (CentOS 7), but is built, tested
3939
and supported on macOS and Windows.
4040

41+
It is also possible to build USD libraries that can be embedded
42+
in iOS and visionOS apps.
43+
4144
Please see [VERSIONS.md](VERSIONS.md) for explicitly tested versions.
4245

4346
Dependencies
@@ -46,12 +49,8 @@ Dependencies
4649
Required:
4750
- C/C++ compiler
4851
- [CMake](https://cmake.org/documentation/)
49-
- [Boost](https://boost.org)
5052
- [Intel TBB](https://www.threadingbuildingblocks.org/)
5153

52-
Optional:
53-
- [Python](https://python.org)
54-
5554
See [3rd Party Library and Application Versions](VERSIONS.md) for version information.
5655

5756
Additional dependencies are required for the following components. These
@@ -70,10 +69,16 @@ Optional:
7069
- [OSL (OpenShadingLanguage)](https://github.com/imageworks/OpenShadingLanguage)
7170
- [Ptex](http://ptex.us/)
7271

73-
**usdview**
72+
**Python Bindings**
7473

7574
Required:
75+
- [Python](https://python.org)
76+
- [Boost](https://boost.org)
77+
78+
**usdview**
7679

80+
Required:
81+
- Python bindings
7782
- [PySide6](http://wiki.qt.io/PySide6) or [PySide2](http://wiki.qt.io/PySide2)
7883
- [PyOpenGL](https://pypi.python.org/pypi/PyOpenGL/)
7984

@@ -129,7 +134,7 @@ then build and install USD into `/path/to/my_usd_install_dir`.
129134
> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
130135
```
131136

132-
##### MacOS:
137+
##### macOS:
133138

134139
In a terminal, run `xcode-select` to ensure command line developer tools are
135140
installed. Then run the script.
@@ -141,6 +146,33 @@ then build and install USD into `/path/to/my_usd_install_dir`.
141146
> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
142147
```
143148

149+
##### iOS and visionOS:
150+
151+
When building from a macOS system, you can cross compile
152+
for iOS based platforms.
153+
154+
Cross compilation builds are restricted to building libraries that can be
155+
embedded in applications built for the target platform. It can be helpful
156+
to use a monolithic build when embedding USD
157+
(see [Advanced Build Configuration](BUILDING.md)).
158+
159+
These builds do not support Python bindings or command line tools.
160+
161+
Currently, these builds also do not support Imaging or USD Imaging.
162+
163+
For example, the following will download, build, and install USD's dependencies,
164+
then build and install USD for iOS into `/path/to/my_usd_install_dir`.
165+
166+
```
167+
> python OpenUSD/build_scripts/build_usd.py --build-target iOS --build-monolithic /path/to/my_usd_install_dir
168+
```
169+
170+
Or for visionOS:
171+
172+
```
173+
> python OpenUSD/build_scripts/build_usd.py --build-target visionOS --build-monolithic /path/to/my_usd_install_dir
174+
```
175+
144176
##### Windows:
145177

146178
Launch the "x64 Native Tools Command Prompt" for your version of Visual Studio

VERSIONS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Our test machines have the following software versions installed.
1313

1414
| Software | Linux | macOS | Windows |
1515
| ------------- | -------------------- | ---------------------------- | ------------------------------ |
16-
| OS | CentOS Linux 7 | 12.6.3 | Windows 10 |
17-
| C++ Compiler | gcc 9.3.1 | Apple clang 13.1.6 (Xcode 13.3) | Visual Studio 2017 15.9 |
16+
| OS | CentOS Linux 7 | 12.6.3, 14.5 for visionOS | Windows 10 |
17+
| C++ Compiler | gcc 9.3.1 | Apple clang 13.1.6 (Xcode 13.3)<br>Apple clang 15.0.0 (Xcode 15.4) for visionOS | Visual Studio 2017 15.9 |
1818
| CMake | 3.17.5 | 3.19.5 | 3.25.3 |
1919
| Python | 3.9.16 | 3.9.13 | 3.9.13 |
2020
| Boost | 1.76.0 | 1.78.0 | 1.76.0 |
@@ -30,7 +30,7 @@ Our test machines have the following software versions installed.
3030
| RenderMan | 25.3 | 25.3 | 25.3 |
3131
| Alembic | 1.8.5 | 1.8.5 | 1.8.5 |
3232
| OpenEXR | 3.1.11 | 3.1.11 | 3.1.11 |
33-
| MaterialX | 1.38.8 | 1.38.8 | 1.38.8 |
33+
| MaterialX | 1.38.10 | 1.38.10 | 1.38.10 |
3434
| Jinja2 | 2.0 | | |
3535
| Flex | 2.5.39 | | |
3636
| Bison | 2.4.1 | | |

0 commit comments

Comments
 (0)