DGArt:RT animation examples
A visual index of known-good, plain-text .usda projects. Each example states its file, timing, features, and an excerpt of its animation data as readable text.
Generation contract
Start from the example nearest to the requested feature. Preserve the USDA layer metadata, the Root hierarchy, mesh topology, material bindings, UsdPreviewSurface materials, transform order, and DGArt-specific customData payloads.
For animation, keep these consistent with each other:
startTimeCode,endTimeCode,timeCodesPerSecondin the layer headeranimationDurationindgartEnv, equal toendTimeCode / timeCodesPerSecond(when present)- the
tracksJSON inside the animated object'sdgartcustomData - matching
*.timeSampleson the same object'sxformOpattributes, where the feature has transform motion
Only objects that move are animated. A child whose dgart has a parentID and no tracks follows its parent. Not every feature uses timeSamples: camera FOV, light colour and intensity, material surface, and morph weight are stored only in tracks. Do not substitute a generic USD layout and expect every DGArt:RT feature to survive.
Examples
| Example | File | Timing | Features |
|---|---|---|---|
| Basic animation | Basic Animation.usda | 100 frames · 24 fps · 4.17 s | Position, rotation, scale, visibility, easing |
| Parent–child animation | Parent Child Animation.usda | 30 frames · 24 fps · 1.25 s | Parent transform, inherited child motion |
| Camera animation | Camera Animation.usda | 120 frames · 24 fps · 5 s | Camera FOV, focus distance, pose |
| Light animation | Light Animation.usda | 60 frames · 24 fps · 2.5 s | Light intensity and colour (directional, point, spot, area) |
| Materials animation | Materials Animation.usda | 30 frames · 24 fps · 1.25 s | Metallic, roughness, opacity, IOR, emission |
| Morph animation | Morph Animation.usda | 80 frames · 24 fps · 3.33 s | Morph weight, morph target mesh |
| Motion path animation | Motion Path Animation.usda | 60 frames · 24 fps · 2.5 s | Bezier path keys, orient along path |
Download links: Basic · Parent–child · Camera · Light · Materials · Morph · Motion path
Full Sources: Animation Samples
1. Basic animation
Three cubes, each animated with different easing. Layer: startTimeCode = 0, endTimeCode = 100, timeCodesPerSecond = 24, animationDuration = 4.1666665.
Cube (id 3C20DEFB) parent: none
position: 0s (0,0.5,0) Ease In | 2.09s (0,1,0) Ease In-Out | 4.17s (0,0.5,0) Ease Out
rotation: 0,0,0 at all keys
scale: 1,1,1 at all keys
visibility: true
Cube 2 (id C6C58E68) parent: none
position: (-2,0.5,0) constant, Linear
rotation: 0s (0,0,0) | 2.09s (-0,90,0) Linear | 4.17s (0,0,0) Linear
visibility: true
Cube 3 (id B4781392) parent: none
position: (2,0.5,0) constant
scale: 0s 1,1,1 | 2.1s 0.5,0.5,0.5 Ease In-Out | 4.17s 1,1,1 Linear
visibility: true
Excerpt reformatted from the sample's tracks JSON. Each object also carries per-frame xformOp:translate.timeSamples, xformOp:rotateXYZ.timeSamples, and xformOp:scale.timeSamples from frame 0 to 100.
2. Parent–child animation
One animated parent cube and one child cube. Layer: endTimeCode = 30, timeCodesPerSecond = 24, animationDuration = 1.25.
Cube (id E3B7450E) parent: none (animated)
position: 0s (0,0.75,0) | 0.64s (0,0.75,0) | 1.25s (0,0.75,0) Linear
rotation: 0s (0,0,0) | 0.64s (180,-8.65e-06,180) | 1.25s (0,0,0) Linear
scale: 1,1,1
visibility: true
Cube 2 (id 73B973C1) parentID: E3B7450E (no tracks)
local position: (0.7, 0.45, 0) local rotation: (0,0,0)
USD world transform: translate (0.7, 1.2, 0), static
moves only because its parent moves
The child's USD xformOp:translate stores its world position, while position in dgart stores its position relative to the parent.
3. Camera animation
One camera with a field-of-view and focus animation. Layer: endTimeCode = 120, timeCodesPerSecond = 24. The layer has no animationDuration entry.
Camera (id 1A2261FC) (animated)
dgart camera: fovDegrees 60, dofFocusDistance 6 (defaults)
tracks.cameraKeys:
0s fov 60 focusDistance 6 Linear
2.51s fov 22.01 focusDistance 6 Ease In-Out
5s fov 60 focusDistance 6 Linear
tracks.position / rotation: one key at 2.51s (3.19,2.75,4.56), (-22,35,0)
USD: focalLength 13.24, verticalAperture 15.29
xformOp:translate and rotateXYZ: constant timeSamples over frames 0-120
The zoom is stored only in tracks.cameraKeys. The USD camera attributes stay constant, so an LLM editing the zoom should change cameraKeys, not focalLength.
4. Light animation
Four lights with intensity and colour keys. Layer: endTimeCode = 60, timeCodesPerSecond = 24, animationDuration = 2.5.
Directional Light (DistantLight) position (2,3,0)
tracks.lightKeys: intensity 0.186 (0s) | 0.781 (0.63s) | 0.186 (1.27s) | 0.186 (1.87s) | 0.186 (2.5s) Ease In-Out
Point Light (SphereLight, kind Point) position (-2.03,3,-2)
tracks.lightKeys: intensity 1 | 0.47 at 0.62s, colour turns green-blue | back to 1 at 1.27s | 0.48 at 1.87s | 1 at 2.5s Linear
Spot Light (SphereLight, kind Spot) position (2,3,-2), rotationDegrees (132,45,180)
tracks.lightKeys: cone angle 30 -> 25 and outer 45 -> 40 at 0.61s | intensity 0.67 | back to 1.0 at 1.27s | 0.59 at 1.87s Ease In-Out
Area Light (RectLight, kind Area) position (-2,3,2), rotationDegrees (-46.69,-45,0)
tracks.lightKeys: colour (1,0.58,0) -> (1,0.99,0) at 1.24s, intensity 1 -> 2.29 -> 1 Ease In-Out
Light intensity and colour live in tracks.lightKeys. USD inputs:intensity is a fixed value (for example 185.924 for the directional light, where dgart uses 0.186), so DGArt's own value is the one to change.
5. Materials animation
Three cubes with surface changes and one static plane. Layer: endTimeCode = 30, timeCodesPerSecond = 24, animationDuration = 1.25.
Cube (id 381853E7) (animated)
tracks.materialKeys:
0s baseColor (1,0.32,0.78), metallic 0, roughness 0.5, ior 1.5
0.64s metallic 0.8, roughness 0.2
1.25s back to metallic 0, roughness 0.5 Linear
Cube 2 (id 9FE8CB5B) (animated)
tracks.materialKeys:
0.64s opacity 0.1, ior 1.2
1.25s back to opacity 1, ior 1.5 Linear
Cube 3 (id 60F918C1) (animated)
tracks.materialKeys:
0.63s emissionIntensity 10 Linear
1.25s emissionIntensity 0 Linear
Plane (id E71EDB2E) static
Material changes use tracks.materialKeys, where each value is an array of material objects. The USD material is static, so there are no timeSamples for materials.
6. Morph animation
One cube that morphs into a shrunken target shape. Layer: endTimeCode = 80, timeCodesPerSecond = 24, animationDuration = 3.3333333.
Cube (id BF47DC76) (animated, shows the morph)
tracks.morph:
0s weight 0
1.68s weight 0.948 Ease In-Out
3.33s weight 0 Linear
tracks.position / rotation / scale: constant
Cube-morph1 (id 294F1677) (morph target, not animated)
position (1.687, 0.5, 0)
same topology as Cube, with vertices pulled inward (for example x 0.5 -> 0.403)
The morph is driven by tracks.morph only. The target is a separate mesh with the same topology, placed beside the base cube. Its vertices hold the shape at full weight.
7. Motion path animation
A cube that follows a curved Bezier path and turns to face its direction. Layer: endTimeCode = 60, timeCodesPerSecond = 24, animationDuration = 2.5.
Cube (id 7452403E) (animated)
tracks.pathKeys (Bezier, not auto, not smooth):
0s point (-3,0.5,0) handleOut (2.01,0.002,0.005)
1.24s point (-0.02,0.5,-1.5) handleIn (-0.98,-0.0006,-0.012) handleOut (1.01,-0.0006,0.0009)
2.5s point (3,0.5,0) handleIn (-2.01,0.003,-0.006)
tracks.position: 0s (-3,0.5,0) | 1.24s (-0.02,0.5017,-1.5) | 2.5s (3,0.5,0) Linear
tracks.orient: facing "+Z", restRotation (0,0,0)
tracks.rotation: 0s (0,0,0) | 2.5s (0,0,0) Linear
USD rotateXYZ.timeSamples: yaw from 90 to about 137 and back to 90 over 60 frames
The path is stored in pathKeys, and the facing direction is stored as baked rotateXYZ.timeSamples. The rotation track is zero, so the turning comes from the USD samples, not from the track.
Plain-text index (machine-readable)
[
{"name":"Basic animation","file":"Basic Animation.usda","endTimeCode":100,"timeCodesPerSecond":24,"animationDuration":4.1666665,"features":["position","rotation","scale","visibility","easing"],"tracksKey":"tracks.position/rotation/scale/visibility"},
{"name":"Parent–child animation","file":"Parent Child Animation.usda","endTimeCode":30,"timeCodesPerSecond":24,"animationDuration":1.25,"features":["parent transform","inherited child motion"],"tracksKey":"tracks.position/rotation/scale/visibility on parent only"},
{"name":"Camera animation","file":"Camera Animation.usda","endTimeCode":120,"timeCodesPerSecond":24,"features":["camera fov","focus distance","pose"],"tracksKey":"tracks.cameraKeys"},
{"name":"Light animation","file":"Light Animation.usda","endTimeCode":60,"timeCodesPerSecond":24,"animationDuration":2.5,"features":["light intensity","light colour","directional","point","spot","area"],"tracksKey":"tracks.lightKeys"},
{"name":"Materials animation","file":"Materials Animation.usda","endTimeCode":30,"timeCodesPerSecond":24,"animationDuration":1.25,"features":["metallic","roughness","opacity","ior","emission"],"tracksKey":"tracks.materialKeys"},
{"name":"Morph animation","file":"Morph Animation.usda","endTimeCode":80,"timeCodesPerSecond":24,"animationDuration":3.3333333,"features":["morph weight","morph target mesh"],"tracksKey":"tracks.morph"},
{"name":"Motion path animation","file":"Motion Path Animation.usda","endTimeCode":60,"timeCodesPerSecond":24,"animationDuration":2.5,"features":["bezier path keys","orient along path"],"tracksKey":"tracks.pathKeys + tracks.orient"}
]