提交测试
3255
tests/samples/colored_sphere.obj
Normal file
13
tests/samples/colored_sphere.obj.mtl
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Wavefront material file
|
||||
# Converted by Meshlab Group
|
||||
#
|
||||
|
||||
newmtl material_0
|
||||
Ka 0.200000 0.200000 0.200000
|
||||
Kd 0.752941 0.752941 0.752941
|
||||
Ks 1.000000 1.000000 1.000000
|
||||
Tr 1.000000
|
||||
illum 2
|
||||
Ns 0.000000
|
||||
map_Kd sphere_mtl.png
|
||||
BIN
tests/samples/dibr/simple/close_face_dist_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_35_31_7000_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_35_31_70_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_type_35_31_7000_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_type_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_dist_type_35_31_70_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_idx_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_idx_35_31_7000_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_idx_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/close_face_idx_35_31_70_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/new_face_idx_35_31.pt
Normal file
BIN
tests/samples/dibr/simple/soft_mask_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/soft_mask_35_31_7000_0.2.pt
Normal file
BIN
tests/samples/dibr/simple/soft_mask_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/simple/soft_mask_35_31_70_0.2.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_35_31_7000_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_35_31_70_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_type_35_31_70_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_dist_type_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_idx_35_31_7000_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_idx_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_idx_35_31_70_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/close_face_idx_35_31_70_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/soft_mask_35_31_7000_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/soft_mask_35_31_7000_0.02.pt
Normal file
BIN
tests/samples/dibr/sphere/soft_mask_35_31_70_0.01.pt
Normal file
BIN
tests/samples/dibr/sphere/soft_mask_35_31_70_0.02.pt
Normal file
1
tests/samples/gltf/Avocado.bin
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/Avocado.bin
|
||||
1
tests/samples/gltf/Avocado.gltf
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/Avocado.gltf
|
||||
1
tests/samples/gltf/Avocado_baseColor.png
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/Avocado_baseColor.png
|
||||
1
tests/samples/gltf/Avocado_normal.png
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/Avocado_normal.png
|
||||
1
tests/samples/gltf/Avocado_roughnessMetallic.png
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/Avocado_roughnessMetallic.png
|
||||
1
tests/samples/gltf/README.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/gltf_avocado/README.md
|
||||
BIN
tests/samples/gltf/gt_faces.pt
Normal file
BIN
tests/samples/gltf/gt_uvs.pt
Normal file
BIN
tests/samples/gltf/gt_vertices.pt
Normal file
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 |
27
tests/samples/golden/voxelgrid.usda
Normal file
1
tests/samples/io/amsterdam.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/amsterdam.mtl
|
||||
1
tests/samples/io/amsterdam.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/amsterdam.obj
|
||||
1
tests/samples/io/amsterdam.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/amsterdam.usda
|
||||
1
tests/samples/io/armchair.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/armchair.mtl
|
||||
1
tests/samples/io/armchair.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/armchair.obj
|
||||
1
tests/samples/io/armchair.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/armchair.usdc
|
||||
1
tests/samples/io/fox.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/fox.mtl
|
||||
1
tests/samples/io/fox.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/fox.obj
|
||||
1
tests/samples/io/fox.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/fox.usdc
|
||||
1
tests/samples/io/ico_flat.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_flat.mtl
|
||||
1
tests/samples/io/ico_flat.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_flat.obj
|
||||
1
tests/samples/io/ico_flat.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_flat.usda
|
||||
1
tests/samples/io/ico_smooth.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_smooth.mtl
|
||||
1
tests/samples/io/ico_smooth.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_smooth.obj
|
||||
1
tests/samples/io/ico_smooth.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/ico_smooth.usda
|
||||
1
tests/samples/io/pizza.mtl
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/pizza.mtl
|
||||
1
tests/samples/io/pizza.obj
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/pizza.obj
|
||||
1
tests/samples/io/pizza.usd
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/pizza.usda
|
||||
1
tests/samples/io/textures
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../sample_data/meshes/textures
|
||||
BIN
tests/samples/mixed.usdc
Normal file
13
tests/samples/model.mtl
Normal file
@@ -0,0 +1,13 @@
|
||||
# Blender MTL File: 'None'
|
||||
# Material Count: 1
|
||||
|
||||
newmtl Material.002
|
||||
Ns 94.117647
|
||||
Ka 1.000000 1.000000 1.000000
|
||||
Kd 0.640000 0.640000 0.640000
|
||||
Ks 0.500000 0.500000 0.500000
|
||||
Ke 0.000000 0.000000 0.000000
|
||||
Ni 1.000000
|
||||
d 1.000000
|
||||
illum 2
|
||||
map_Kd tex.png
|
||||
2642
tests/samples/model.obj
Normal file
45
tests/samples/model.usd
Normal file
BIN
tests/samples/rasterization/depth_0.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
tests/samples/rasterization/depth_1.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |