summaryrefslogtreecommitdiff
path: root/tests/examplefiles/example.usd
diff options
context:
space:
mode:
authorColin Kennedy <colinvfx@gmail.com>2019-12-01 13:35:30 -0800
committerColin Kennedy <colinvfx@gmail.com>2019-12-01 13:35:30 -0800
commite55df86b376cfee3ee5ee5c85a68962977bb02a5 (patch)
treec39b8428f573bfb0eefcb61b9106e5ee93af2f89 /tests/examplefiles/example.usd
parenta773ef5cddc2360af14b00c94d1e43a0456ca094 (diff)
downloadpygments-git-e55df86b376cfee3ee5ee5c85a68962977bb02a5.tar.gz
Added extra composition arcs and Prims to example.usd
Diffstat (limited to 'tests/examplefiles/example.usd')
-rw-r--r--tests/examplefiles/example.usd61
1 files changed, 61 insertions, 0 deletions
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 = </name>
+)
+{
+ over "MySphere"
+ {
+ double radius = 3
+ }
+}
+
+def "RedSphere" (
+ assetInfo = {
+ asset identifier = @./some_file.usd@
+ string name = "Sphere"
+ }
+ specializes = </inherited/MySphere>
+)
+{
+ color3f[] primvars:displayColor = [(0.8, 0, 0)]
+}
+
+def "GreenSphere" (
+ assetInfo = {
+ string name = "Sphere"
+ }
+ specializes = </inherited/MySphere>
+)
+{
+ color3f[] primvars:displayColor = [(0, 1, 0)]
+}
+
+
+def Scope "variant_thing" (
+ variants = {
+ string shadingVariant = "Red"
+ }
+ add variantSets = "shadingVariant"
+)
+{
+ variantSet "shadingVariant" = {
+ "Green" (
+ references = </GreenSphere>
+ payload = @./something_that/doesnt/exist.usd@
+ ) {
+
+ }
+ "Red" (
+ references = </RedSphere>
+ ) {
+
+ }
+ }
+}
+
def Xform "Rocks" (
kind = "component"
)