1#usda 1.0
2(
3    defaultPrim = "rootNode"
4    endTimeCode = 0
5    startTimeCode = 0
6    upAxis = "Y"
7)
8
9def Xform "rootNode"
10{
11    def Xform "instance0" (
12        references = </instance0>
13    )
14    {
15    }
16
17    def Xform "c"
18    {
19        matrix4d xformOp:transform.timeSamples = {
20            0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 5, 1) ),
21        }
22        uniform token[] xformOpOrder = ["xformOp:transform"]
23
24        def Xform "instance1" (
25            references = </instance0>
26        )
27        {
28        }
29    }
30}
31
32over Xform "a" (
33    customData = {
34        string abcInstanceSourcePath = "/rootNode/instance0/a"
35    }
36    instanceable = true
37)
38{
39    matrix4d xformOp:transform.timeSamples = {
40        0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (-2, 0, 0, 1) ),
41    }
42    uniform token[] xformOpOrder = ["xformOp:transform"]
43
44    def Mesh "aMesh"
45    {
46        float3[] extent.timeSamples = {
47            0: [(-1, -1, -1), (1, 1, 1)],
48        }
49        int[] faceVertexCounts.timeSamples = {
50            0: [4, 4, 4, 4, 4, 4],
51        }
52        int[] faceVertexIndices.timeSamples = {
53            0: [0, 4, 6, 2, 5, 1, 3, 7, 0, 1, 5, 4, 6, 7, 3, 2, 1, 0, 2, 3, 4, 5, 7, 6],
54        }
55        normal3f[] normals (
56            interpolation = "faceVarying"
57        )
58        normal3f[] normals.timeSamples = {
59            0: [(-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)],
60        }
61        uniform token orientation = "leftHanded"
62        point3f[] points (
63            interpolation = "vertex"
64        )
65        point3f[] points.timeSamples = {
66            0: [(-1, -1, -1), (1, -1, -1), (-1, 1, -1), (1, 1, -1), (-1, -1, 1), (1, -1, 1), (-1, 1, 1), (1, 1, 1)],
67        }
68        texCoord2f[] primvars:st (
69            interpolation = "faceVarying"
70        )
71        texCoord2f[] primvars:st.timeSamples = {
72            0: [(0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1)],
73        }
74        uniform token subdivisionScheme = "none"
75    }
76
77    def Mesh "b"
78    {
79        float3[] extent.timeSamples = {
80            0: [(-1, -1, -1), (1, 1, 1)],
81        }
82        int[] faceVertexCounts.timeSamples = {
83            0: [4, 4, 4, 4, 4, 4],
84        }
85        int[] faceVertexIndices.timeSamples = {
86            0: [0, 4, 6, 2, 5, 1, 3, 7, 0, 1, 5, 4, 6, 7, 3, 2, 1, 0, 2, 3, 4, 5, 7, 6],
87        }
88        normal3f[] normals (
89            interpolation = "faceVarying"
90        )
91        normal3f[] normals.timeSamples = {
92            0: [(-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)],
93        }
94        uniform token orientation = "leftHanded"
95        point3f[] points (
96            interpolation = "vertex"
97        )
98        point3f[] points.timeSamples = {
99            0: [(-1, -1, -1), (1, -1, -1), (-1, 1, -1), (1, 1, -1), (-1, -1, 1), (1, -1, 1), (-1, 1, 1), (1, 1, 1)],
100        }
101        texCoord2f[] primvars:st (
102            interpolation = "faceVarying"
103        )
104        texCoord2f[] primvars:st.timeSamples = {
105            0: [(0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1)],
106        }
107        uniform token subdivisionScheme = "none"
108        matrix4d xformOp:transform.timeSamples = {
109            0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (2, 0, 0, 1) ),
110        }
111        uniform token[] xformOpOrder = ["xformOp:transform"]
112
113        def Mesh "c"
114        {
115            float3[] extent.timeSamples = {
116                0: [(-1, -1, -1), (1, 1, 1)],
117            }
118            int[] faceVertexCounts.timeSamples = {
119                0: [4, 4, 4, 4, 4, 4],
120            }
121            int[] faceVertexIndices.timeSamples = {
122                0: [0, 4, 6, 2, 5, 1, 3, 7, 0, 1, 5, 4, 6, 7, 3, 2, 1, 0, 2, 3, 4, 5, 7, 6],
123            }
124            normal3f[] normals (
125                interpolation = "faceVarying"
126            )
127            normal3f[] normals.timeSamples = {
128                0: [(-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (-1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (1, 0, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, -1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 1, 0), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, -1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)],
129            }
130            uniform token orientation = "leftHanded"
131            point3f[] points (
132                interpolation = "vertex"
133            )
134            point3f[] points.timeSamples = {
135                0: [(-1, -1, -1), (1, -1, -1), (-1, 1, -1), (1, 1, -1), (-1, -1, 1), (1, -1, 1), (-1, 1, 1), (1, 1, 1)],
136            }
137            texCoord2f[] primvars:st (
138                interpolation = "faceVarying"
139            )
140            texCoord2f[] primvars:st.timeSamples = {
141                0: [(0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1), (0, 0), (1, 0), (1, 1), (0, 1)],
142            }
143            uniform token subdivisionScheme = "none"
144            matrix4d xformOp:transform.timeSamples = {
145                0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (2, 0, 0, 1) ),
146            }
147            uniform token[] xformOpOrder = ["xformOp:transform"]
148        }
149    }
150}
151
152over Xform "instance0" (
153    customData = {
154        string abcInstanceSourcePath = "/rootNode/instance0"
155    }
156    instanceable = true
157)
158{
159    def Xform "a" (
160        references = </a>
161    )
162    {
163    }
164
165    def Xform "f"
166    {
167        matrix4d xformOp:transform.timeSamples = {
168            0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 5, 0, 1) ),
169        }
170        uniform token[] xformOpOrder = ["xformOp:transform"]
171
172        def Xform "g" (
173            references = </a>
174        )
175        {
176        }
177    }
178}
179
180