mirror of
https://git.datalinker.icu/kijai/ComfyUI-Hunyuan3DWrapper.git
synced 2026-05-01 22:07:56 +08:00
Update nodes.py
This commit is contained in:
parent
c5b2127fd9
commit
7de9e2a2e7
3
nodes.py
3
nodes.py
@ -9,7 +9,7 @@ import json
|
|||||||
import trimesh as Trimesh
|
import trimesh as Trimesh
|
||||||
from tqdm import tqdm
|
from tqdm import tqdm
|
||||||
|
|
||||||
from .hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline, BptMesh, FaceReducer, FloaterRemover, DegenerateFaceRemover
|
from .hy3dgen.shapegen import Hunyuan3DDiTFlowMatchingPipeline, FaceReducer, FloaterRemover, DegenerateFaceRemover
|
||||||
from .hy3dgen.texgen.hunyuanpaint.unet.modules import UNet2DConditionModel, UNet2p5DConditionModel
|
from .hy3dgen.texgen.hunyuanpaint.unet.modules import UNet2DConditionModel, UNet2p5DConditionModel
|
||||||
from .hy3dgen.texgen.hunyuanpaint.pipeline import HunyuanPaintPipeline
|
from .hy3dgen.texgen.hunyuanpaint.pipeline import HunyuanPaintPipeline
|
||||||
|
|
||||||
@ -1292,6 +1292,7 @@ class Hy3DBPT:
|
|||||||
DESCRIPTION = "BPT the mesh using bpt: https://github.com/whaohan/bpt"
|
DESCRIPTION = "BPT the mesh using bpt: https://github.com/whaohan/bpt"
|
||||||
|
|
||||||
def bpt(self, trimesh, enable_bpt, with_normal, temperature, batch_size):
|
def bpt(self, trimesh, enable_bpt, with_normal, temperature, batch_size):
|
||||||
|
from .hy3dgen.shapegen import BptMesh
|
||||||
new_mesh = trimesh.copy()
|
new_mesh = trimesh.copy()
|
||||||
|
|
||||||
if enable_bpt:
|
if enable_bpt:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user