fix:mesh preprocess
Browse files
app.py
CHANGED
|
@@ -85,8 +85,8 @@ def generate_func(
|
|
| 85 |
geometry_mesh = out.mesh[0]
|
| 86 |
geometry_mesh.export(geometry_save_path)
|
| 87 |
|
| 88 |
-
geometry_mesh = remove_degenerate_face(
|
| 89 |
-
geometry_mesh = reduce_face(
|
| 90 |
textured_mesh = texture_model(input_image_path, geometry_mesh)
|
| 91 |
textured_save_path = f"{args.cache_dir}/{save_name}-textured.glb"
|
| 92 |
textured_mesh.export(textured_save_path)
|
|
|
|
| 85 |
geometry_mesh = out.mesh[0]
|
| 86 |
geometry_mesh.export(geometry_save_path)
|
| 87 |
|
| 88 |
+
geometry_mesh = remove_degenerate_face(geometry_mesh)
|
| 89 |
+
geometry_mesh = reduce_face(geometry_mesh)
|
| 90 |
textured_mesh = texture_model(input_image_path, geometry_mesh)
|
| 91 |
textured_save_path = f"{args.cache_dir}/{save_name}-textured.glb"
|
| 92 |
textured_mesh.export(textured_save_path)
|