all  /  test_assets  / foundation  / stage_configuration  / framesPerSecond_timeCodesPerSecond_mixed  / 24_48 .usda

FramesPerSecond and timeCodesPerSecond mixed

These files show the behavior of an animation for a mix of different framesPerSecond and timeCodesPerSecond values.

The animated prim has time samples from 0 to 100:

double3 xformOp:translate.timeSamples = {
    0: (0, 0, 0),
    100: (100, 0, 0),
}

24 + 24

24_24.usda

framesPerSecond = 24
timeCodesPerSecond = 24

24 + 48

24_48.usda

framesPerSecond = 24
timeCodesPerSecond = 48

48 + 24

48_24.usda

framesPerSecond = 48
timeCodesPerSecond = 24

48 + 48

48_48.usda

framesPerSecond = 48
timeCodesPerSecond = 48

Edit this page

24_48.usda

#usda 1.0
(
    customLayerData = {
        string copyright = "Copyright 2022 Apple Inc. All rights reserved."
    }
    endTimeCode = 100
    framesPerSecond = 24
    startTimeCode = 0
    subLayers = [
        @../../../_common/animated_cube_translation.usda@,
        @../../../_common/axis.usda@
    ]
    timeCodesPerSecond = 48
    upAxis = "Y"
    metersPerUnit = 0.01
    defaultPrim = "World"
)