Skip to content

Commit

Permalink
Hello Metaverse.
Browse files Browse the repository at this point in the history
  • Loading branch information
furby-tm committed Dec 28, 2023
1 parent 152b369 commit da5999a
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
10 changes: 10 additions & 0 deletions Kraken.usda
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
#usda 1.0

def "Hello"
{
def "Metaverse"
{
def Sphere "World"
{
}
}
}

4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/wabiverse/SwiftUSD.git",
"state" : {
"revision" : "c747b014e4998e135abcf110939720a9627b2ad4",
"version" : "23.11.6"
"revision" : "94ab5da67515599fecf5a03940d3b8b8fef5f49a",
"version" : "23.11.8"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let package = Package(
// --- 🦄 Package Dependencies. ---
dependencies: [
.package(url: "https://github.com/furby-tm/swift-bundler", from: "2.0.8"),
.package(url: "https://github.com/wabiverse/SwiftUSD.git", from: "23.11.6")
.package(url: "https://github.com/wabiverse/SwiftUSD.git", from: "23.11.8")
],

// --- 🎯 Package Targets. ---
Expand Down
7 changes: 6 additions & 1 deletion Sources/Kraken/Creator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,12 @@ struct Kraken: App
Msg.Log.point("The value of pxrValue", to: pxrValue.GetBool())

/* Create a new USD stage. */
Pixar.Usd.Stage.createNew("Kraken.usda")
var stage = Pixar.Usd.Stage.createNew("Kraken.usda")

/* & hello metaverse. */
Pixar.UsdGeom.Sphere.define(&stage, path: "/Hello/Metaverse/World")

stage.save()

print("Kraken launched.")
}
Expand Down

0 comments on commit da5999a

Please sign in to comment.