diff --git a/CHANGELOG.md b/CHANGELOG.md index b7b8a2e39..9afa6d451 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ ## Pending next bugfix release - [usd#1989](https://github.com/Autodesk/arnold-usd/issues/1989) - Support mixed half/float channels when using the render delegate in batch mode with husk. - +- [usd#1610](https://github.com/Autodesk/arnold-usd/issues/1610) - Proper support of arnold:visibility primvar in hydra ## Pending feature release diff --git a/libs/render_delegate/utils.cpp b/libs/render_delegate/utils.cpp index eb94b8bce..e4da87515 100644 --- a/libs/render_delegate/utils.cpp +++ b/libs/render_delegate/utils.cpp @@ -295,10 +295,7 @@ bool ConvertPrimvarToRayFlag(AtNode* node, const TfToken& name, const VtValue& v // that doesn't have any visibility attribute (e.g. a light), so we need to check // the HdArnoldRayFlags pointer exists (see #1535) if (visibility && name == _tokens->arnoldVisibility) { - uint8_t visibilityValue = 0; - if (value.IsHolding()) { - visibilityValue = value.Get(); - } + uint8_t visibilityValue = VtValueGetInt(value); AiNodeSetByte(node, str::visibility, visibilityValue); // In this case we want to force the visibility to be this current value. // So we first need to remove any visibility flag, and then we set the new one @@ -342,7 +339,7 @@ bool ConvertPrimvarToBuiltinParameter( // we also want to support arnold:visibility as this is what the arnold-usd writer // will author if (visibility && name == _tokens->arnoldVisibility) { - uint8_t visibilityValue = value.Get(); + uint8_t visibilityValue = VtValueGetInt(value); AiNodeSetByte(node, str::visibility, visibilityValue); // In this case we want to force the visibility to be this current value. // So we first need to remove any visibility flag, and then we set the new one diff --git a/testsuite/test_1610/README b/testsuite/test_1610/README new file mode 100644 index 000000000..4e39342b3 --- /dev/null +++ b/testsuite/test_1610/README @@ -0,0 +1,7 @@ +Proper support of arnold:visibility in hydra + +See #1610 + +author: sebastien.ortega + +PARAMS: {'scene': 'test.usda'} diff --git a/testsuite/test_1610/data/test.usda b/testsuite/test_1610/data/test.usda new file mode 100644 index 000000000..9f822677c --- /dev/null +++ b/testsuite/test_1610/data/test.usda @@ -0,0 +1,140 @@ +#usda 1.0 +( + customLayerData = { + timecode[] timeCodeArray = [0] + } + defaultPrim = "persp" + endFrame = 0 + framesPerSecond = 24 + startFrame = 0 + timeCodesPerSecond = 24 +) + +def Scope "Render" +{ + def RenderSettings "settings" + { + custom int arnold:AA_samples = 3 + int arnold:AA_seed = 0 + string arnold:color_manager = "defaultColorMgtGlobals" + custom int arnold:GI_diffuse_depth = 1 + custom int arnold:GI_specular_depth = 1 + int arnold:GI_transmission_depth = 8 + float arnold:meters_per_unit = 0.01 + string arnold:name = "options" + bool arnold:texture_automip = 0 + bool arnold:texture_per_file_stats = 1 + prepend rel camera = + uniform float pixelAspectRatio = 1 + string primvars:render_layer = "defaultRenderLayer" ( + elementSize = 1 + interpolation = "constant" + ) + uniform int2 resolution = (160, 120) + } + +} + +def Xform "persp" +{ + def Camera "perspShape" + { + float2 clippingRange = (0.1, 10000) + float focusDistance = 1 + float horizontalAperture = 51.428566 + float[] primvars:arnold:aperture_size = [0] + float[] primvars:arnold:fov = [54.432224] + float2[] primvars:arnold:lens_shift = [(0, 0)] + float2[] primvars:arnold:lens_tilt_angle = [(0, 0)] + vector3f[] primvars:arnold:look_at = [(0, 0, -1)] + float primvars:arnold:motion_end = 0 + vector3f[] primvars:arnold:position = [(0, 0, 0)] + float2[] primvars:arnold:screen_window_max = [(1, 1)] + float2[] primvars:arnold:screen_window_min = [(-1, -1)] + vector3f[] primvars:arnold:up = [(0, 1, 0)] + color4f primvars:arnold:uv_remap = (0, 0, 0, 1) + string primvars:dcc_name = "perspShape" ( + elementSize = 1 + interpolation = "constant" + ) + token projection = "perspective" + double shutter:close = 0 + double shutter:open = 0 + float verticalAperture = 28.928568 + matrix4d xformOp:transform = ( (0.7071067690849304, 0, -0.7071067690849304, 0), (-0.33129456639289856, 0.8834522366523743, -0.33129456639289856, 0), (0.6246950626373291, 0.4685212969779968, 0.6246950626373291, 0), (5.113068103790283, 3.834801197052002, 5.113068103790283, 1) ) + uniform token[] xformOpOrder = ["xformOp:transform"] + } +} + +def Xform "directionalLight1" +{ + def DistantLight "directionalLightShape1" + { + float inputs:angle = 0 + color3f inputs:color = (1, 1, 1) + float inputs:diffuse = 1 + float inputs:exposure = 0 + float inputs:intensity = 1 + float inputs:specular = 1 + vector3f[] primvars:arnold:direction = [(0, 0, -1)] + bool primvars:arnold:normalize = 1 + string primvars:dcc_name = "directionalLightShape1" ( + elementSize = 1 + interpolation = "constant" + ) + } +} + +def Xform "pSphere1" +{ + def Mesh "pSphereShape1" ( + prepend apiSchemas = ["MaterialBindingAPI"] + ) + { + uniform bool doubleSided = 1 + float3[] extent = [(-1.0000001, -1, -0.9510567), (1, 1, 0.9510566)] + 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, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3] + int[] faceVertexIndices = [0, 1, 11, 10, 1, 2, 12, 11, 2, 3, 13, 12, 3, 4, 14, 13, 4, 5, 15, 14, 5, 6, 16, 15, 6, 7, 17, 16, 7, 8, 18, 17, 8, 9, 19, 18, 9, 0, 10, 19, 10, 11, 21, 20, 11, 12, 22, 21, 12, 13, 23, 22, 13, 14, 24, 23, 14, 15, 25, 24, 15, 16, 26, 25, 16, 17, 27, 26, 17, 18, 28, 27, 18, 19, 29, 28, 19, 10, 20, 29, 20, 21, 31, 30, 21, 22, 32, 31, 22, 23, 33, 32, 23, 24, 34, 33, 24, 25, 35, 34, 25, 26, 36, 35, 26, 27, 37, 36, 27, 28, 38, 37, 28, 29, 39, 38, 29, 20, 30, 39, 30, 31, 41, 40, 31, 32, 42, 41, 32, 33, 43, 42, 33, 34, 44, 43, 34, 35, 45, 44, 35, 36, 46, 45, 36, 37, 47, 46, 37, 38, 48, 47, 38, 39, 49, 48, 39, 30, 40, 49, 40, 41, 51, 50, 41, 42, 52, 51, 42, 43, 53, 52, 43, 44, 54, 53, 44, 45, 55, 54, 45, 46, 56, 55, 46, 47, 57, 56, 47, 48, 58, 57, 48, 49, 59, 58, 49, 40, 50, 59, 50, 51, 61, 60, 51, 52, 62, 61, 52, 53, 63, 62, 53, 54, 64, 63, 54, 55, 65, 64, 55, 56, 66, 65, 56, 57, 67, 66, 57, 58, 68, 67, 58, 59, 69, 68, 59, 50, 60, 69, 60, 61, 71, 70, 61, 62, 72, 71, 62, 63, 73, 72, 63, 64, 74, 73, 64, 65, 75, 74, 65, 66, 76, 75, 66, 67, 77, 76, 67, 68, 78, 77, 68, 69, 79, 78, 69, 60, 70, 79, 70, 71, 81, 80, 71, 72, 82, 81, 72, 73, 83, 82, 73, 74, 84, 83, 74, 75, 85, 84, 75, 76, 86, 85, 76, 77, 87, 86, 77, 78, 88, 87, 78, 79, 89, 88, 79, 70, 80, 89, 1, 0, 90, 2, 1, 90, 3, 2, 90, 4, 3, 90, 5, 4, 90, 6, 5, 90, 7, 6, 90, 8, 7, 90, 9, 8, 90, 0, 9, 90, 80, 81, 91, 81, 82, 91, 82, 83, 91, 83, 84, 91, 84, 85, 91, 85, 86, 91, 86, 87, 91, 87, 88, 91, 88, 89, 91, 89, 80, 91] + rel material:binding = + uniform token orientation = "rightHanded" + point3f[] points = [(0.25000003, -0.95105654, -0.1816357), (0.09549149, -0.95105654, -0.2938927), (-0.09549155, -0.95105654, -0.29389265), (-0.25000006, -0.95105654, -0.18163563), (-0.30901703, -0.95105654, 1.8418849e-8), (-0.25000003, -0.95105654, 0.18163568), (-0.0954915, -0.95105654, 0.29389265), (0.09549151, -0.95105654, 0.29389265), (0.25, -0.95105654, 0.18163563), (0.309017, -0.95105654, 0), (0.4755283, -0.809017, -0.3454916), (0.1816356, -0.809017, -0.5590171), (-0.18163572, -0.809017, -0.55901706), (-0.47552836, -0.809017, -0.3454915), (-0.5877853, -0.809017, 3.503473e-8), (-0.4755283, -0.809017, 0.34549156), (-0.18163562, -0.809017, 0.55901706), (0.18163565, -0.809017, 0.559017), (0.47552827, -0.809017, 0.3454915), (0.58778524, -0.809017, 0), (0.65450853, -0.58778524, -0.4755284), (0.24999996, -0.58778524, -0.76942104), (-0.25000012, -0.58778524, -0.769421), (-0.65450865, -0.58778524, -0.47552827), (-0.8090171, -0.58778524, 4.822117e-8), (-0.65450853, -0.58778524, 0.47552836), (-0.24999999, -0.58778524, 0.769421), (0.25000003, -0.58778524, 0.7694209), (0.65450853, -0.58778524, 0.47552827), (0.809017, -0.58778524, 0), (0.769421, -0.30901697, -0.5590172), (0.2938926, -0.30901697, -0.9045087), (-0.29389277, -0.30901697, -0.9045086), (-0.7694211, -0.30901697, -0.559017), (-0.95105666, -0.30901697, 5.6687387e-8), (-0.769421, -0.30901697, 0.5590171), (-0.29389262, -0.30901697, 0.9045086), (0.29389268, -0.30901697, 0.90450853), (0.7694209, -0.30901697, 0.559017), (0.95105654, -0.30901697, 0), (0.80901706, 0, -0.5877854), (0.30901694, 0, -0.9510567), (-0.30901715, 0, -0.9510566), (-0.8090172, 0, -0.58778524), (-1.0000001, 0, 5.9604645e-8), (-0.80901706, 0, 0.58778536), (-0.30901697, 0, 0.9510566), (0.30901703, 0, 0.95105654), (0.809017, 0, 0.58778524), (1, 0, 0), (0.769421, 0.30901697, -0.5590172), (0.2938926, 0.30901697, -0.9045087), (-0.29389277, 0.30901697, -0.9045086), (-0.7694211, 0.30901697, -0.559017), (-0.95105666, 0.30901697, 5.6687387e-8), (-0.769421, 0.30901697, 0.5590171), (-0.29389262, 0.30901697, 0.9045086), (0.29389268, 0.30901697, 0.90450853), (0.7694209, 0.30901697, 0.559017), (0.95105654, 0.30901697, 0), (0.65450853, 0.58778524, -0.4755284), (0.24999996, 0.58778524, -0.76942104), (-0.25000012, 0.58778524, -0.769421), (-0.65450865, 0.58778524, -0.47552827), (-0.8090171, 0.58778524, 4.822117e-8), (-0.65450853, 0.58778524, 0.47552836), (-0.24999999, 0.58778524, 0.769421), (0.25000003, 0.58778524, 0.7694209), (0.65450853, 0.58778524, 0.47552827), (0.809017, 0.58778524, 0), (0.4755283, 0.809017, -0.3454916), (0.1816356, 0.809017, -0.5590171), (-0.18163572, 0.809017, -0.55901706), (-0.47552836, 0.809017, -0.3454915), (-0.5877853, 0.809017, 3.503473e-8), (-0.4755283, 0.809017, 0.34549156), (-0.18163562, 0.809017, 0.55901706), (0.18163565, 0.809017, 0.559017), (0.47552827, 0.809017, 0.3454915), (0.58778524, 0.809017, 0), (0.25000003, 0.95105654, -0.1816357), (0.09549149, 0.95105654, -0.2938927), (-0.09549155, 0.95105654, -0.29389265), (-0.25000006, 0.95105654, -0.18163563), (-0.30901703, 0.95105654, 1.8418849e-8), (-0.25000003, 0.95105654, 0.18163568), (-0.0954915, 0.95105654, 0.29389265), (0.09549151, 0.95105654, 0.29389265), (0.25, 0.95105654, 0.18163563), (0.309017, 0.95105654, 0), (0, -1, 0), (0, 1, 0)] + uint primvars:arnold:id = 2143801503 + uchar primvars:arnold:subdiv_iterations = 1 + uchar primvars:arnold:visibility = 247 + string primvars:dcc_name = "pSphereShape1" ( + elementSize = 1 + interpolation = "constant" + ) + vector3f[] primvars:normals = [(0.27757785, -0.881468, -0.38205326), (0.27757785, -0.88146806, -0.38205326), (0.27757785, -0.88146806, -0.38205323), (0.27757785, -0.88146806, -0.38205326), (-1.340785e-7, -0.881468, -0.47224376), (-1.3407849e-7, -0.881468, -0.4722437), (-1.3407848e-7, -0.881468, -0.4722437), (-1.3407849e-7, -0.881468, -0.4722437), (-0.27757785, -0.881468, -0.3820532), (-0.27757785, -0.881468, -0.3820532), (-0.27757788, -0.8814681, -0.38205323), (-0.27757785, -0.88146806, -0.38205323), (-0.44913042, -0.8814681, -0.14593121), (-0.44913036, -0.8814681, -0.14593121), (-0.4491304, -0.8814681, -0.1459312), (-0.44913042, -0.8814681, -0.14593121), (-0.44913045, -0.8814681, 0.14593124), (-0.44913045, -0.8814681, 0.14593124), (-0.44913042, -0.881468, 0.14593124), (-0.44913042, -0.881468, 0.14593124), (-0.27757782, -0.8814681, 0.38205317), (-0.2775778, -0.8814681, 0.38205317), (-0.2775778, -0.8814681, 0.38205317), (-0.27757782, -0.88146806, 0.38205317), (0, -0.8814679, 0.4722439), (0, -0.8814679, 0.4722439), (0, -0.8814679, 0.47224396), (0, -0.88146794, 0.4722439), (0.27757794, -0.8814681, 0.38205296), (0.27757794, -0.88146806, 0.38205296), (0.27757797, -0.88146806, 0.382053), (0.27757797, -0.88146806, 0.382053), (0.44913045, -0.8814681, 0.14593124), (0.4491305, -0.8814681, 0.14593126), (0.4491305, -0.88146806, 0.14593127), (0.4491305, -0.88146806, 0.14593127), (0.44913048, -0.88146794, -0.14593141), (0.4491305, -0.8814679, -0.14593141), (0.44913056, -0.881468, -0.14593144), (0.44913054, -0.881468, -0.14593142), (0.4259192, -0.6891518, -0.5862274), (0.42591923, -0.6891518, -0.5862275), (0.42591923, -0.6891518, -0.5862275), (0.4259192, -0.68915176, -0.5862274), (-1.1307428e-7, -0.68915176, -0.72461706), (-1.13074265e-7, -0.6891517, -0.724617), (-1.1307427e-7, -0.68915176, -0.724617), (-1.1307427e-7, -0.68915176, -0.724617), (-0.42591923, -0.6891517, -0.5862275), (-0.4259192, -0.6891517, -0.5862275), (-0.42591923, -0.6891517, -0.5862275), (-0.42591923, -0.6891517, -0.5862275), (-0.68915176, -0.6891517, -0.22391896), (-0.6891517, -0.68915164, -0.22391896), (-0.68915176, -0.6891517, -0.22391899), (-0.68915176, -0.6891517, -0.22391899), (-0.68915164, -0.68915176, 0.22391908), (-0.68915164, -0.68915176, 0.22391906), (-0.68915164, -0.68915176, 0.22391906), (-0.68915164, -0.68915176, 0.22391906), (-0.42591915, -0.68915176, 0.58622754), (-0.42591915, -0.68915176, 0.58622754), (-0.42591915, -0.68915176, 0.5862276), (-0.42591912, -0.6891517, 0.58622754), (1.13074286e-7, -0.68915176, 0.72461706), (1.1307429e-7, -0.6891518, 0.724617), (1.13074286e-7, -0.68915176, 0.724617), (1.1307428e-7, -0.68915176, 0.724617), (0.42591918, -0.6891519, 0.5862274), (0.42591918, -0.6891519, 0.5862274), (0.42591915, -0.6891518, 0.5862274), (0.42591915, -0.6891518, 0.5862274), (0.68915176, -0.68915176, 0.22391887), (0.68915176, -0.68915176, 0.22391888), (0.68915176, -0.68915176, 0.22391886), (0.6891518, -0.6891518, 0.22391887), (0.6891518, -0.68915176, -0.22391883), (0.68915176, -0.6891517, -0.22391883), (0.6891518, -0.68915176, -0.22391884), (0.6891518, -0.6891517, -0.22391883), (0.5289515, -0.43608344, -0.7280395), (0.5289515, -0.43608344, -0.7280395), (0.5289515, -0.43608344, -0.72803944), (0.5289515, -0.43608344, -0.72803944), (-8.844246e-8, -0.43608344, -0.8999062), (-8.844246e-8, -0.4360834, -0.8999063), (-8.844246e-8, -0.4360834, -0.8999063), (-8.844245e-8, -0.43608338, -0.8999063), (-0.5289516, -0.4360834, -0.7280395), (-0.52895164, -0.43608344, -0.7280395), (-0.52895164, -0.4360834, -0.7280395), (-0.52895164, -0.43608338, -0.72803944), (-0.8558617, -0.43608344, -0.27808622), (-0.8558617, -0.43608344, -0.27808622), (-0.85586166, -0.43608344, -0.2780862), (-0.85586166, -0.43608344, -0.2780862), (-0.8558618, -0.43608332, 0.27808645), (-0.8558617, -0.4360833, 0.27808645), (-0.85586166, -0.4360833, 0.27808642), (-0.85586166, -0.4360833, 0.27808642), (-0.52895164, -0.43608347, 0.7280395), (-0.5289516, -0.4360834, 0.72803944), (-0.5289516, -0.4360834, 0.72803944), (-0.52895164, -0.43608344, 0.72803944), (8.844247e-8, -0.43608335, 0.8999063), (8.8442484e-8, -0.43608338, 0.8999063), (8.844248e-8, -0.43608338, 0.8999063), (8.844248e-8, -0.43608338, 0.8999063), (0.5289517, -0.4360833, 0.72803944), (0.5289516, -0.4360833, 0.72803944), (0.5289517, -0.43608338, 0.72803956), (0.52895164, -0.4360833, 0.72803944), (0.85586184, -0.43608326, 0.2780863), (0.85586184, -0.43608326, 0.2780863), (0.8558618, -0.4360833, 0.2780863), (0.8558618, -0.4360833, 0.2780863), (0.8558616, -0.4360836, -0.27808616), (0.85586166, -0.43608364, -0.27808616), (0.8558616, -0.43608367, -0.27808613), (0.85586166, -0.43608364, -0.27808613), (0.581228, -0.14895204, -0.799992), (0.5812281, -0.14895205, -0.799992), (0.581228, -0.14895202, -0.799992), (0.5812281, -0.14895202, -0.799992), (-1.5817703e-7, -0.14895213, -0.9888444), (-1.5817704e-7, -0.14895214, -0.9888444), (-1.5817704e-7, -0.14895214, -0.9888444), (-1.5817704e-7, -0.14895214, -0.98884445), (-0.58122826, -0.1489522, -0.7999918), (-0.58122826, -0.1489522, -0.7999918), (-0.58122826, -0.14895223, -0.79999185), (-0.58122826, -0.14895223, -0.79999185), (-0.940447, -0.1489522, -0.3055696), (-0.9404469, -0.1489522, -0.3055696), (-0.9404469, -0.1489522, -0.30556956), (-0.9404469, -0.1489522, -0.30556956), (-0.94044685, -0.14895219, 0.3055698), (-0.94044685, -0.14895219, 0.3055698), (-0.94044685, -0.1489522, 0.3055698), (-0.94044685, -0.1489522, 0.3055698), (-0.58122814, -0.14895204, 0.79999197), (-0.58122814, -0.14895204, 0.79999197), (-0.58122814, -0.14895202, 0.79999197), (-0.58122814, -0.14895202, 0.79999197), (1.5817704e-7, -0.14895211, 0.9888444), (1.5817704e-7, -0.14895211, 0.9888444), (1.5817706e-7, -0.14895213, 0.9888444), (1.5817706e-7, -0.14895213, 0.9888444), (0.5812282, -0.14895205, 0.7999919), (0.58122826, -0.14895207, 0.7999919), (0.5812282, -0.14895205, 0.79999185), (0.5812282, -0.14895204, 0.7999918), (0.940447, -0.1489521, 0.30556974), (0.9404469, -0.1489521, 0.3055697), (0.9404469, -0.14895207, 0.3055697), (0.9404469, -0.14895207, 0.3055697), (0.9404471, -0.14895183, -0.30556953), (0.94044703, -0.14895181, -0.3055695), (0.94044703, -0.14895183, -0.30556953), (0.940447, -0.14895181, -0.3055695), (0.5812281, 0.14895202, -0.799992), (0.581228, 0.14895202, -0.799992), (0.5812281, 0.14895205, -0.799992), (0.581228, 0.14895204, -0.799992), (-1.5817704e-7, 0.14895214, -0.98884445), (-1.5817704e-7, 0.14895214, -0.9888444), (-1.5817704e-7, 0.14895214, -0.9888444), (-1.5817703e-7, 0.14895213, -0.9888444), (-0.58122826, 0.14895223, -0.79999185), (-0.58122826, 0.14895223, -0.79999185), (-0.58122826, 0.1489522, -0.7999918), (-0.58122826, 0.1489522, -0.7999918), (-0.9404469, 0.14895219, -0.30556956), (-0.9404469, 0.14895219, -0.30556956), (-0.940447, 0.1489522, -0.3055696), (-0.940447, 0.1489522, -0.3055696), (-0.94044685, 0.14895235, 0.3055698), (-0.94044685, 0.14895235, 0.3055698), (-0.94044685, 0.14895235, 0.3055698), (-0.94044685, 0.14895235, 0.3055698), (-0.58122814, 0.148952, 0.7999919), (-0.58122814, 0.148952, 0.7999919), (-0.58122814, 0.14895204, 0.79999197), (-0.58122814, 0.14895204, 0.79999197), (1.5817707e-7, 0.14895214, 0.98884445), (1.5817707e-7, 0.14895214, 0.98884445), (1.5817704e-7, 0.14895211, 0.98884434), (1.5817704e-7, 0.14895211, 0.98884434), (0.58122826, 0.14895205, 0.79999185), (0.5812282, 0.14895205, 0.79999185), (0.5812282, 0.14895205, 0.7999919), (0.5812282, 0.14895207, 0.7999919), (0.9404469, 0.14895207, 0.3055697), (0.9404469, 0.14895207, 0.3055697), (0.9404469, 0.1489521, 0.3055697), (0.940447, 0.1489521, 0.30556974), (0.940447, 0.14895198, -0.3055695), (0.94044703, 0.148952, -0.30556953), (0.94044703, 0.14895198, -0.3055695), (0.9404471, 0.14895199, -0.30556953), (0.5289515, 0.43608344, -0.72803944), (0.5289515, 0.43608344, -0.72803944), (0.5289515, 0.43608344, -0.7280395), (0.5289515, 0.43608344, -0.7280395), (-8.844245e-8, 0.43608338, -0.8999063), (-8.844246e-8, 0.4360834, -0.8999063), (-8.844246e-8, 0.4360834, -0.8999063), (-8.844246e-8, 0.43608344, -0.8999062), (-0.52895164, 0.43608344, -0.7280394), (-0.52895164, 0.43608344, -0.72803944), (-0.52895164, 0.43608344, -0.72803944), (-0.5289516, 0.43608347, -0.7280394), (-0.85586166, 0.43608344, -0.2780862), (-0.85586166, 0.43608344, -0.2780862), (-0.8558617, 0.43608344, -0.27808622), (-0.8558617, 0.43608344, -0.27808622), (-0.85586166, 0.4360833, 0.2780864), (-0.85586166, 0.4360833, 0.2780864), (-0.8558617, 0.4360833, 0.27808642), (-0.8558618, 0.43608332, 0.27808642), (-0.52895164, 0.43608344, 0.72803944), (-0.5289516, 0.4360834, 0.72803944), (-0.5289516, 0.4360834, 0.72803944), (-0.52895164, 0.43608347, 0.7280395), (8.844246e-8, 0.43608332, 0.8999062), (8.844246e-8, 0.43608332, 0.8999062), (8.844248e-8, 0.4360834, 0.8999063), (8.844247e-8, 0.43608338, 0.8999063), (0.5289516, 0.43608326, 0.72803956), (0.5289516, 0.43608326, 0.7280395), (0.5289516, 0.43608326, 0.7280395), (0.5289516, 0.43608323, 0.7280395), (0.8558618, 0.4360833, 0.2780863), (0.8558618, 0.4360833, 0.2780863), (0.85586184, 0.43608326, 0.2780863), (0.85586184, 0.43608326, 0.2780863), (0.85586166, 0.43608364, -0.27808613), (0.8558616, 0.43608367, -0.27808613), (0.85586166, 0.43608364, -0.27808616), (0.8558616, 0.4360836, -0.27808616), (0.4259192, 0.6891518, -0.5862274), (0.42591915, 0.68915176, -0.58622736), (0.42591918, 0.68915176, -0.5862274), (0.4259192, 0.6891519, -0.5862274), (-1.1307427e-7, 0.68915176, -0.724617), (-1.1307427e-7, 0.68915176, -0.724617), (-1.13074265e-7, 0.6891517, -0.724617), (-1.1307428e-7, 0.68915176, -0.72461706), (-0.42591926, 0.6891518, -0.58622736), (-0.42591926, 0.6891518, -0.58622736), (-0.42591932, 0.6891518, -0.5862274), (-0.4259193, 0.6891518, -0.5862274), (-0.68915176, 0.6891518, -0.22391897), (-0.68915176, 0.68915176, -0.22391896), (-0.68915176, 0.68915176, -0.22391896), (-0.68915164, 0.6891517, -0.22391894), (-0.6891517, 0.6891518, 0.22391896), (-0.6891517, 0.6891518, 0.22391896), (-0.68915164, 0.68915176, 0.22391893), (-0.68915164, 0.68915176, 0.22391894), (-0.42591912, 0.6891517, 0.5862276), (-0.42591912, 0.68915164, 0.5862276), (-0.42591915, 0.68915176, 0.58622766), (-0.42591915, 0.68915176, 0.58622766), (1.1307428e-7, 0.68915176, 0.724617), (1.1307428e-7, 0.68915176, 0.724617), (1.1307429e-7, 0.68915176, 0.724617), (1.13074286e-7, 0.6891518, 0.724617), (0.42591915, 0.6891519, 0.5862274), (0.42591915, 0.6891519, 0.5862274), (0.42591918, 0.6891519, 0.5862274), (0.42591918, 0.6891519, 0.5862274), (0.6891518, 0.6891518, 0.22391887), (0.68915176, 0.68915176, 0.22391886), (0.68915176, 0.68915176, 0.22391888), (0.68915176, 0.68915176, 0.22391887), (0.68915176, 0.6891518, -0.22391883), (0.68915176, 0.6891518, -0.22391881), (0.68915176, 0.6891518, -0.22391883), (0.6891517, 0.68915176, -0.22391881), (0.27757785, 0.88146806, -0.38205326), (0.27757785, 0.88146806, -0.38205323), (0.27757785, 0.88146806, -0.38205326), (0.27757785, 0.881468, -0.38205326), (-1.3407849e-7, 0.881468, -0.4722437), (-1.3407848e-7, 0.881468, -0.4722437), (-1.3407849e-7, 0.881468, -0.4722437), (-1.340785e-7, 0.881468, -0.47224376), (-0.27757782, 0.8814681, -0.3820532), (-0.27757782, 0.88146806, -0.3820532), (-0.27757785, 0.8814681, -0.3820532), (-0.27757785, 0.8814681, -0.3820532), (-0.44913036, 0.8814681, -0.1459312), (-0.44913036, 0.88146806, -0.1459312), (-0.44913036, 0.8814681, -0.1459312), (-0.4491304, 0.8814681, -0.1459312), (-0.44913048, 0.88146806, 0.14593124), (-0.44913048, 0.88146806, 0.14593124), (-0.44913045, 0.881468, 0.14593123), (-0.44913045, 0.881468, 0.14593123), (-0.2775778, 0.88146806, 0.3820533), (-0.27757776, 0.881468, 0.3820533), (-0.27757773, 0.881468, 0.3820533), (-0.2775778, 0.881468, 0.3820533), (0, 0.88146794, 0.4722439), (0, 0.8814679, 0.47224396), (0, 0.8814679, 0.4722439), (0, 0.8814679, 0.4722439), (0.27757797, 0.88146806, 0.38205317), (0.27757797, 0.88146806, 0.38205317), (0.27757794, 0.88146806, 0.3820531), (0.27757794, 0.8814681, 0.38205314), (0.4491305, 0.88146806, 0.14593127), (0.4491305, 0.88146806, 0.14593127), (0.4491305, 0.8814681, 0.14593126), (0.44913045, 0.8814681, 0.14593124), (0.4491305, 0.8814681, -0.14593107), (0.4491305, 0.881468, -0.14593107), (0.44913054, 0.881468, -0.14593107), (0.44913054, 0.88146806, -0.14593108), (0.096557096, -0.98641497, -0.13289931), (0.096557096, -0.98641497, -0.13289931), (0.0965571, -0.98641497, -0.13289931), (-4.9101807e-8, -0.986415, -0.1642724), (-4.9101807e-8, -0.9864149, -0.16427238), (-4.9101807e-8, -0.98641497, -0.16427237), (-0.09655713, -0.986415, -0.13289909), (-0.09655713, -0.986415, -0.13289909), (-0.09655712, -0.98641497, -0.13289908), (-0.1562327, -0.98641497, -0.050763164), (-0.1562327, -0.98641497, -0.050763164), (-0.15623271, -0.98641497, -0.050763167), (-0.15623266, -0.98641497, 0.050763145), (-0.15623267, -0.98641497, 0.050763145), (-0.15623264, -0.98641485, 0.05076314), (-0.0965571, -0.9864149, 0.13289912), (-0.09655712, -0.986415, 0.13289914), (-0.09655711, -0.9864149, 0.13289912), (0, -0.986415, 0.16427243), (0, -0.986415, 0.16427243), (0, -0.986415, 0.16427243), (0.09655714, -0.98641497, 0.13289912), (0.09655715, -0.986415, 0.13289912), (0.09655714, -0.986415, 0.13289912), (0.1562327, -0.98641497, 0.050763167), (0.1562327, -0.9864149, 0.050763164), (0.15623271, -0.98641497, 0.050763164), (0.15623267, -0.9864149, -0.050763138), (0.15623268, -0.98641497, -0.05076314), (0.15623267, -0.98641497, -0.050763134), (0.09655711, 0.9864151, -0.13289908), (0.096557096, 0.98641497, -0.13289905), (0.096557096, 0.98641497, -0.13289906), (-4.9101807e-8, 0.9864149, -0.16427238), (-4.9101807e-8, 0.986415, -0.1642724), (-4.9101807e-8, 0.98641497, -0.16427237), (-0.0965571, 0.9864149, -0.13289934), (-0.0965571, 0.9864149, -0.13289934), (-0.09655711, 0.98641497, -0.13289934), (-0.1562327, 0.98641497, -0.050763164), (-0.1562327, 0.98641497, -0.050763164), (-0.15623271, 0.98641497, -0.050763167), (-0.15623267, 0.98641497, 0.050763145), (-0.15623266, 0.98641497, 0.050763145), (-0.15623264, 0.98641485, 0.05076314), (-0.09655711, 0.986415, 0.1328991), (-0.0965571, 0.98641497, 0.1328991), (-0.0965571, 0.98641497, 0.13289909), (0, 0.986415, 0.16427243), (0, 0.986415, 0.16427243), (0, 0.986415, 0.16427243), (0.09655715, 0.9864149, 0.13289912), (0.096557155, 0.986415, 0.13289914), (0.09655714, 0.9864149, 0.13289912), (0.1562327, 0.9864149, 0.050763164), (0.1562327, 0.98641497, 0.050763167), (0.15623271, 0.98641497, 0.050763164), (0.15623268, 0.98641497, -0.05076314), (0.15623267, 0.9864149, -0.050763138), (0.15623267, 0.98641497, -0.050763134)] ( + elementSize = 380 + interpolation = "faceVarying" + ) + int[] primvars:normals:indices = [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, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334, 335, 336, 337, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347, 348, 349, 350, 351, 352, 353, 354, 355, 356, 357, 358, 359, 360, 361, 362, 363, 364, 365, 366, 367, 368, 369, 370, 371, 372, 373, 374, 375, 376, 377, 378, 379] + float2[] primvars:st = [(0, 0.1), (0.1, 0.1), (0.2, 0.1), (0.3, 0.1), (0.4, 0.1), (0.5, 0.1), (0.6, 0.1), (0.70000005, 0.1), (0.8000001, 0.1), (0.9000001, 0.1), (1.0000001, 0.1), (0, 0.2), (0.1, 0.2), (0.2, 0.2), (0.3, 0.2), (0.4, 0.2), (0.5, 0.2), (0.6, 0.2), (0.70000005, 0.2), (0.8000001, 0.2), (0.9000001, 0.2), (1.0000001, 0.2), (0, 0.3), (0.1, 0.3), (0.2, 0.3), (0.3, 0.3), (0.4, 0.3), (0.5, 0.3), (0.6, 0.3), (0.70000005, 0.3), (0.8000001, 0.3), (0.9000001, 0.3), (1.0000001, 0.3), (0, 0.4), (0.1, 0.4), (0.2, 0.4), (0.3, 0.4), (0.4, 0.4), (0.5, 0.4), (0.6, 0.4), (0.70000005, 0.4), (0.8000001, 0.4), (0.9000001, 0.4), (1.0000001, 0.4), (0, 0.5), (0.1, 0.5), (0.2, 0.5), (0.3, 0.5), (0.4, 0.5), (0.5, 0.5), (0.6, 0.5), (0.70000005, 0.5), (0.8000001, 0.5), (0.9000001, 0.5), (1.0000001, 0.5), (0, 0.6), (0.1, 0.6), (0.2, 0.6), (0.3, 0.6), (0.4, 0.6), (0.5, 0.6), (0.6, 0.6), (0.70000005, 0.6), (0.8000001, 0.6), (0.9000001, 0.6), (1.0000001, 0.6), (0, 0.70000005), (0.1, 0.70000005), (0.2, 0.70000005), (0.3, 0.70000005), (0.4, 0.70000005), (0.5, 0.70000005), (0.6, 0.70000005), (0.70000005, 0.70000005), (0.8000001, 0.70000005), (0.9000001, 0.70000005), (1.0000001, 0.70000005), (0, 0.8000001), (0.1, 0.8000001), (0.2, 0.8000001), (0.3, 0.8000001), (0.4, 0.8000001), (0.5, 0.8000001), (0.6, 0.8000001), (0.70000005, 0.8000001), (0.8000001, 0.8000001), (0.9000001, 0.8000001), (1.0000001, 0.8000001), (0, 0.9000001), (0.1, 0.9000001), (0.2, 0.9000001), (0.3, 0.9000001), (0.4, 0.9000001), (0.5, 0.9000001), (0.6, 0.9000001), (0.70000005, 0.9000001), (0.8000001, 0.9000001), (0.9000001, 0.9000001), (1.0000001, 0.9000001), (0.05, 0), (0.15, 0), (0.25, 0), (0.35000002, 0), (0.45000002, 0), (0.55, 0), (0.65000004, 0), (0.75, 0), (0.85, 0), (0.95000005, 0), (0.05, 1), (0.15, 1), (0.25, 1), (0.35000002, 1), (0.45000002, 1), (0.55, 1), (0.65000004, 1), (0.75, 1), (0.85, 1), (0.95000005, 1)] ( + elementSize = 119 + interpolation = "faceVarying" + ) + int[] primvars:st:indices = [0, 1, 12, 11, 1, 2, 13, 12, 2, 3, 14, 13, 3, 4, 15, 14, 4, 5, 16, 15, 5, 6, 17, 16, 6, 7, 18, 17, 7, 8, 19, 18, 8, 9, 20, 19, 9, 10, 21, 20, 11, 12, 23, 22, 12, 13, 24, 23, 13, 14, 25, 24, 14, 15, 26, 25, 15, 16, 27, 26, 16, 17, 28, 27, 17, 18, 29, 28, 18, 19, 30, 29, 19, 20, 31, 30, 20, 21, 32, 31, 22, 23, 34, 33, 23, 24, 35, 34, 24, 25, 36, 35, 25, 26, 37, 36, 26, 27, 38, 37, 27, 28, 39, 38, 28, 29, 40, 39, 29, 30, 41, 40, 30, 31, 42, 41, 31, 32, 43, 42, 33, 34, 45, 44, 34, 35, 46, 45, 35, 36, 47, 46, 36, 37, 48, 47, 37, 38, 49, 48, 38, 39, 50, 49, 39, 40, 51, 50, 40, 41, 52, 51, 41, 42, 53, 52, 42, 43, 54, 53, 44, 45, 56, 55, 45, 46, 57, 56, 46, 47, 58, 57, 47, 48, 59, 58, 48, 49, 60, 59, 49, 50, 61, 60, 50, 51, 62, 61, 51, 52, 63, 62, 52, 53, 64, 63, 53, 54, 65, 64, 55, 56, 67, 66, 56, 57, 68, 67, 57, 58, 69, 68, 58, 59, 70, 69, 59, 60, 71, 70, 60, 61, 72, 71, 61, 62, 73, 72, 62, 63, 74, 73, 63, 64, 75, 74, 64, 65, 76, 75, 66, 67, 78, 77, 67, 68, 79, 78, 68, 69, 80, 79, 69, 70, 81, 80, 70, 71, 82, 81, 71, 72, 83, 82, 72, 73, 84, 83, 73, 74, 85, 84, 74, 75, 86, 85, 75, 76, 87, 86, 77, 78, 89, 88, 78, 79, 90, 89, 79, 80, 91, 90, 80, 81, 92, 91, 81, 82, 93, 92, 82, 83, 94, 93, 83, 84, 95, 94, 84, 85, 96, 95, 85, 86, 97, 96, 86, 87, 98, 97, 1, 0, 99, 2, 1, 100, 3, 2, 101, 4, 3, 102, 5, 4, 103, 6, 5, 104, 7, 6, 105, 8, 7, 106, 9, 8, 107, 10, 9, 108, 88, 89, 109, 89, 90, 110, 90, 91, 111, 91, 92, 112, 92, 93, 113, 93, 94, 114, 94, 95, 115, 95, 96, 116, 96, 97, 117, 97, 98, 118] + uniform token subdivisionScheme = "none" + } +} + +def Scope "mtl" +{ + def Material "standardSurface1" + { + token outputs:arnold:surface.connect = + + def Shader "standardSurface1" + { + uniform token info:id = "arnold:standard_surface" + color3f inputs:base_color = (0.4, 0.4, 0.4) + vector3f inputs:normal = (1, 1, 1) + float inputs:specular_roughness = 0.5 + vector3f inputs:tangent = (1, 1, 1) + bool inputs:transmit_aovs = 1 + token outputs:out + } + } +} + diff --git a/testsuite/test_1610/ref/reference.log b/testsuite/test_1610/ref/reference.log new file mode 100644 index 000000000..bd000205f --- /dev/null +++ b/testsuite/test_1610/ref/reference.log @@ -0,0 +1,210 @@ +00:00:00 92MB | log started Mon Jul 22 18:16:45 2024 +00:00:00 92MB | Arnold 7.3.3.0 [321d3b3a] windows x86_64 clang-15.0.7 oiio-2.4.1 osl-1.13.0 vdb-11.0.0 adlsdk-8.0.7.50 clmhub-3.1.1.43 rlm-14.2.5 optix-8.0.0 2024/07/08 17:34:38 +00:00:00 92MB | running on REMS4QL1726, pid=14516 +00:00:00 92MB | 2 x Intel(R) Xeon(R) Gold 5218 CPU @ 2.30GHz (32 cores, 64 logical) with 65154MB +00:00:00 106MB | NVIDIA driver version 551.23 +00:00:00 106MB | GPU 0: Quadro RTX 4000 @ 1545MHz (compute 7.5) with 8191MB (3930MB available) (NVLink:0) +00:00:00 106MB | Windows 10 (version 10.0, build 19045) +00:00:00 106MB | soft limit for open files is set at 2048 +00:00:00 106MB | +00:00:00 106MB | Installing system handler with mask 255 +00:00:00 117MB | loading plugins from C:\arnold\arnold-usd\build\windows_x86_64\msvc_opt\usd-0.23.11_arnold-7.3.3.0\plugins\procedural ... +00:00:00 126MB | usd_proc.dll: usd uses Arnold 7.3.3.0 +00:00:00 126MB | loaded 1 plugins from 1 lib(s) in 0:00.11 +00:00:00 126MB | loading plugins from C:\arnold\sdk\latest\bin\..\plugins ... +00:00:00 126MB | alembic_proc.dll: alembic uses Arnold 7.3.3.0 +00:00:00 126MB | cryptomatte.dll: cryptomatte uses Arnold 7.3.3.0 +00:00:00 127MB | cryptomatte.dll: cryptomatte_filter uses Arnold 7.3.3.0 +00:00:00 127MB | cryptomatte.dll: cryptomatte_manifest_driver uses Arnold 7.3.3.0 +00:00:00 127MB | skipping already loaded plugin: C:\arnold\sdk\latest\bin\..\plugins\usd_proc.dll ... +00:00:00 127MB | loaded 4 plugins from 2 lib(s) in 0:00.00 +00:00:00 131MB | [kick] command: C:\arnold\sdk\latest\bin\kick test.usda -dw -r 160 120 -sm lambert -bs 16 -sl -o testrender.tif -set driver_tiff.dither false -nocrashpopup -dp -v 6 +00:00:00 131MB | loading plugins from . ... +00:00:00 132MB | no plugins loaded +00:00:00 132MB | ARNOLD_ADP_DISABLE envar passed in -- ADP is disabled for this session +00:00:00 170MB | [kick] applying 2 attr value overrides +00:00:00 170MB | +00:00:00 170MB WARNING | rendering with watermarks because the skip_license_check option was enabled +00:00:00 170MB | +00:00:00 171MB | [color_manager] using color manager ai_default_color_manager_ocio of type "color_manager_ocio" +00:00:00 172MB | [color_manager_ocio] ai_default_color_manager_ocio : using builtin OCIO configuration file C:\arnold\sdk\latest\bin\../ocio/configs/arnold/config.ocio +00:00:00 172MB | [color_manager] rendering color space is "ACEScg" +00:00:00 227MB | +00:00:00 227MB | there are 1 light and 2 objects: +00:00:00 227MB | 1 persp_camera +00:00:00 227MB | 1 distant_light +00:00:00 227MB | 2 utility +00:00:00 227MB | 1 standard_surface +00:00:00 227MB | 1 driver_tiff +00:00:00 227MB | 2 box_filter +00:00:00 227MB | 1 gaussian_filter +00:00:00 227MB | 1 polymesh +00:00:00 227MB | 2 list_aggregate +00:00:00 227MB | 2 color_manager_ocio +00:00:00 227MB | +00:00:00 227MB | rendering image at 160 x 120, 3 AA samples +00:00:00 227MB | AA samples max +00:00:00 227MB | AA sample clamp +00:00:00 227MB | diffuse samples 2 / depth 1 +00:00:00 227MB | specular samples 2 / depth 1 +00:00:00 227MB | transmission samples 2 / depth 8 +00:00:00 227MB | volume indirect +00:00:00 227MB | total depth 10 +00:00:00 227MB | bssrdf samples 2 +00:00:00 227MB | light +00:00:00 227MB | transparency depth 10 +00:00:00 227MB | Full scene init/update requested for final render pass +00:00:00 227MB | full scene initialize (11 nodes) +00:00:00 228MB | creating root object list ... +00:00:00 228MB | full scene initialize done in 0:00.00 (multithreaded) +00:00:00 228MB | full scene update (12 nodes) +00:00:00 229MB | /directionalLight1/directionalLightShape1: distant_light using 1 sample, 2 volume samples +00:00:00 229MB | [color_manager_ocio] ai_default_color_manager_ocio : using builtin OCIO configuration file C:\arnold\sdk\latest\bin\../ocio/configs/arnold/config.ocio +00:00:00 229MB | scene bounds: (-1.00000012 -1 -0.951056719) -> (1 1 0.9510566) +00:00:00 229MB | full scene update done in 0:00.00 (multithreaded) +00:00:00 229MB | [light_sampler] Group 0: Total number of lights 1, sampled lights 0, fixed lights 1 +00:00:00 229MB | [light_sampler] Group 0: Took 0.000000 ms to build the tree +00:00:00 229MB | [aov] parsing 1 output statements ... +00:00:00 229MB | [aov] registered driver: "kick_driver" (driver_tiff) +00:00:00 229MB | [aov] * "RGBA" of type RGBA filtered by "kick_filter" (gaussian_filter) +00:00:00 229MB | [aov] done preparing 2 AOVs for 1 output to 1 driver (0 deep AOVs) +00:00:00 230MB | starting 64 bucket workers of size 16x16 ... +00:00:00 234MB | [accel] polymesh bvh4 done - 0:00.00 (wall time) - 100 prims, 1 key +00:00:00 243MB | 1% done - 98 rays/pixel +00:00:00 247MB | 5% done - 23 rays/pixel +00:00:00 247MB | 10% done - 29 rays/pixel +00:00:00 247MB | 15% done - 12 rays/pixel +00:00:00 249MB | 20% done - 37 rays/pixel +00:00:00 250MB | 25% done - 34 rays/pixel +00:00:00 250MB | 30% done - 7 rays/pixel +00:00:00 250MB | 35% done - 13 rays/pixel +00:00:00 250MB | 40% done - 23 rays/pixel +00:00:00 250MB | 45% done - 11 rays/pixel +00:00:00 250MB | 50% done - 3 rays/pixel +00:00:00 252MB | 55% done - 19 rays/pixel +00:00:00 252MB | 60% done - 8 rays/pixel +00:00:00 253MB | 65% done - 10 rays/pixel +00:00:00 254MB | 70% done - 6 rays/pixel +00:00:00 256MB | 75% done - 12 rays/pixel +00:00:00 257MB | 80% done - 13 rays/pixel +00:00:00 258MB | 85% done - 5 rays/pixel +00:00:00 260MB | 90% done - 11 rays/pixel +00:00:00 260MB | 95% done - 5 rays/pixel +00:00:00 260MB | 100% done - 5 rays/pixel +00:00:00 260MB | render done in 0:00.061 +00:00:00 260MB | [driver_tiff] writing file `testrender.tif' +00:00:00 261MB | render done +00:00:00 261MB | +00:00:00 261MB | ----------------------------------------------------------------------------------- +00:00:00 261MB | scene creation time 0:00.30 machine utilization (0.40%) +00:00:00 261MB | unaccounted 0:00.30 +00:00:00 261MB | ----------------------------------------------------------------------------------- +00:00:00 261MB | frame time 0:00.13 machine utilization (5.81%) +00:00:00 261MB | driver init/close 0:00.01 +00:00:00 261MB | rendering 0:00.06 +00:00:00 261MB | pixel rendering 0:00.06 +00:00:00 261MB | unaccounted 0:00.06 +00:00:00 261MB | ----------------------------------------------------------------------------------- +00:00:00 261MB | top session self-times by category +00:00:00 261MB | accumulateBucketSamples 0:00.00 (18.66%) +00:00:00 261MB | sampleNextBatch 0:00.00 (15.90%) +00:00:00 261MB | Plugin loader 0:00.00 (12.51%) +00:00:00 261MB | AiSceneLoad 0:00.00 ( 9.38%) +00:00:00 261MB | TraceCameraRay 0:00.00 ( 9.29%) +00:00:00 261MB | ray traversal+intersection 0:00.00 ( 6.40%) +00:00:00 261MB | ADP 0:00.00 ( 6.30%) +00:00:00 261MB | surface closure (/mtl/standardSurface1/standardSurface1) 0:00.00 ( 4.70%) +00:00:00 261MB | AtRenderSession::Setup 0:00.00 ( 3.10%) +00:00:00 261MB | AiMalloc 0:00.00 ( 3.09%) +00:00:00 261MB | polymesh::intersect (/pSphere1/pSphereShape1) 0:00.00 ( 3.09%) +00:00:00 261MB | standard_surface (/mtl/standardSurface1/standardSurface1) 0:00.00 ( 2.99%) +00:00:00 261MB | ----------------------------------------------------------------------------------- +00:00:00 261MB | top session self-times by node +00:00:00 261MB | accumulateBucketSamples 0:00.00 (18.66%) +00:00:00 261MB | sampleNextBatch 0:00.00 (15.90%) +00:00:00 261MB | Plugin loader 0:00.00 (12.51%) +00:00:00 261MB | standard_surface:/mtl/standardSurface1/standardSurface1 0:00.00 (10.88%) +00:00:00 261MB | surface closure 0:00.00 ( 4.70%) +00:00:00 261MB | ray traversal+intersection 0:00.00 ( 3.19%) +00:00:00 261MB | AiSceneLoad 0:00.00 ( 9.38%) +00:00:00 261MB | TraceCameraRay 0:00.00 ( 9.29%) +00:00:00 261MB | ADP 0:00.00 ( 6.30%) +00:00:00 261MB | polymesh:/pSphere1/pSphereShape1 0:00.00 ( 4.59%) +00:00:00 261MB | polymesh::intersect 0:00.00 ( 3.09%) +00:00:00 261MB | BVH::intersect 0:00.00 ( 1.50%) +00:00:00 261MB | ray traversal+intersection 0:00.00 ( 3.20%) +00:00:00 261MB | AtRenderSession::Setup 0:00.00 ( 3.10%) +00:00:00 261MB | AiMalloc 0:00.00 ( 3.09%) +00:00:00 261MB | ----------------------------------------------------------------------------------- +00:00:00 261MB | peak CPU memory used 261.70MB +00:00:00 261MB | at startup 76.86MB +00:00:00 261MB | plugins 0.06MB +00:00:00 261MB | AOV samples 0.17MB +00:00:00 261MB | output buffers 0.14MB +00:00:00 261MB | framebuffers 0.31MB +00:00:00 261MB | node overhead 0.00MB +00:00:00 261MB | message passing 0.04MB +00:00:00 261MB | memory pools 15.51MB +00:00:00 261MB | geometry 0.01MB +00:00:00 261MB | polymesh 0.01MB +00:00:00 261MB | vertices 0.00MB +00:00:00 261MB | vertex indices 0.00MB +00:00:00 261MB | packed normals 0.00MB +00:00:00 261MB | normal indices 0.00MB +00:00:00 261MB | uv coords 0.00MB +00:00:00 261MB | uv coords idxs 0.00MB +00:00:00 261MB | uniform indices 0.00MB +00:00:00 261MB | userdata 0.01MB +00:00:00 262MB | accel structs 0.01MB +00:00:00 262MB | strings 24.50MB +00:00:00 262MB | profiler 0.00MB +00:00:00 262MB | backtrace handler 29.85MB +00:00:00 262MB | unaccounted 114.24MB +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | ray counts ( /pixel, /sample) (% total) (avg. hits) (max hits) +00:00:00 262MB | camera 195440 ( 10.18, 1.00) ( 66.90%) ( 0.06) ( 1) +00:00:00 262MB | shadow 9539 ( 0.50, 0.05) ( 3.27%) ( 0.00) ( 0) +00:00:00 262MB | diffuse_reflect 45016 ( 2.34, 0.23) ( 15.41%) ( 0.00) ( 0) +00:00:00 262MB | specular_reflect 42153 ( 2.20, 0.22) ( 14.43%) ( 0.00) ( 0) +00:00:00 262MB | total 292148 ( 15.22, 1.49) (100.00%) ( 0.04) ( 1) +00:00:00 262MB | by ray depth: 0 1 +00:00:00 262MB | total 70.2% 29.8% +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | shader calls ( /pixel, /sample) (% total) +00:00:00 262MB | primary 11254 ( 0.59, 0.06) (100.00%) +00:00:00 262MB | total 11254 ( 0.59, 0.06) (100.00%) +00:00:00 262MB | by ray depth: 0 1 +00:00:00 262MB | total 100.0% 0.0% +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | geometry (% hit ) (instances) ( init mem, final mem) +00:00:00 262MB | lists 1 (100.0%) ( 0) ( 0.00, 0.00) +00:00:00 262MB | polymeshes 1 (100.0%) ( 0) ( 0.01, 0.01) +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | geometric elements ( min) ( avg.) ( max) +00:00:00 262MB | polygons 100 ( 100) ( 100.0) ( 100) +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | triangle tessellation ( min) ( avg.) ( max) (/ element) (% total) +00:00:00 262MB | polymeshes 180 ( 180) ( 180.0) ( 180) ( 1.80) (100.00%) +00:00:00 262MB | unique triangles 180 +00:00:00 262MB | largest polymeshes by triangle count +00:00:00 262MB | 180 tris -- /pSphere1/pSphereShape1 +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | acceleration structures: (% total) +00:00:00 262MB | list 1 ( 50.00%) +00:00:00 262MB | bvh 1 ( 50.00%) +00:00:00 262MB | total 2 (100.00%) +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | number of warnings, warning type: +00:00:00 262MB | 1: rendering with watermarks because the skip_license_check option was enabled +00:00:00 262MB | ----------------------------------------------------------------------------------- +00:00:00 262MB | +00:00:00 262MB | releasing resources +00:00:00 191MB | +00:00:00 191MB | releasing resources +00:00:00 177MB | unloading 3 plugins +00:00:00 177MB | closing usd_proc.dll ... +00:00:00 177MB | closing alembic_proc.dll ... +00:00:00 177MB | closing cryptomatte.dll ... +00:00:00 177MB | unloading plugins done +00:00:00 177MB | Arnold shutdown +00:00:00 163MB | Installing system handler with mask 0 diff --git a/testsuite/test_1610/ref/reference.tif b/testsuite/test_1610/ref/reference.tif new file mode 100644 index 000000000..3e58af591 Binary files /dev/null and b/testsuite/test_1610/ref/reference.tif differ