From e55df86b376cfee3ee5ee5c85a68962977bb02a5 Mon Sep 17 00:00:00 2001 From: Colin Kennedy Date: Sun, 1 Dec 2019 13:35:30 -0800 Subject: Added extra composition arcs and Prims to example.usd --- tests/examplefiles/example.usd | 61 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'tests/examplefiles/example.usd') diff --git a/tests/examplefiles/example.usd b/tests/examplefiles/example.usd index 17c55d81..60172439 100644 --- a/tests/examplefiles/example.usd +++ b/tests/examplefiles/example.usd @@ -6,6 +6,67 @@ upAxis = "Z" ) +class "name" +{ + def Sphere "MySphere" + { + } +} + +class "inherited" ( + inherits = +) +{ + over "MySphere" + { + double radius = 3 + } +} + +def "RedSphere" ( + assetInfo = { + asset identifier = @./some_file.usd@ + string name = "Sphere" + } + specializes = +) +{ + color3f[] primvars:displayColor = [(0.8, 0, 0)] +} + +def "GreenSphere" ( + assetInfo = { + string name = "Sphere" + } + specializes = +) +{ + color3f[] primvars:displayColor = [(0, 1, 0)] +} + + +def Scope "variant_thing" ( + variants = { + string shadingVariant = "Red" + } + add variantSets = "shadingVariant" +) +{ + variantSet "shadingVariant" = { + "Green" ( + references = + payload = @./something_that/doesnt/exist.usd@ + ) { + + } + "Red" ( + references = + ) { + + } + } +} + def Xform "Rocks" ( kind = "component" ) -- cgit v1.2.1