SwiftUSD v26.5.1 | 🎧swift on.
OpenUSD v26.05
Changelog
Important
This repository was renamed to https://github.com/wabiverse/swift-usd.git. If you previously specified https://github.com/wabiverse/SwiftUSD.git in your own SwiftPM package dependency URLs, or used SwiftUSD to refer to this package in your own SwiftPM package, change it to swift-usd. This is because the apple/SwiftUsd package conflicted with our own package name, and we will be using apple/SwiftUsd to bring in precompiled binaries by default across all Apple Darwin platforms.
Commits
Changes
- For a full list of changes from OpenUSD v24.08 - v26.05, see the OpenUSD changelog.
- Starting with this release, we will be tracking all future upstream OpenUSD changes in our
devbranch, and all current OpenUSD releases in ourreleasebranch, if you were previously tracking our now deprecatedmainbranch, track our newdevbranch instead. This is made possible by the new changes in theopenusd updatecommand (source code), usage:# update all swiftusd's openusd source with the latest v26.05 release swift package --disable-sandbox plugin openusd update v26.05 # or update all swiftusd's openusd source with the latest changes from the openusd 'dev' branch swift package --disable-sandbox plugin openusd update # build swiftusd for android, linux, all apple platforms, or [windows (WIP)] swift build
- Experimental Android support - build OpenUSD apps for Android:
SWIFTUSD_ANDROID_SUPPORT_ENABLED=1 swift bundler run --simulator "Pixel_10_Pro" -c release UsdView
Thank you
- @meshula
- @dgovil
- @brechtvl
- @stackotter
- @gracien-app
- @scott-wilson
- @obvgab
- @felfoldy
- Pixar's OpenUSD contributors
Usage
To use this release of Pixar's USD in your swift project, add the following to the dependencies section in your Package.swift file:
// swift-tools-version: 6.0
dependencies: [
.package(url: "https://github.com/wabiverse/swift-usd.git", from: "26.5.1")
]Linux
For Linux, these are the only dependencies required, as MetaverseKit provides everything else.
Tip
If you are on a distro like Ubuntu there is a good chance you already have most of these installed.
| Dependency | CentOS | Ubuntu |
|---|---|---|
| BZ2 | bzip2-devel | libbz2-dev |
| ZLib | zlib-devel | zlib1g-dev |
| FreeGLUT | freeglut-devel | freeglut3-dev |
| DEFLATE | libdeflate-devel | libdeflate-dev |
| Expat | libexpat-devel | libexpat1-dev |
| Xcursor | libXcursor-devel | libxcursor-dev |
| Xt | libXt-devel | libxt-dev |
| Xi | libXi-devel | libxi-dev |
| Xinerama | libXinerama-devel | libxinerama-dev |
| Xrandr | libXrandr-devel | libxrandr-dev |
