add usd-21-05-win64_py37
This commit is contained in:
1 parent
41d23e71ba
commit
66bc054336
15675 files changed
+3061008
No files matched your search
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"Plugins": [
|
||||
{
|
||||
"Info": {
|
||||
"Types": {
|
||||
"HdTinyRendererPlugin": {
|
||||
"bases": [
|
||||
"HdRendererPlugin"
|
||||
],
|
||||
"displayName": "Tiny",
|
||||
"priority": 99
|
||||
}
|
||||
}
|
||||
},
|
||||
"LibraryPath": "../hdTiny.dll",
|
||||
"Name": "HdTiny",
|
||||
"ResourcePath": "resources",
|
||||
"Root": "..",
|
||||
"Type": "library"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,36 @@
|
||||
{
|
||||
"Plugins": [
|
||||
{
|
||||
"Info": {
|
||||
"SdfMetadata": {
|
||||
"Usd_DCE_Params": {
|
||||
"type": "dictionary",
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Used to set number of copies."
|
||||
}
|
||||
},
|
||||
|
||||
"Types": {
|
||||
"UsdDancingCubesExampleFileFormat": {
|
||||
"bases": [
|
||||
"SdfFileFormat"
|
||||
],
|
||||
"displayName": "USD Dancing Cubes Example Format",
|
||||
"extensions": [
|
||||
"usddancingcubesexample"
|
||||
],
|
||||
"formatId": "usdDancingCubesExample",
|
||||
"primary": true,
|
||||
"target": "usd"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LibraryPath": "../usdDancingCubesExample.dll",
|
||||
"Name": "usdDancingCubesExample",
|
||||
"ResourcePath": "resources",
|
||||
"Root": "..",
|
||||
"Type": "library"
|
||||
}
|
||||
]
|
||||
}
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
#usda 1.0
|
||||
(
|
||||
endTimeCode = 200
|
||||
startTimeCode = 0
|
||||
)
|
||||
|
||||
def "Root" (
|
||||
# Dictionary value metadata field that provides all the parameters to
|
||||
# generate the layer in the payload. Change these values to change the
|
||||
# contents of the file.
|
||||
Usd_DCE_Params = {
|
||||
int perSide = 15
|
||||
int framesPerCycle = 36
|
||||
int numFrames = 200
|
||||
double distance = 6.0
|
||||
double moveScale = 1.5
|
||||
token geomType = "Cube"
|
||||
}
|
||||
# Payload to the dynamic file. The file must exist but its contents are
|
||||
# irrelevant as everything is generated from parameters above.
|
||||
payload = @./empty.usddancingcubesexample@
|
||||
)
|
||||
{
|
||||
}
|
||||
+2
@@ -0,0 +1,2 @@
|
||||
# This file is intentionally empty. The file must exist to be referenced but the
|
||||
# contents are completely irrelevant for this file format.
|
||||
Binary file not shown.
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"Plugins": [
|
||||
{
|
||||
"Info": {
|
||||
"Types": {
|
||||
"UsdObjFileFormat": {
|
||||
"bases": [
|
||||
"SdfFileFormat"
|
||||
],
|
||||
"displayName": "USD Tutorial Rudimentary OBJ",
|
||||
"extensions": [
|
||||
"obj"
|
||||
],
|
||||
"formatId": "obj",
|
||||
"primary": true,
|
||||
"target": "usd"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LibraryPath": "../usdObj.dll",
|
||||
"Name": "usdObj",
|
||||
"ResourcePath": "resources",
|
||||
"Root": "..",
|
||||
"Type": "library"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,64 @@
|
||||
{
|
||||
"Plugins": [
|
||||
{
|
||||
"Info": {
|
||||
"SdfMetadata": {
|
||||
"UsdExample_depth": {
|
||||
"type": "int",
|
||||
"default": 1,
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Used to set total number of recursions."
|
||||
},
|
||||
"UsdExample_num": {
|
||||
"type": "int",
|
||||
"default": 1,
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Used to set the number of prims added at each recursion."
|
||||
},
|
||||
"UsdExample_radius": {
|
||||
"type": "double",
|
||||
"default": 3.0,
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Radius of ring used to layout generated prims at each recursion."
|
||||
},
|
||||
"UsdExample_height": {
|
||||
"type": "double",
|
||||
"default": 3.0,
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Height above the previous level to place generated prims."
|
||||
},
|
||||
"UsdExample_argDict": {
|
||||
"type": "dictionary",
|
||||
"displayGroup": "Core",
|
||||
"appliesTo": ["prims"],
|
||||
"documentation:": "Dictionary of parameters that can be specified for individually IDed payloads."
|
||||
}
|
||||
},
|
||||
|
||||
"Types": {
|
||||
"UsdRecursivePayloadsExampleFileFormat": {
|
||||
"bases": [
|
||||
"SdfFileFormat"
|
||||
],
|
||||
"displayName": "USD Dynamic File Format Example",
|
||||
"extensions": [
|
||||
"usdrecursivepayloadsexample"
|
||||
],
|
||||
"formatId": "usdRecursivePayloadsExample",
|
||||
"primary": true,
|
||||
"target": "usd"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LibraryPath": "../usdRecursivePayloadsExample.dll",
|
||||
"Name": "usdRecursivePayloadsExample",
|
||||
"ResourcePath": "resources",
|
||||
"Root": "..",
|
||||
"Type": "library"
|
||||
}
|
||||
]
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
#usda 1.0
|
||||
(
|
||||
defaultPrim = "cone"
|
||||
)
|
||||
|
||||
def Cone "cone"
|
||||
{
|
||||
}
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
#usda 1.0
|
||||
|
||||
# Example parameters metadata
|
||||
def "Params" (
|
||||
# These are the parameters that affect any payload that composes them.
|
||||
UsdExample_depth = 5
|
||||
UsdExample_num = 3
|
||||
UsdExample_radius = 50.0
|
||||
# This is an example of the dictionary value for overriding particular
|
||||
# parameters on a payload with a matching payloadId in its file format
|
||||
# arguments.
|
||||
UsdExample_argDict = {
|
||||
# Overrides for the specifically named Foo payload
|
||||
dictionary "Foo" = {
|
||||
int UsdExample_depth = 5
|
||||
int UsdExample_num = 4
|
||||
}
|
||||
# Overrides for the specifically named Bar payload
|
||||
dictionary "Bar" = {
|
||||
double UsdExample_height = 5
|
||||
}
|
||||
}
|
||||
)
|
||||
{
|
||||
}
|
||||
+11
@@ -0,0 +1,11 @@
|
||||
#usda 1.0
|
||||
|
||||
# Demonstrates a prim with a list of payloads that used a specified file format argument of
|
||||
# UsdExample_payloadId to allow the argDict metadata field to specify different parameters
|
||||
# for each in the same prim.
|
||||
def "PayloadRoot" (
|
||||
payload = [@cone.usdrecursivepayloadsexample:SDF_FORMAT_ARGS:UsdExample_payloadId=Foo@,
|
||||
@sphere.usdrecursivepayloadsexample:SDF_FORMAT_ARGS:UsdExample_payloadId=Bar@]
|
||||
)
|
||||
{
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#usda 1.0
|
||||
|
||||
# Prim that demonstrates how dynamic file formate arguments can be composed from fields
|
||||
# that have been composed. The params reference brings in opinions about the metadata fields
|
||||
# the affect our dynamic payloads. The payload refence brings in a list of payloads that
|
||||
# refer to dynamic file format types. The fields composed from the params reference will
|
||||
# affect the layer content in the payloads.
|
||||
def "RootMulti" (
|
||||
references = [@./params.usda@</Params>,
|
||||
@./payload.usda@</PayloadRoot>]
|
||||
)
|
||||
{
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
#usda 1.0
|
||||
(
|
||||
defaultPrim = "hello"
|
||||
)
|
||||
|
||||
def Xform "hello"
|
||||
{
|
||||
def Sphere "sphere"
|
||||
{
|
||||
color3f[] primvars:displayColor = [(0, 0, 1)]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,46 @@
|
||||
#usda 1.0
|
||||
(
|
||||
"WARNING: THIS FILE IS GENERATED BY usdGenSchema. DO NOT EDIT."
|
||||
)
|
||||
|
||||
class "SimplePrim" (
|
||||
doc = """An example of an untyped schema prim. Note that it does not
|
||||
specify a typeName"""
|
||||
)
|
||||
{
|
||||
int intAttr = 0 (
|
||||
doc = "An integer attribute with fallback value of 0."
|
||||
)
|
||||
rel target (
|
||||
doc = """A relationship called target that could point to another prim
|
||||
or a property"""
|
||||
)
|
||||
}
|
||||
|
||||
class ComplexPrim "ComplexPrim" (
|
||||
doc = "An example of a untyped IsA schema prim"
|
||||
)
|
||||
{
|
||||
string complexString = "somethingComplex"
|
||||
int intAttr = 0 (
|
||||
doc = "An integer attribute with fallback value of 0."
|
||||
)
|
||||
rel target (
|
||||
doc = """A relationship called target that could point to another prim
|
||||
or a property"""
|
||||
)
|
||||
}
|
||||
|
||||
class "ParamsAPI"
|
||||
{
|
||||
double params:mass (
|
||||
doc = "Double value denoting mass"
|
||||
)
|
||||
double params:velocity (
|
||||
doc = "Double value denoting velocity"
|
||||
)
|
||||
double params:volume (
|
||||
doc = "Double value denoting volume"
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
# Portions of this file auto-generated by usdGenSchema.
|
||||
# Edits will survive regeneration except for comments and
|
||||
# changes to types with autoGenerated=true.
|
||||
{
|
||||
"Plugins": [
|
||||
{
|
||||
"Info": {
|
||||
"Types": {
|
||||
"UsdSchemaExamplesComplex": {
|
||||
"alias": {
|
||||
"UsdSchemaBase": "ComplexPrim"
|
||||
},
|
||||
"autoGenerated": true,
|
||||
"bases": [
|
||||
"UsdSchemaExamplesSimple"
|
||||
],
|
||||
"schemaKind": "concreteTyped"
|
||||
},
|
||||
"UsdSchemaExamplesParamsAPI": {
|
||||
"alias": {
|
||||
"UsdSchemaBase": "ParamsAPI"
|
||||
},
|
||||
"autoGenerated": true,
|
||||
"bases": [
|
||||
"UsdAPISchemaBase"
|
||||
],
|
||||
"schemaKind": "singleApplyAPI"
|
||||
},
|
||||
"UsdSchemaExamplesSimple": {
|
||||
"autoGenerated": true,
|
||||
"bases": [
|
||||
"UsdTyped"
|
||||
],
|
||||
"schemaKind": "abstractTyped"
|
||||
}
|
||||
}
|
||||
},
|
||||
"LibraryPath": "../usdSchemaExamples.dll",
|
||||
"Name": "usdSchemaExamples",
|
||||
"ResourcePath": "resources",
|
||||
"Root": "..",
|
||||
"Type": "library"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,80 @@
|
||||
#usda 1.0
|
||||
(
|
||||
""" This file contains an example schemata for code generation using
|
||||
usdGenSchema.
|
||||
"""
|
||||
subLayers = [
|
||||
@usd/schema.usda@
|
||||
]
|
||||
)
|
||||
|
||||
over "GLOBAL" (
|
||||
customData = {
|
||||
string libraryName = "usdSchemaExamples"
|
||||
string libraryPath = "."
|
||||
string libraryPrefix = "UsdSchemaExamples"
|
||||
}
|
||||
) {
|
||||
}
|
||||
|
||||
class "SimplePrim" (
|
||||
doc = """An example of an untyped schema prim. Note that it does not
|
||||
specify a typeName"""
|
||||
# IsA schemas should derive from </Typed>, which is defined in the sublayer
|
||||
# usd/lib/usd/schema.usda.
|
||||
inherits = </Typed>
|
||||
customData = {
|
||||
# Provide a different class name for the C++ and python schema classes.
|
||||
# This will be prefixed with libraryPrefix.
|
||||
# In this case, the class name becomes UsdSchemaExamplesSimple.
|
||||
string className = "Simple"
|
||||
}
|
||||
)
|
||||
{
|
||||
int intAttr = 0 (
|
||||
doc = "An integer attribute with fallback value of 0."
|
||||
)
|
||||
rel target (
|
||||
doc = """A relationship called target that could point to another prim
|
||||
or a property"""
|
||||
)
|
||||
}
|
||||
|
||||
# Note that it does not specify a typeName.
|
||||
class ComplexPrim "ComplexPrim" (
|
||||
doc = """An example of a untyped IsA schema prim"""
|
||||
# Inherits from </SimplePrim> defined in simple.usda.
|
||||
inherits = </SimplePrim>
|
||||
customData = {
|
||||
string className = "Complex"
|
||||
}
|
||||
)
|
||||
{
|
||||
string complexString = "somethingComplex"
|
||||
}
|
||||
|
||||
class "ParamsAPI" (
|
||||
inherits = </APISchemaBase>
|
||||
)
|
||||
{
|
||||
double params:mass (
|
||||
# Informs schema generator to create GetMassAttr() method
|
||||
# instead of GetParamsMassAttr() method
|
||||
customData = {
|
||||
string apiName = "mass"
|
||||
}
|
||||
doc = "Double value denoting mass"
|
||||
)
|
||||
double params:velocity (
|
||||
customData = {
|
||||
string apiName = "velocity"
|
||||
}
|
||||
doc = "Double value denoting velocity"
|
||||
)
|
||||
double params:volume (
|
||||
customData = {
|
||||
string apiName = "volume"
|
||||
}
|
||||
doc = "Double value denoting volume"
|
||||
)
|
||||
}
|
||||
Reference in new issue
Block a user