Skip to content

Commit 4413ab3

Browse files
committed
feat: opt code
1 parent 3505273 commit 4413ab3

File tree

5 files changed

+233
-176
lines changed

5 files changed

+233
-176
lines changed

e2e/config.ts

+108-108
Original file line numberDiff line numberDiff line change
@@ -60,113 +60,113 @@ export const E2E_CONFIG = {
6060
caseFileName: "animator-stateMachine",
6161
threshold: 0.1
6262
}
63-
},
64-
GLTF: {
65-
meshopt: {
66-
category: "GLTF",
67-
caseFileName: "gltf-meshopt",
68-
threshold: 0.3
69-
},
70-
blendShape: {
71-
category: "GLTF",
72-
caseFileName: "gltf-blendshape",
73-
threshold: 0.3
74-
}
75-
},
76-
77-
Material: {
78-
blendMode: {
79-
category: "Material",
80-
caseFileName: "material-blendMode",
81-
threshold: 0.2
82-
},
83-
"blinn-phong": {
84-
category: "Material",
85-
caseFileName: "material-blinn-phong",
86-
threshold: 0.2
87-
},
88-
"pbr-clearcoat": {
89-
category: "Material",
90-
caseFileName: "material-pbr-clearcoat",
91-
threshold: 0.2
92-
},
93-
pbr: {
94-
category: "Material",
95-
caseFileName: "material-pbr",
96-
threshold: 0.2
97-
},
98-
shaderLab: {
99-
category: "Material",
100-
caseFileName: "material-shaderLab",
101-
threshold: 0.2
102-
},
103-
shaderReplacement: {
104-
category: "Material",
105-
caseFileName: "material-shaderReplacement",
106-
threshold: 0.2
107-
},
108-
unlit: {
109-
category: "Material",
110-
caseFileName: "material-unlit",
111-
threshold: 0.2
112-
}
113-
},
114-
Shadow: {
115-
basic: {
116-
category: "Shadow",
117-
caseFileName: "shadow-basic",
118-
threshold: 0.2
119-
}
120-
},
121-
Primitive: {
122-
capsule: {
123-
category: "Primitive",
124-
caseFileName: "primitive-capsule",
125-
threshold: 0.1
126-
},
127-
cone: {
128-
category: "Primitive",
129-
caseFileName: "primitive-cone",
130-
threshold: 0.1
131-
},
132-
cuboid: {
133-
category: "Primitive",
134-
caseFileName: "primitive-cuboid",
135-
threshold: 0.1
136-
},
137-
cylinder: {
138-
category: "Primitive",
139-
caseFileName: "primitive-cylinder",
140-
threshold: 0.1
141-
},
142-
plane: {
143-
category: "Primitive",
144-
caseFileName: "primitive-plane",
145-
threshold: 0.1
146-
},
147-
sphere: {
148-
category: "Primitive",
149-
caseFileName: "primitive-sphere",
150-
threshold: 0.1
151-
},
152-
torus: {
153-
category: "Primitive",
154-
caseFileName: "primitive-torus",
155-
threshold: 0.1
156-
}
157-
},
158-
Camera: {
159-
opaqueTexture: {
160-
category: "Camera",
161-
caseFileName: "camera-opaque-texture",
162-
threshold: 0.1
163-
}
164-
},
165-
Physics: {
166-
"physx-collision": {
167-
category: "Physics",
168-
caseFileName: "physx-collision",
169-
threshold: 0.1
170-
}
17163
}
64+
// GLTF: {
65+
// meshopt: {
66+
// category: "GLTF",
67+
// caseFileName: "gltf-meshopt",
68+
// threshold: 0.3
69+
// },
70+
// blendShape: {
71+
// category: "GLTF",
72+
// caseFileName: "gltf-blendshape",
73+
// threshold: 0.3
74+
// }
75+
// },
76+
77+
// Material: {
78+
// blendMode: {
79+
// category: "Material",
80+
// caseFileName: "material-blendMode",
81+
// threshold: 0.2
82+
// },
83+
// "blinn-phong": {
84+
// category: "Material",
85+
// caseFileName: "material-blinn-phong",
86+
// threshold: 0.2
87+
// },
88+
// "pbr-clearcoat": {
89+
// category: "Material",
90+
// caseFileName: "material-pbr-clearcoat",
91+
// threshold: 0.2
92+
// },
93+
// pbr: {
94+
// category: "Material",
95+
// caseFileName: "material-pbr",
96+
// threshold: 0.2
97+
// },
98+
// shaderLab: {
99+
// category: "Material",
100+
// caseFileName: "material-shaderLab",
101+
// threshold: 0.2
102+
// },
103+
// shaderReplacement: {
104+
// category: "Material",
105+
// caseFileName: "material-shaderReplacement",
106+
// threshold: 0.2
107+
// },
108+
// unlit: {
109+
// category: "Material",
110+
// caseFileName: "material-unlit",
111+
// threshold: 0.2
112+
// }
113+
// },
114+
// Shadow: {
115+
// basic: {
116+
// category: "Shadow",
117+
// caseFileName: "shadow-basic",
118+
// threshold: 0.2
119+
// }
120+
// },
121+
// Primitive: {
122+
// capsule: {
123+
// category: "Primitive",
124+
// caseFileName: "primitive-capsule",
125+
// threshold: 0.1
126+
// },
127+
// cone: {
128+
// category: "Primitive",
129+
// caseFileName: "primitive-cone",
130+
// threshold: 0.1
131+
// },
132+
// cuboid: {
133+
// category: "Primitive",
134+
// caseFileName: "primitive-cuboid",
135+
// threshold: 0.1
136+
// },
137+
// cylinder: {
138+
// category: "Primitive",
139+
// caseFileName: "primitive-cylinder",
140+
// threshold: 0.1
141+
// },
142+
// plane: {
143+
// category: "Primitive",
144+
// caseFileName: "primitive-plane",
145+
// threshold: 0.1
146+
// },
147+
// sphere: {
148+
// category: "Primitive",
149+
// caseFileName: "primitive-sphere",
150+
// threshold: 0.1
151+
// },
152+
// torus: {
153+
// category: "Primitive",
154+
// caseFileName: "primitive-torus",
155+
// threshold: 0.1
156+
// }
157+
// },
158+
// Camera: {
159+
// opaqueTexture: {
160+
// category: "Camera",
161+
// caseFileName: "camera-opaque-texture",
162+
// threshold: 0.1
163+
// }
164+
// },
165+
// Physics: {
166+
// "physx-collision": {
167+
// category: "Physics",
168+
// caseFileName: "physx-collision",
169+
// threshold: 0.1
170+
// }
171+
// }
172172
};
Loading

0 commit comments

Comments
 (0)