PixarAnimationStudios/OpenUSD
Fork: 1207 Star: 6096 (更新于 2024-10-25 04:29:09)
license: NOASSERTION
Language: C++ .
Universal Scene Description
最后发布版本: v24.08 ( 2024-07-26 04:17:46)
Universal Scene Description
Universal Scene Description (USD) is an efficient, scalable system for authoring, reading, and streaming time-sampled scene description for interchange between graphics applications.
For more details, please visit the web site here.
Build Status
Linux | Windows | macOS | |
---|---|---|---|
dev | |||
release |
Additional Documentation
Getting Help
Need help understanding certain concepts in USD? See Getting Help with USD or visit our forum.
If you are experiencing undocumented problems with the software, please file a bug.
Supported Platforms
USD is primarily developed on Linux platforms (CentOS 7), but is built, tested and supported on macOS and Windows.
It is also possible to build USD libraries that can be embedded in iOS and visionOS apps.
Please see VERSIONS.md for explicitly tested versions.
Dependencies
Required:
See 3rd Party Library and Application Versions for version information.
Additional dependencies are required for the following components. These components may be disabled at build-time. For further details see Advanced Build Configuration.
Imaging and USD Imaging
Required:
Optional:
Python Bindings
Required:
usdview
Required:
Getting and Building the Code
The simplest way to build USD is to run the supplied build_usd.py
script. This script will download required dependencies and build
and install them along with USD in a given directory.
Follow the instructions below to run the script with its default behavior,
which will build the USD core libraries, Imaging, and USD Imaging components.
For more options and documentation, run the script with the --help
parameter.
See Advanced Build Configuration for examples and additional documentation for running cmake directly.
1. Install prerequisites (see Dependencies for required versions)
- Required:
- C++ compiler:
- gcc
- Xcode
- Microsoft Visual Studio
- CMake
- C++ compiler:
- Optional (Can be ignored by passing
--no-python
as an argument tobuild_usd.py
)- Python (required for bindings and tests)
- PyOpenGL (required for usdview)
- PySide6 or PySide2 (required for usdview)
2. Download the USD source code
You can download source code archives from GitHub or use git
to clone the repository.
> git clone https://github.com/PixarAnimationStudios/OpenUSD
Cloning into 'OpenUSD'...
3. Run the script
Run the build_usd.py script to build and install USD. Note that the build script
is structured with an out-of-source build in mind -- installing a build into the
directory where the repository was cloned is untested.
Linux:
For example, the following will download, build, and install USD's dependencies,
then build and install USD into /path/to/my_usd_install_dir
.
> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
macOS:
In a terminal, run xcode-select
to ensure command line developer tools are
installed. Then run the script.
For example, the following will download, build, and install USD's dependencies,
then build and install USD into /path/to/my_usd_install_dir
.
> python OpenUSD/build_scripts/build_usd.py /path/to/my_usd_install_dir
iOS and visionOS:
When building from a macOS system, you can cross compile for iOS based platforms.
Cross compilation builds are restricted to building libraries that can be embedded in applications built for the target platform. It can be helpful to use a monolithic build when embedding USD (see Advanced Build Configuration).
These builds do not support Python bindings or command line tools.
Currently, these builds also do not support Imaging or USD Imaging.
For example, the following will download, build, and install USD's dependencies,
then build and install USD for iOS into /path/to/my_usd_install_dir
.
> python OpenUSD/build_scripts/build_usd.py --build-target iOS --build-monolithic /path/to/my_usd_install_dir
Or for visionOS:
> python OpenUSD/build_scripts/build_usd.py --build-target visionOS --build-monolithic /path/to/my_usd_install_dir
Windows:
Launch the "x64 Native Tools Command Prompt" for your version of Visual Studio and run the script in the opened shell. Make sure to use the 64-bit (x64) command prompt and not the 32-bit (x86) command prompt.
See https://docs.microsoft.com/en-us/cpp/build/how-to-enable-a-64-bit-visual-cpp-toolset-on-the-command-line for more details.
For example, the following will download, build, and install USD's dependencies,
then build and install USD into C:\path\to\my_usd_install_dir
.
C:\> python OpenUSD\build_scripts\build_usd.py "C:\path\to\my_usd_install_dir"
4. Try it out
Set the environment variables specified by the script when it finishes and
launch usdview
with a sample asset.
> usdview OpenUSD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda
Contributing
If you'd like to contribute to USD (and we appreciate the help!), please see the Contributing page in the documentation for more information.
最近版本更新:(数据更新于 2024-10-05 00:34:29)
2024-07-26 04:17:46 v24.08
2024-04-20 04:37:30 v24.05
2024-02-24 07:59:09 v24.03
2023-10-27 07:08:35 v23.11
2023-07-22 06:01:18 v23.08
2023-04-19 09:04:55 v23.05
2023-01-25 08:36:01 v23.02
2022-10-22 02:04:51 v22.11
2022-07-22 06:19:03 v22.08
2022-06-15 12:16:57 v22.05b
PixarAnimationStudios/OpenUSD同语言 C++最近更新仓库
2024-10-31 05:25:26 PCSX2/pcsx2
2024-10-31 04:35:03 LizardByte/Sunshine
2024-10-30 00:17:48 zerotier/ZeroTierOne
2024-10-27 23:41:32 LeagueToolkit/cslol-manager
2024-10-26 22:07:22 MaaAssistantArknights/MaaAssistantArknights
2024-10-25 23:33:57 amnezia-vpn/amnezia-client