This change moves the tests data files and publish folder of assets repository to the main blender.git repository as LFS files. The goal of this change is to eliminate toil of modifying tests, cherry-picking changes to LFS branches, adding tests as part of a PR which brings new features or fixes. More detailed explanation and conversation can be found in the design task. Ref #137215 Pull Request: https://projects.blender.org/blender/blender/pulls/137219
87 lines
2.9 KiB
Plaintext
87 lines
2.9 KiB
Plaintext
#usda 1.0
|
|
(
|
|
defaultPrim = "World"
|
|
metersPerUnit = 1
|
|
upAxis = "Z"
|
|
)
|
|
|
|
def Xform "World"
|
|
{
|
|
float3 xformOp:rotateXYZ = (0, 0, 0)
|
|
float3 xformOp:scale = (1, 1, 1)
|
|
double3 xformOp:translate = (0, 0, 2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
|
|
|
def Xform "Plane"
|
|
{
|
|
float3 xformOp:rotateXYZ = (0, 0, 0)
|
|
float3 xformOp:scale = (1, 1, 1)
|
|
double3 xformOp:translate = (0, -2, -2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
|
|
|
def Mesh "Plane"
|
|
{
|
|
int[] faceVertexCounts = [4]
|
|
int[] faceVertexIndices = [0, 1, 3, 2]
|
|
normal3f[] normals = [(0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
point3f[] points = [(-1, -1, 0), (1, -1, 0), (-1, 1, 0), (1, 1, 0)]
|
|
texCoord2f[] primvars:UVMap = [(0, 0), (1, 0), (1, 1), (0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
}
|
|
}
|
|
|
|
def Xform "Plane_001"
|
|
{
|
|
float3 xformOp:rotateXYZ = (0, 0, 0)
|
|
float3 xformOp:scale = (1, 1, 1)
|
|
double3 xformOp:translate = (0, 1.5, -2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
|
|
|
def Mesh "Plane_001"
|
|
{
|
|
int[] faceVertexCounts = [4]
|
|
int[] faceVertexIndices = [0, 1, 3, 2]
|
|
normal3f[] normals = [(0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
point3f[] points = [(-1, -1, 0), (1, -1, 0), (-1, 1, 0), (1, 1, 0)]
|
|
texCoord2f[] primvars:UVMap = [(0, 0), (1, 0), (1, 1), (0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
}
|
|
}
|
|
|
|
def Xform "Empty"
|
|
{
|
|
float3 xformOp:rotateXYZ = (0, 0, 0)
|
|
float3 xformOp:scale = (1, 1, 1)
|
|
double3 xformOp:translate = (3, 0, -2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
|
|
|
def Xform "Plane_002"
|
|
{
|
|
float3 xformOp:rotateXYZ = (0, 0, 0)
|
|
float3 xformOp:scale = (1, 1, 1)
|
|
double3 xformOp:translate = (0, 0, -2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
|
|
|
|
def Mesh "Plane_002"
|
|
{
|
|
int[] faceVertexCounts = [4]
|
|
int[] faceVertexIndices = [0, 1, 3, 2]
|
|
normal3f[] normals = [(0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
point3f[] points = [(-1, -1, 0), (1, -1, 0), (-1, 1, 0), (1, 1, 0)]
|
|
texCoord2f[] primvars:UVMap = [(0, 0), (1, 0), (1, 1), (0, 1)] (
|
|
interpolation = "faceVarying"
|
|
)
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|