dymokomi/luce-usd
Source of release 0.9.3
0.9.3 / tests / fixtures / usdc / arrays.expected.usda
#usda 1.0
(
"Crate coverage: compressed arrays, structured values, list ops"
customLayerData = {
int[] counts = [0, 3, 6, 9, 12, 15, 1, 4, 7, 10, 13, 16, 2, 5, 8, 11, 14, 0, 3, 6, 9, 12, 15, 1, 4, 7, 10, 13, 16, 2, 5, 8, 11, 14, 0, 3, 6, 9, 12, 15]
dictionary nested = {
double2 pair = (0.5, -2)
token[] words = ["a", "b"]
}
}
)
def Mesh "shapes" (
prepend apiSchemas = ["MaterialBindingAPI"]
delete references = @./old.usda@
append references = [
@./ref.usda@</Thing> (
offset = 2
customData = {
string note = "kept"
}
)
]
)
{
float[] animated.timeSamples = {
1: [1, 2],
2: [3, 4.5],
3: None,
}
asset[] assets = [@a.png@, @b.png@]
int64[] big = [-10000000070, -9000000063, -8000000056, -7000000049, -6000000042, -5000000035, -4000000028, -3000000021, -2000000014, -1000000007, 0, 1000000007, 2000000014, 3000000021, 4000000028, 5000000035, 6000000042, 7000000049, 8000000056, 9000000063, 10000000070, 11000000077, 12000000084, 13000000091, 14000000098, 15000000105, 16000000112, 17000000119, 18000000126, 19000000133, 20000000140, 21000000147, 22000000154, 23000000161, 24000000168, 25000000175, 26000000182, 27000000189, 28000000196, 29000000203]
double exact = 0.5
int[] faceVertexCounts = [4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4]
int[] faceVertexIndices = [0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 5, 12, 19, 26, 33, 40, 47, 54, 61, 68, 75, 82, 89, 96, 3, 10, 17, 24, 31, 38, 45, 52, 59, 66, 73, 80, 87, 94, 1, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 4, 11, 18, 25, 32, 39, 46, 53, 60, 67, 74, 81, 88, 95, 2, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93, 0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 5, 12, 19, 26, 33, 40, 47, 54, 61, 68, 75, 82, 89, 96, 3, 10, 17, 24, 31, 38, 45, 52, 59, 66, 73, 80, 87, 94, 1, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 4, 11, 18, 25, 32, 39, 46, 53, 60, 67, 74, 81, 88, 95, 2, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93, 0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 5, 12, 19, 26, 33, 40, 47, 54, 61, 68, 75, 82, 89, 96, 3, 10, 17, 24, 31, 38, 45, 52, 59, 66, 73, 80, 87, 94, 1, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85]
bool[] flags = [1, 0, 1]
timecode frame = 12.5
half2 h2 = (1, -4.125)
half[] halves = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]
matrix4d identity = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (0, 0, 0, 1) )
uint[] ids = [0, 11, 22, 33, 44, 55, 66, 77, 88, 99, 110, 121, 132, 143, 154, 165, 176, 187, 198, 209, 220, 231, 242, 253, 264, 275, 286, 297, 308, 319, 330, 341, 352, 363, 374, 385, 396, 407, 418, 429, 440, 451, 462, 473, 484, 495, 506, 517, 528, 539]
double inexact = 0.1
float[] integral = [-20, -19, -18, -17, -16, -15, -14, -13, -12, -11, -10, -9, -8, -7, -6, -5, -4, -3, -2, -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39]
matrix4d moved = ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (5, 6, 7, 1) )
point3f[] points = [(0, 0, -1), (1, 0.5, -1), (2, 1, -1), (3, 1.5, -1), (4, 2, -1), (5, 2.5, -1), (6, 3, -1), (7, 3.5, -1), (8, 4, -1), (9, 4.5, -1), (10, 5, -1), (11, 5.5, -1), (12, 6, -1), (13, 6.5, -1), (14, 7, -1), (15, 7.5, -1), (16, 8, -1), (17, 8.5, -1), (18, 9, -1), (19, 9.5, -1), (20, 10, -1), (21, 10.5, -1), (22, 11, -1), (23, 11.5, -1), (24, 12, -1), (25, 12.5, -1), (26, 13, -1), (27, 13.5, -1), (28, 14, -1), (29, 14.5, -1)]
double[] reals = [0, 0.14285714285714285, 0.2857142857142857, 0.42857142857142855, 0.5714285714285714, 0.7142857142857143, 0.8571428571428571, 1, 1.1428571428571428, 1.2857142857142858, 1.4285714285714286, 1.5714285714285714, 1.7142857142857142, 1.8571428571428572, 2, 2.142857142857143, 2.2857142857142856, 2.4285714285714284, 2.5714285714285716, 2.7142857142857144, 2.857142857142857, 3, 3.142857142857143, 3.2857142857142856, 3.4285714285714284, 3.5714285714285716, 3.7142857142857144, 3.857142857142857, 4, 4.142857142857143, 4.285714285714286, 4.428571428571429, 4.571428571428571, 4.714285714285714, 4.857142857142857, 5, 5.142857142857143, 5.285714285714286, 5.428571428571429, 5.571428571428571]
double3 small = (1, 2, 3)
string[] strings = ["x", "y z"]
float[] table = [0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5, 0.25, 0.5, 1.5]
rel targets = [
</shapes.points>,
</shapes.ids>,
]
token[] tokens = ["t0", "t1", "t2", "t3", "t4", "t0", "t1", "t2", "t3", "t4", "t0", "t1", "t2", "t3", "t4", "t0", "t1", "t2", "t3", "t4"]
double3 wide = (1.5, 2, 3)
int64 wide64 = 9000000000
}