mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2025-12-09 12:54:27 +08:00
uncap face limit
This commit is contained in:
parent
fa33319304
commit
9f59f92943
@ -31,8 +31,8 @@ def mesh_uv_wrap(mesh):
|
||||
mesh = mesh.dump(concatenate=True)
|
||||
|
||||
if len(mesh.faces) > 50000:
|
||||
raise ValueError("The mesh has more than 50,000 faces, which is not supported.")
|
||||
|
||||
#raise ValueError("The mesh has more than 50,000 faces, which is not supported.")
|
||||
print("UV wrap: The mesh has more than 50,000 faces, which is not recommended.")
|
||||
vmapping, indices, uvs = xatlas.parametrize(mesh.vertices, mesh.faces)
|
||||
|
||||
mesh.vertices = mesh.vertices[vmapping]
|
||||
|
||||
2
nodes.py
2
nodes.py
@ -475,7 +475,7 @@ class Hy3DPostprocessMesh:
|
||||
"remove_floaters": ("BOOLEAN", {"default": True}),
|
||||
"remove_degenerate_faces": ("BOOLEAN", {"default": True}),
|
||||
"reduce_faces": ("BOOLEAN", {"default": True}),
|
||||
"max_facenum": ("INT", {"default": 40000, "min": 1}),
|
||||
"max_facenum": ("INT", {"default": 40000, "min": 1, "max": 10000000, "step": 1}),
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user