├── README.md ├── __init__.py ├── infer ├── __init__.py ├── gif_render.py ├── image_to_views.py ├── rembg.py ├── text_to_image.py ├── utils.py └── views_to_mesh.py ├── install.py ├── mvd ├── __init__.py ├── hunyuan3d_mvd_lite_pipeline.py ├── hunyuan3d_mvd_std_pipeline.py └── utils.py ├── node.py ├── svrm ├── __init__.py ├── configs │ ├── 2024-10-24T22-36-18-project.yaml │ └── svrm.yaml ├── ldm │ ├── __init__.py │ ├── models │ │ └── svrm.py │ ├── modules │ │ ├── attention.py │ │ ├── encoders │ │ │ ├── __init__.py │ │ │ ├── dinov2 │ │ │ │ ├── __init__.py │ │ │ │ ├── hub │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── backbones.py │ │ │ │ │ └── utils.py │ │ │ │ ├── layers │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── attention.py │ │ │ │ │ ├── block.py │ │ │ │ │ ├── dino_head.py │ │ │ │ │ ├── drop_path.py │ │ │ │ │ ├── layer_scale.py │ │ │ │ │ ├── mlp.py │ │ │ │ │ ├── patch_embed.py │ │ │ │ │ └── swiglu_ffn.py │ │ │ │ └── models │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── vision_transformer.py │ │ │ └── dinov2_mod.py │ │ ├── rendering_neus │ │ │ ├── __init__.py │ │ │ ├── mesh.py │ │ │ ├── rasterize.py │ │ │ ├── synthesizer.py │ │ │ ├── third_party │ │ │ │ ├── __init__.py │ │ │ │ ├── custom_ops.py │ │ │ │ ├── dnnlib │ │ │ │ │ ├── __init__.py │ │ │ │ │ └── util.py │ │ │ │ ├── misc.py │ │ │ │ ├── ops │ │ │ │ │ ├── __init__.py │ │ │ │ │ ├── bias_act.cpp │ │ │ │ │ ├── bias_act.cu │ │ │ │ │ ├── bias_act.h │ │ │ │ │ ├── bias_act.py │ │ │ │ │ ├── grid_sample.cpp │ │ │ │ │ ├── grid_sample.cu │ │ │ │ │ ├── grid_sample.py │ │ │ │ │ ├── grid_sample_gradfix.py │ │ │ │ │ ├── gridsample_cuda.cpp │ │ │ │ │ └── gridsample_cuda.cu │ │ │ │ └── pytorch_ssim │ │ │ │ │ └── __init__.py │ │ │ └── utils │ │ │ │ ├── __init__.py │ │ │ │ ├── math_utils.py │ │ │ │ ├── ray_marcher.py │ │ │ │ ├── ray_sampler.py │ │ │ │ └── renderer.py │ │ ├── translator │ │ │ ├── __init__.py │ │ │ └── img_to_triplane.py │ │ └── x_transformer.py │ ├── util.py │ ├── utils │ │ ├── ops.py │ │ └── typing.py │ └── vis_util.py ├── predictor.py └── utils │ ├── camera_utils.py │ ├── img_utils.py │ └── log_utils.py └── workflow ├── hunyuan3D-workflow.json └── hunyuan3D_workflow.png /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/__init__.py -------------------------------------------------------------------------------- /infer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/__init__.py -------------------------------------------------------------------------------- /infer/gif_render.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/gif_render.py -------------------------------------------------------------------------------- /infer/image_to_views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/image_to_views.py -------------------------------------------------------------------------------- /infer/rembg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/rembg.py -------------------------------------------------------------------------------- /infer/text_to_image.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/text_to_image.py -------------------------------------------------------------------------------- /infer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/utils.py -------------------------------------------------------------------------------- /infer/views_to_mesh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/infer/views_to_mesh.py -------------------------------------------------------------------------------- /install.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/install.py -------------------------------------------------------------------------------- /mvd/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mvd/hunyuan3d_mvd_lite_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/mvd/hunyuan3d_mvd_lite_pipeline.py -------------------------------------------------------------------------------- /mvd/hunyuan3d_mvd_std_pipeline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/mvd/hunyuan3d_mvd_std_pipeline.py -------------------------------------------------------------------------------- /mvd/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/mvd/utils.py -------------------------------------------------------------------------------- /node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/node.py -------------------------------------------------------------------------------- /svrm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/configs/2024-10-24T22-36-18-project.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/configs/2024-10-24T22-36-18-project.yaml -------------------------------------------------------------------------------- /svrm/configs/svrm.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/configs/svrm.yaml -------------------------------------------------------------------------------- /svrm/ldm/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/ldm/models/svrm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/models/svrm.py -------------------------------------------------------------------------------- /svrm/ldm/modules/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/attention.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/hub/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/hub/backbones.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/hub/backbones.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/hub/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/hub/utils.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/attention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/attention.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/block.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/block.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/dino_head.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/dino_head.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/drop_path.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/drop_path.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/layer_scale.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/layer_scale.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/mlp.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/patch_embed.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/layers/swiglu_ffn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/layers/swiglu_ffn.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/models/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/models/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2/models/vision_transformer.py -------------------------------------------------------------------------------- /svrm/ldm/modules/encoders/dinov2_mod.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/encoders/dinov2_mod.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/mesh.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/mesh.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/rasterize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/rasterize.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/synthesizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/synthesizer.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/custom_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/custom_ops.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/dnnlib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/dnnlib/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/dnnlib/util.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/misc.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.cpp -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.cu -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.h -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/bias_act.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.cpp -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.cu -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/grid_sample_gradfix.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/gridsample_cuda.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/gridsample_cuda.cpp -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/ops/gridsample_cuda.cu: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/ops/gridsample_cuda.cu -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/third_party/pytorch_ssim/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/utils/__init__.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/utils/math_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/utils/math_utils.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/utils/ray_marcher.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/utils/ray_marcher.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/utils/ray_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/utils/ray_sampler.py -------------------------------------------------------------------------------- /svrm/ldm/modules/rendering_neus/utils/renderer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/rendering_neus/utils/renderer.py -------------------------------------------------------------------------------- /svrm/ldm/modules/translator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /svrm/ldm/modules/translator/img_to_triplane.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/translator/img_to_triplane.py -------------------------------------------------------------------------------- /svrm/ldm/modules/x_transformer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/modules/x_transformer.py -------------------------------------------------------------------------------- /svrm/ldm/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/util.py -------------------------------------------------------------------------------- /svrm/ldm/utils/ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/utils/ops.py -------------------------------------------------------------------------------- /svrm/ldm/utils/typing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/utils/typing.py -------------------------------------------------------------------------------- /svrm/ldm/vis_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/ldm/vis_util.py -------------------------------------------------------------------------------- /svrm/predictor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/predictor.py -------------------------------------------------------------------------------- /svrm/utils/camera_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/utils/camera_utils.py -------------------------------------------------------------------------------- /svrm/utils/img_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/utils/img_utils.py -------------------------------------------------------------------------------- /svrm/utils/log_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/svrm/utils/log_utils.py -------------------------------------------------------------------------------- /workflow/hunyuan3D-workflow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/workflow/hunyuan3D-workflow.json -------------------------------------------------------------------------------- /workflow/hunyuan3D_workflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TTPlanetPig/Comfyui_Hunyuan3D/HEAD/workflow/hunyuan3D_workflow.png --------------------------------------------------------------------------------