提交测试
BIN
tests/samples/golden/clearcoat.png
Normal file
|
After Width: | Height: | Size: 589 B |
BIN
tests/samples/golden/clearcoat_roughness.png
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
tests/samples/golden/diffuse.png
Normal file
|
After Width: | Height: | Size: 770 B |
BIN
tests/samples/golden/displacement.png
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
tests/samples/golden/ior.png
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
tests/samples/golden/material_0/diffuse.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
tests/samples/golden/material_0/metallic.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
BIN
tests/samples/golden/material_0/roughness.png
Normal file
|
After Width: | Height: | Size: 125 KiB |
16
tests/samples/golden/mesh.usda
Normal file
BIN
tests/samples/golden/metallic.png
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
tests/samples/golden/normals.png
Normal file
|
After Width: | Height: | Size: 777 B |
BIN
tests/samples/golden/opacity.png
Normal file
|
After Width: | Height: | Size: 594 B |
541
tests/samples/golden/pbr_material_textures.usda
Normal file
312
tests/samples/golden/pbr_material_values.usda
Normal file
@@ -0,0 +1,312 @@
|
||||
#usda 1.0
|
||||
(
|
||||
defaultPrim = "World"
|
||||
upAxis = "Y"
|
||||
)
|
||||
|
||||
def Xform "World"
|
||||
{
|
||||
def Sphere "Default"
|
||||
{
|
||||
rel material:binding = </World/Looks/Default>
|
||||
}
|
||||
|
||||
def "Looks"
|
||||
{
|
||||
def Material "Default"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Default/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Default/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Diffuse"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Diffuse/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Diffuse/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor = (0, 1, 0)
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "SpecularRoughness"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/SpecularRoughness/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/SpecularRoughness/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor = (1, 0, 0)
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness = 0.1
|
||||
color3f inputs:specularColor = (0, 0, 1)
|
||||
int inputs:useSpecularWorkflow = 1
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Metallic"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Metallic/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Metallic/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor = (0, 1, 0)
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic = 1
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Clearcoat"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Clearcoat/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Clearcoat/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat = 1
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "ClearcoatRougness"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/ClearcoatRougness/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/ClearcoatRougness/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness = 1
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Opacity"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Opacity/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Opacity/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity = 0.5
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "OpacityThreshold"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/OpacityThreshold/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/OpacityThreshold/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold = 0.5
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Ior"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Ior/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Ior/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement
|
||||
float inputs:ior = 1
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
|
||||
def Material "Displacement"
|
||||
{
|
||||
token outputs:displacement.connect = </World/Looks/Displacement/Shader.outputs:displacement>
|
||||
token outputs:surface.connect = </World/Looks/Displacement/Shader.outputs:surface>
|
||||
|
||||
def Shader "Shader"
|
||||
{
|
||||
uniform token info:id = "UsdPreviewSurface"
|
||||
float inputs:clearcoat
|
||||
float inputs:clearcoatRoughness
|
||||
color3f inputs:diffuseColor
|
||||
float inputs:displacement = 0.1
|
||||
float inputs:ior
|
||||
float inputs:metallic
|
||||
normal3f inputs:normal
|
||||
float inputs:opacity
|
||||
float inputs:opacityThreshold
|
||||
float inputs:roughness
|
||||
color3f inputs:specularColor
|
||||
int inputs:useSpecularWorkflow = 0
|
||||
token outputs:displacement
|
||||
token outputs:surface
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
def Sphere "Diffuse"
|
||||
{
|
||||
rel material:binding = </World/Looks/Diffuse>
|
||||
}
|
||||
|
||||
def Sphere "SpecularRoughness"
|
||||
{
|
||||
rel material:binding = </World/Looks/SpecularRoughness>
|
||||
}
|
||||
|
||||
def Sphere "Metallic"
|
||||
{
|
||||
rel material:binding = </World/Looks/Metallic>
|
||||
}
|
||||
|
||||
def Sphere "Clearcoat"
|
||||
{
|
||||
rel material:binding = </World/Looks/Clearcoat>
|
||||
}
|
||||
|
||||
def Sphere "ClearcoatRougness"
|
||||
{
|
||||
rel material:binding = </World/Looks/ClearcoatRougness>
|
||||
}
|
||||
|
||||
def Sphere "Opacity"
|
||||
{
|
||||
rel material:binding = </World/Looks/Opacity>
|
||||
}
|
||||
|
||||
def Sphere "OpacityThreshold"
|
||||
{
|
||||
rel material:binding = </World/Looks/OpacityThreshold>
|
||||
}
|
||||
|
||||
def Sphere "Ior"
|
||||
{
|
||||
rel material:binding = </World/Looks/Ior>
|
||||
}
|
||||
|
||||
def Sphere "Displacement"
|
||||
{
|
||||
rel material:binding = </World/Looks/Displacement>
|
||||
}
|
||||
}
|
||||
|
||||
23
tests/samples/golden/pointcloud.usda
Normal file
15
tests/samples/golden/pointcloud_GeomPoints.usda
Normal file
16
tests/samples/golden/pointcloud_GeomPoints_colors.usda
Normal file
22
tests/samples/golden/pointcloud_PointInstancer.usda
Normal file
16
tests/samples/golden/rocket_homogenized.usda
Normal file
146
tests/samples/golden/rocket_homogenized_materials.usda
Normal file
BIN
tests/samples/golden/roughness.png
Normal file
|
After Width: | Height: | Size: 594 B |
BIN
tests/samples/golden/specular.png
Normal file
|
After Width: | Height: | Size: 771 B |