Skip to content

Releases: wabiverse/SwiftUSD

v23.11.17 | Stay Swifty

09 Jan 08:28
2697fd5
Compare
Choose a tag to compare

What's New

  • Featuring the metaversal epoch of the declarative api:

    Screenshot 2024-01-09 at 2 13 40 AM
  • Addition of all Pixar.UsdLux schema prims, including the ability to define them from the declarative api.

  • Allow a (hopefully) seamless experience for users who run a app that depends on SwiftUSD as a dependency by auto installing all usd plugins and resources for users who run the swift run command - though, our preference is for users to properly bundle their apps by adding the SwiftBundler package to their package dependencies and running the following command:

    // Linux
    swift package --disable-sandbox plugin bundler run -p linux MyApp
    // macOS
    swift package --disable-sandbox plugin bundler run -p macOS MyApp
    // visionOS
    swift package --disable-sandbox plugin bundler run -p visionOS MyApp
    // visionOS Simulator
    swift package --disable-sandbox plugin bundler run -p visionOSSimulator MyApp
    // iOS
    swift package --disable-sandbox plugin bundler run -p iOS MyApp
    // iOS Simulator
    swift package --disable-sandbox plugin bundler run -p iOSSimulator MyApp
  • v23.11.15 incidentally broke app bundles with its auto installer of all usd resources which is never intended to be run for
    app bundles since they are always embedded with all their usd resources out of the box, the auto installer is only for the use
    case of swift run or when the app is "unbundled" AKA the absence of an .app directory with a Contents/Resources
    directory structure, this release of v23.11.16 ensures that both bundled and unbundled apps can happily find all their
    required usd plugin resources.

  • Resolved an additional pesky duplicate linker symbol due to swift's cxx interop seemingly ignoring hidden visibility attributes.

  • Cleanup of console & debug logging, along with various api cleanups and the ability to author schema types for declaratively defined prims.

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 😅.

  • Addition of a swifty Pixar.UsdShade API and the Pixar.UsdShader plugin for shaders such as UsdPreviewSurface.

  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.

    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.

  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.Ndr
  • Pixar.Sdr
  • Pixar.UsdGeom
  • Pixar.UsdShade
  • Pixar.UsdLux

Pixar/UsdImaging

  • Pixar.UsdShaders


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.17"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.16

07 Jan 17:28
7268529
Compare
Choose a tag to compare

What's New

  • Initial Declarative StageBuilder, which works like SwiftUI but for Universal Scene Description:

    Screenshot 2024-01-06 at 2 20 52 AM
  • Allow a (hopefully) seamless experience for users who run a app that depends on SwiftUSD as a dependency by auto installing all usd plugins and resources for users who run the swift run command - though, our preference is for users to properly bundle their apps by adding the SwiftBundler package to their package dependencies and running the following command:

    // Linux
    swift package --disable-sandbox plugin bundler run -p linux MyApp
    // macOS
    swift package --disable-sandbox plugin bundler run -p macOS MyApp
    // visionOS
    swift package --disable-sandbox plugin bundler run -p visionOS MyApp
    // visionOS Simulator
    swift package --disable-sandbox plugin bundler run -p visionOSSimulator MyApp
    // iOS
    swift package --disable-sandbox plugin bundler run -p iOS MyApp
    // iOS Simulator
    swift package --disable-sandbox plugin bundler run -p iOSSimulator MyApp
  • v23.11.15 incidentally broke app bundles with its auto installer of all usd resources which is never intended to be run for
    app bundles since they are always embedded with all their usd resources out of the box, the auto installer is only for the use
    case of swift run or when the app is "unbundled" AKA the absence of an .app directory with a Contents/Resources
    directory structure, this release of v23.11.16 ensures that both bundled and unbundled apps can happily find all their
    required usd plugin resources.

  • Resolved an additional pesky duplicate linker symbol due to swift's cxx interop seemingly ignoring hidden visibility attributes.

  • Cleanup of console & debug logging, along with various api cleanups and the ability to author schema types for declaratively defined prims.

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 😅.

  • Addition of a swifty Pixar.UsdShade API and the Pixar.UsdShader plugin for shaders such as UsdPreviewSurface.

  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.

    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.

  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.Ndr
  • Pixar.Sdr
  • Pixar.UsdGeom
  • Pixar.UsdShade
  • Pixar.UsdLux

Pixar/UsdImaging

  • Pixar.UsdShaders


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.16"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.15 | Stability & UX Edition

07 Jan 15:54
2c5e23f
Compare
Choose a tag to compare

What's New

  • Initial Declarative StageBuilder, which works like SwiftUI but for Universal Scene Description:

    Screenshot 2024-01-06 at 2 20 52 AM
  • Allow a (hopefully) seamless experience for users who run a app that depends on SwiftUSD as a dependency by auto installing all usd plugins and resources for users who run the swift run command - though, our preference is for users to properly bundle their apps by adding the SwiftBundler package to their package dependencies and running the following command:

    // Linux
    swift package --disable-sandbox plugin bundler run -p linux MyApp
    // macOS
    swift package --disable-sandbox plugin bundler run -p macOS MyApp
    // visionOS
    swift package --disable-sandbox plugin bundler run -p visionOS MyApp
    // visionOS Simulator
    swift package --disable-sandbox plugin bundler run -p visionOSSimulator MyApp
    // iOS
    swift package --disable-sandbox plugin bundler run -p iOS MyApp
    // iOS Simulator
    swift package --disable-sandbox plugin bundler run -p iOSSimulator MyApp
  • Resolved an additional pesky duplicate linker symbol due to swift's cxx interop seemingly ignoring hidden visibility attributes.

  • Cleanup of console & debug logging, along with various api cleanups and the ability to author schema types for declaratively defined prims.

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 😅.

  • Addition of a swifty Pixar.UsdShade API and the Pixar.UsdShader plugin for shaders such as UsdPreviewSurface.

  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.

    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.

  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.Ndr
  • Pixar.Sdr
  • Pixar.UsdGeom
  • Pixar.UsdShade
  • Pixar.UsdLux

Pixar/UsdImaging

  • Pixar.UsdShaders


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.15"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.14

06 Jan 08:14
1bf3434
Compare
Choose a tag to compare

What's New

  • Initial Declarative StageBuilder, which works like SwiftUI but for Universal Scene Description:

    Screenshot 2024-01-06 at 2 20 52 AM
  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 😅.

  • Addition of a swifty Pixar.UsdShade API and the Pixar.UsdShader plugin for shaders such as UsdPreviewSurface.

  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.

    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.

  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.Ndr
  • Pixar.Sdr
  • Pixar.UsdGeom
  • Pixar.UsdShade
  • Pixar.UsdLux

Pixar/UsdImaging

  • Pixar.UsdShaders


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.14"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.13

31 Dec 23:58
0fba068
Compare
Choose a tag to compare

What's New

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 🎉.
  • Addition of a swifty Pixar.UsdShade API and the Pixar.UsdShader plugin for shaders such as UsdPreviewSurface.
  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.
    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.
  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).
  • And a Merry Christmas 🎄 to all!

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.13"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.12

30 Dec 10:14
220c044
Compare
Choose a tag to compare

What's New

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 🎉.
  • Automatically generated swift code for (Camera, Capsule, Cone, Cube, Cylinder, Mesh, Plane, Sphere, and Xform) to implement the UsdGeomXformable API through the addition of a new swift macro @Xformable.
    • Each of these types now autogenerate the addXformOp(), addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions by simply declaring @Xformable before their extension declarations.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.
  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).
  • And a Merry Christmas 🎄 to all!

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.12"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.11

30 Dec 07:14
2fc720f
Compare
Choose a tag to compare

What's New

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 🎉.
  • The addition of addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions to the Pixar.UsdGeom.Xform API.
  • Removal of the inout requirement for all functions which take a stage argument to simplify the USD API and keep it consistent with Python and C++.
  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).
  • And a Merry Christmas 🎄 to all!

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.11"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-30 at 1 09 56 AM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.10

29 Dec 06:42
20404a4
Compare
Choose a tag to compare

What's New

  • Proof of Concept is officially in working order, you can now author scene description in swift without the crashing 🎉.
  • The addition of addTranslateOp(), addScaleOp(), addRotateXOp(), addRotateYOp(), addRotateZOp() functions to the Pixar.UsdGeom.Xform API.
  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).
  • And a Merry Christmas 🎄 to all!

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.9"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-27 at 9 04 51 PM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.9

28 Dec 19:19
e2a9d31
Compare
Choose a tag to compare

What's New

  • Hello World proof of concept is officially in working order which means you should now be able to author scene description in swift without the crashing 🎉.
  • The initial swift implementation of BasisCurves, Camera, Capsule, Cone, Cube, Cylinder, Mesh, NurbsCurves, NurbsPatch, Plane, Points, Sphere, Subset, and Xform. Eventually, each prim type defined by a USD schema; such as all these types, will have their swift code autogenerated with SwiftSyntax tied into UsdGenSchema, and provided as a swift package plugin for users to easily add their own additional schema-defined named API as extensions of the Pixar (or custom user provided) namespace(s).
  • And a Merry Christmas 🎄 to all!

Important

Currently in stable alpha, with many things still not tested or even attempted yet. If you experience any bugs or other strange behavior, we ask that you please submit a new issue ticket so that any issues that arise can be addressed and tracked, the goal of this project is to be a complete and comprehensive native integration of Pixar's USD into the Swift programming language. We also highly encourage feature requests and overall design considerations by all members of the community as well as the industry.

SwiftUSD is an inclusive project built for everyone, as free and open source software that is owned by its contributors.

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.9"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-27 at 9 04 51 PM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh

v23.11.8 | Hello World

28 Dec 03:18
94ab5da
Compare
Choose a tag to compare

What's New

  • Hello World proof of concept is officially in working order which means you should now be able to author scene description in swift without the crashing 🎉.
  • The addition of Pixar.UsdGeom for all your USD Geometry Schema needs.
  • And a Merry Christmas 🎄 to all!

We are now prepared to commence comprehensive development of the Swift API for Pixar USD. Following the successful integration of each module so far, packed with umbrella headers that encompass the entirety of their associated header files.

Our current focus will be on ensuring Linux compatibility and transforming MetaverseKit into a cross-platform Swift package. Additionally, we will collaborate with the SwiftPM team to enhance the capabilities of the package manager. Our goal is to seamlessly incorporate this Package.swift file into the root of the official OpenUSD project, preserving its existing project structure.

What Works


Pixar/Base

  • Pixar.Arch
  • Pixar.Tf
  • Pixar.Gf
  • Pixar.Js
  • Pixar.Trace
  • Pixar.Vt
  • Pixar.Work
  • Pixar.Plug

Pixar/Usd

  • Pixar.Ar
  • Pixar.Kind
  • Pixar.Sdf
  • Pixar.Pcp
  • Pixar.Usd
  • Pixar.UsdGeom


Usage

To use this release of Pixar's USD in your swift project, add the following to your Package.swift file:

dependencies: [
  .package(url: "/~https://github.com/wabiverse/SwiftUSD.git", from: "23.11.8"),
]

Note

Zero prerequisites, just run swift build in your own swift app, game, library, or plugin.

Screenshot 2023-12-27 at 9 04 51 PM

Note

The Wabi Foundation uses SwiftUSD to build the Kraken metaversal creation suite, you can always find an up to date configuration to use for your own Swift project here.

aliens-oooh