mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-05-26 21:07:56 +08:00
Add files via upload
This commit is contained in:
parent
01efdbfd48
commit
f750c68888
@ -164,7 +164,7 @@ def bpt_remesh(self, mesh: trimesh.Trimesh, verbose: bool = False, with_normal:
|
|||||||
from .bpt.model.serializaiton import BPT_deserialize
|
from .bpt.model.serializaiton import BPT_deserialize
|
||||||
from .bpt.utils import sample_pc, joint_filter
|
from .bpt.utils import sample_pc, joint_filter
|
||||||
|
|
||||||
pc_normal = sample_pc(mesh, with_normal=with_normal)
|
pc_normal = sample_pc(mesh, pc_num=8192, with_normal=with_normal)
|
||||||
|
|
||||||
pc_normal = pc_normal[None, :, :] if len(pc_normal.shape) == 2 else pc_normal
|
pc_normal = pc_normal[None, :, :] if len(pc_normal.shape) == 2 else pc_normal
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user