Tools for it
Two Mac apps built on the engine.
One lays out worlds, the other builds characters, and the engine opens what each one saves. Neither is needed to use Ductane: the world file is documented, and characters are ordinary USD.
Worlds
Worldra
Lay out a world from anyone's environment packs, in USD, glTF, FBX or OBJ. Scatter props across a hillside, sculpt and paint the ground, set the sky, the weather and the sound, and walk through it.
- One file out. The export is a single
.usdzwith every prop and texture inside, which a game opens withWorldPackage. - Walk it first. Walk the scene at eye height, with the ground and props solid, on the keyboard or a controller.
- Water, effects and an edge. Bodies of water, smoke and fog, and a dome or walls around the map so nothing falls off it.
// your game let engine = try FrameRenderer(device: device) let world = try WorldRenderer(engine: engine) engine.game = world let url = Bundle.main.url(forResource: "Meadow", withExtension: "usdz")! try world.show(WorldPackage(contentsOf: url)) { failures in for (prop, error) in failures { print("\(prop.lastPathComponent): \(error)") } }
A world exported from Worldra, opened and drawn. Drawing a world
Characters
Rigkin
Build characters from anyone's modular parts, in FBX, glTF, USD or a Unity package. Browse the parts, randomize, fit helmets over hair, mark the clips that go with the character — walk, run, attack — and export.
- Rigged and animated. Every export carries its clips, as USD, USDZ, glTF or FBX.
- Ready for the engine. The engine's characters load the USD, skeleton and clips together, and skin it on the GPU.
- Clips from other rigs. Animation made for one skeleton is retargeted onto the character's own.
// your game: a character exported from Rigkin as USD let rig = try RigLoader.load(url: characterURL) var pose = SkeletonPose(skeleton: rig.skeleton)
A rig and the clips authored against it. Skeletons and clips
The format is open
Nothing ties the engine to these two apps.
Any tool can write a world
The world description inside a scene package is public and documented. An editor of your own, a script or a level generator can write one, and the engine opens it the same way.
Characters are USD or glTF
Skeletons, skins and clips are read from USD and from glTF, from whatever made them — the format other engines' characters come in, compressed or not.
Start from a template
ductane-new writes an Xcode project that opens an exported world and walks it in first person.