{ "id": "6eb9772a-caf3-4cd2-a1f3-8e21b2fcb356", "revision": 0, "last_node_id": 19, "last_link_id": 36, "nodes": [ { "id": 2, "type": "Trellis2PreProcessImage", "pos": [ 860.5615222195892, 320.28189087243953 ], "size": [ 281.8229166666667, 106 ], "flags": {}, "order": 2, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 1 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 3, 7 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "15854282a73cf231b81d52ada22e652f414a078b", "Node name for S&R": "Trellis2PreProcessImage", "widget_ue_connectable": {} }, "widgets_values": [ 10, false, 1024 ] }, { "id": 1, "type": "Trellis2LoadModel", "pos": [ 818.1451367332586, -43.32986975063045 ], "size": [ 301.71875, 226 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 2, 6 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "c5d66aa46bf1bbf903fd4fe9ff086ac774bb7e03", "Node name for S&R": "Trellis2LoadModel", "widget_ue_connectable": {} }, "widgets_values": [ "microsoft/TRELLIS.2-4B", "flash_attn", "cuda", true, false, "flex_gemm", "flash_attn", true ] }, { "id": 6, "type": "Trellis2ImageCondGenerator", "pos": [ 1283.125269298477, -44.305212193867426 ], "size": [ 308.0748046875, 98 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 6 }, { "name": "image", "type": "IMAGE", "link": 7 } ], "outputs": [ { "name": "cond_512", "type": "IMAGE_COND", "links": null }, { "name": "cond_1024", "type": "IMAGE_COND", "links": [ 8, 17 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "a5242473f68fe91d5ef0b188f8658ae0da540237", "Node name for S&R": "Trellis2ImageCondGenerator" }, "widgets_values": [ 1 ] }, { "id": 4, "type": "Trellis2SparseGeneratorWithReconViaGen", "pos": [ 1257.1961548750526, 122.64558954014163 ], "size": [ 402.6431640625, 314 ], "flags": {}, "order": 3, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 2 }, { "name": "images", "type": "IMAGE", "link": 3 } ], "outputs": [ { "name": "coords", "type": "COORDS", "links": [ 32 ] }, { "name": "sparse_structure_resolution", "type": "INT", "links": [ 34 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 33 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "a5242473f68fe91d5ef0b188f8658ae0da540237", "Node name for S&R": "Trellis2SparseGeneratorWithReconViaGen" }, "widgets_values": [ 12345, "fixed", 25, 7.5, 0.01, 5, "euler", 32, 0.1, 1 ] }, { "id": 5, "type": "Trellis2ShapeGenerator", "pos": [ 1741.2710306870335, 171.79218707401608 ], "size": [ 335.24609375, 266 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 33 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 8 }, { "name": "coords", "type": "COORDS", "link": 32 } ], "outputs": [ { "name": "shape_slat", "type": "SHAPE_SLAT", "links": [ 18 ] }, { "name": "resolution", "type": "INT", "links": [ 19 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 16 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "a5242473f68fe91d5ef0b188f8658ae0da540237", "Node name for S&R": "Trellis2ShapeGenerator" }, "widgets_values": [ 512, 25, 7.5, 0.01, 3, "heun", 0.1, 1 ] }, { "id": 8, "type": "Trellis2ShapeCascadeGenerator", "pos": [ 2144.5184531017253, 89.08064130521795 ], "size": [ 335.9791015625, 338 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 16 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 17 }, { "name": "shape_slat", "type": "SHAPE_SLAT", "link": 18 }, { "name": "from_resolution", "type": "INT", "widget": { "name": "from_resolution" }, "link": 19 }, { "name": "sparse_structure_resolution", "type": "INT", "widget": { "name": "sparse_structure_resolution" }, "link": 34 } ], "outputs": [ { "name": "shape_slat", "type": "SHAPE_SLAT", "links": [ 11 ] }, { "name": "resolution", "type": "INT", "links": [ 12 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 10 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2ShapeCascadeGenerator" }, "widgets_values": [ 0, 1024, 0, 999999, 12, 7.5, 0.01, 3, "heun", 0.1, 1 ] }, { "id": 9, "type": "Trellis2DecodeLatents", "pos": [ 2550.5271755896983, 85.2758108930415 ], "size": [ 270, 122 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 10 }, { "name": "shape_slat", "type": "SHAPE_SLAT", "link": 11 }, { "name": "texture_slat", "shape": 7, "type": "TEXTURE_SLAT", "link": null }, { "name": "resolution", "type": "INT", "widget": { "name": "resolution" }, "link": 12 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 13 ] }, { "name": "bvh", "type": "BVH", "links": [] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2DecodeLatents" }, "widgets_values": [ 0, true ] }, { "id": 10, "type": "Trellis2FillHolesWithCuMesh", "pos": [ 2861.8616589898866, 88.51255217697037 ], "size": [ 312.4361328125, 58 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 13 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 14 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "dc66f263e832b103a81a021bf6cd53eec8ff28af", "Node name for S&R": "Trellis2FillHolesWithCuMesh" }, "widgets_values": [ 1 ] }, { "id": 11, "type": "Trellis2ReconstructMeshWithQuad", "pos": [ 2847.559963718577, 257.899269352995 ], "size": [ 331.5878996659427, 142.11360851901668 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 14 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 15 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "d4d66cfc9f1ce5b1c3b9a2e504ee4b24ffad48a5", "Node name for S&R": "Trellis2ReconstructMeshWithQuad", "widget_ue_connectable": {} }, "widgets_values": [ 1, 1024, true, true ] }, { "id": 12, "type": "Trellis2SimplifyMesh", "pos": [ 2886.0029502911757, 486.99086892176337 ], "size": [ 270, 82 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 15 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 35 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2SimplifyMesh" }, "widgets_values": [ 500000, "Cumesh" ] }, { "id": 13, "type": "Trellis2MeshWithVoxelToTrimesh", "pos": [ 2840.8121187391353, 764.4960805898208 ], "size": [ 349.41171875, 58 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 36 } ], "outputs": [ { "name": "trimesh", "type": "TRIMESH", "links": [ 21 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2MeshWithVoxelToTrimesh" }, "widgets_values": [ "90 degrees" ] }, { "id": 19, "type": "Trellis2FillHolesWithMeshlib", "pos": [ 2889.6686029432403, 637.1515820571416 ], "size": [ 249.284765625, 46 ], "flags": {}, "order": 11, "mode": 4, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 35 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 36 ] }, { "name": "holes_filled", "type": "INT", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "a5242473f68fe91d5ef0b188f8658ae0da540237", "Node name for S&R": "Trellis2FillHolesWithMeshlib" } }, { "id": 14, "type": "Trellis2ExportMesh", "pos": [ 2878.801482335511, 893.0809816705423 ], "size": [ 270, 102 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "trimesh", "type": "TRIMESH", "link": 21 } ], "outputs": [ { "name": "glb_path", "type": "STRING", "links": [ 22 ] }, { "name": "relative_path", "type": "STRING", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2ExportMesh" }, "widgets_values": [ "Ogre_VGGT_32", "glb" ] }, { "id": 15, "type": "Preview3D", "pos": [ 1271.3057615922355, 522.7384991788329 ], "size": [ 1051.7218022911484, 1141.158091689083 ], "flags": {}, "order": 14, "mode": 0, "inputs": [ { "name": "camera_info", "shape": 7, "type": "LOAD3D_CAMERA", "link": null }, { "name": "bg_image", "shape": 7, "type": "IMAGE", "link": null }, { "name": "model_file", "type": "STRING,FILE_3D_GLB,FILE_3D_GLTF,FILE_3D_FBX,FILE_3D_OBJ,FILE_3D_STL,FILE_3D_USDZ,FILE_3D", "widget": { "name": "model_file" }, "link": 22 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.18.1", "Node name for S&R": "Preview3D", "Camera Config": { "cameraType": "perspective", "fov": 75, "state": { "position": { "x": 1.0315283207512576, "y": 2.985009308965137, "z": 4.0662863439166825 }, "target": { "x": 0.20776096785142306, "y": 2.467924964322487, "z": -0.017876789746178047 }, "zoom": 1, "cameraType": "perspective" } }, "Last Time Model File": "C:/Git/ComfyUI/output/Ogre_VGGT_32_00001_.glb", "Resource Folder": "Git/ComfyUI/output", "Scene Config": { "showGrid": true, "backgroundColor": "#282828", "backgroundImage": "", "backgroundRenderMode": "tiled" }, "Light Config": { "intensity": 3 }, "Model Config": { "upDirection": "original", "materialMode": "normal", "showSkeleton": false } }, "widgets_values": [ "C:/Git/ComfyUI/output/Ogre_VGGT_32_00001_.glb", "" ] }, { "id": 3, "type": "Trellis2LoadImageWithTransparency", "pos": [ 207.10417104607322, 536.1883465110252 ], "size": [ 1025.7731703829552, 1112.7651147234092 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "image", "type": "IMAGE", "links": [] }, { "name": "mask", "type": "MASK", "links": [] }, { "name": "image_with_alpha", "type": "IMAGE", "links": [ 1 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "e7f9b30df7a09bcedf1c955e176754c73f983254", "Node name for S&R": "Trellis2LoadImageWithTransparency", "widget_ue_connectable": {} }, "widgets_values": [ "Image_2048_00106_.png", "image" ] } ], "links": [ [ 1, 3, 2, 2, 0, "IMAGE" ], [ 2, 1, 0, 4, 0, "TRELLIS2PIPELINE" ], [ 3, 2, 0, 4, 1, "IMAGE" ], [ 6, 1, 0, 6, 0, "TRELLIS2PIPELINE" ], [ 7, 2, 0, 6, 1, "IMAGE" ], [ 8, 6, 1, 5, 1, "IMAGE_COND" ], [ 10, 8, 2, 9, 0, "TRELLIS2PIPELINE" ], [ 11, 8, 0, 9, 1, "SHAPE_SLAT" ], [ 12, 8, 1, 9, 3, "INT" ], [ 13, 9, 0, 10, 0, "MESHWITHVOXEL" ], [ 14, 10, 0, 11, 0, "MESHWITHVOXEL" ], [ 15, 11, 0, 12, 0, "MESHWITHVOXEL" ], [ 16, 5, 2, 8, 0, "TRELLIS2PIPELINE" ], [ 17, 6, 1, 8, 1, "IMAGE_COND" ], [ 18, 5, 0, 8, 2, "SHAPE_SLAT" ], [ 19, 5, 1, 8, 3, "INT" ], [ 21, 13, 0, 14, 0, "TRIMESH" ], [ 22, 14, 0, 15, 2, "STRING" ], [ 32, 4, 0, 5, 2, "COORDS" ], [ 33, 4, 2, 5, 0, "TRELLIS2PIPELINE" ], [ 34, 4, 1, 8, 4, "INT" ], [ 35, 12, 0, 19, 0, "MESHWITHVOXEL" ], [ 36, 19, 0, 13, 0, "MESHWITHVOXEL" ] ], "groups": [], "config": {}, "extra": { "ds": { "scale": 0.5644739300537774, "offset": [ -319.70457827331774, 353.8321991591369 ] }, "frontendVersion": "1.42.8", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }