all  /  test_assets  / _common  / animated_cube_translation .usda

Common Assets

This set of common support assets is reused by multiple test assets through referencing. This allows test files to reduce their size and use a consistent, known base. Also included is an error image that can be used to indicate an application or render issue.

Animated Cube Translation

screenshot usdrecord 22.08

Axis

screenshot usdrecord 22.08

Error Image

error

Teapot

The teapot model is TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd. All rights reserved, and covered by the Apache 2.0 license.

screenshot


Edit this page

animated_cube_translation.usda

#usda 1.0
(
    customLayerData = {
        string copyright = "Copyright 2022 Apple Inc. All rights reserved."
    }
    defaultPrim = "World"
    upAxis = "Y"
    metersPerUnit = 0.01
)

def Xform "World"
{
    def Mesh "animatedCube"
    {
        float3[] extent = [(-0.5, -0.5, -0.5), (0.5, 0.5, 0.5)]
        int[] faceVertexCounts = [4, 4, 4, 4, 4, 4]
        int[] faceVertexIndices = [0, 4, 6, 2, 0, 1, 5, 4, 4, 5, 7, 6, 3, 7, 5, 1, 6, 7, 3, 2, 2, 3,... (truncated)]
        point3f[] points = [(-0.5, -0.5, -0.5), (0.5, -0.5, -0.5), (-0.5, 0.5, -0.5), (0.5, 0.5, -0.... (truncated)]
        uniform token subdivisionScheme = "none"
        double3 xformOp:translate = (0, 0, 0)
        double3 xformOp:translate.timeSamples = {
            0: (0, 0, 0),
            100: (100, 0, 0),
        }
        uniform token[] xformOpOrder = ["xformOp:translate"]
    }

    def Camera "camera"
    {
        float2 clippingRange = (1, 2000000)
        float focalLength = 218.12926
        float focusDistance = 1129.0352
        float fStop = 5.6
        float horizontalAperture = 24.051996
        float verticalAperture = 20.955
        custom matrix4d xformOp:transform = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (50, 0, 1129.0351765518724, 1) )
        uniform token[] xformOpOrder = ["xformOp:transform"]
    }
}