mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-08-26 02:42:36 +08:00
Add Trellis 2 Support (CORE-7) (#12183)
This commit is contained in:
committed by
GitHub
parent
4259a0c7c3
commit
7547897b6f
@@ -7,9 +7,10 @@ import torch
|
||||
|
||||
|
||||
class VOXEL:
|
||||
def __init__(self, data: torch.Tensor):
|
||||
def __init__(self, data: torch.Tensor, voxel_colors=None, resolution=None):
|
||||
self.data = data
|
||||
|
||||
self.voxel_colors = voxel_colors
|
||||
self.resolution = resolution # each 3d model has its own resolution
|
||||
|
||||
class MESH:
|
||||
def __init__(self, vertices: torch.Tensor, faces: torch.Tensor,
|
||||
|
||||
Reference in New Issue
Block a user