{ "id": "0cc31dc7-54c1-494d-b20e-d9f4aabc66bc", "revision": 0, "last_node_id": 290, "last_link_id": 574, "nodes": [ { "id": 6, "type": "Trellis2LoadImageWithTransparency", "pos": [ -1898.8408811895958, 425.13094800380867 ], "size": [ 631.9393495485403, 765.9737728955563 ], "flags": {}, "order": 0, "mode": 0, "inputs": [], "outputs": [ { "name": "image", "type": "IMAGE", "links": null }, { "name": "mask", "type": "MASK", "links": null }, { "name": "image_with_alpha", "type": "IMAGE", "links": [ 344 ] } ], "title": "Image with Transparency", "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "e7f9b30df7a09bcedf1c955e176754c73f983254", "Node name for S&R": "Trellis2LoadImageWithTransparency", "widget_ue_connectable": {} }, "widgets_values": [ "DwarfSorcerer.png", "image" ] }, { "id": 209, "type": "PrimitiveInt", "pos": [ -1830.8929517313256, 263.9724281177611 ], "size": [ 270, 82 ], "flags": {}, "order": 1, "mode": 0, "inputs": [], "outputs": [ { "name": "INT", "type": "INT", "links": [ 454, 487 ] } ], "title": "Target Face Number", "properties": { "cnr_id": "comfy-core", "ver": "0.16.4", "Node name for S&R": "PrimitiveInt" }, "widgets_values": [ 1000000, "fixed" ] }, { "id": 272, "type": "Trellis2SparseGenerator", "pos": [ -874.3328359531824, 351.98478429322415 ], "size": [ 395.65625, 526 ], "flags": {}, "order": 6, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 520 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 521 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 522 }, { "name": "moge_camera_config", "shape": 7, "type": "MOGE_CAM_CONFIG", "link": 523 } ], "outputs": [ { "name": "coords", "type": "COORDS", "links": [ 524 ] }, { "name": "sparse_structure_resolution", "type": "INT", "links": [ 535 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 525 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "86d13d9eac4a2bd4395954c7184d3aa4fa81a9d8", "Node name for S&R": "Trellis2SparseGenerator" }, "widgets_values": [ 12345, "fixed", 25, 7.5, 0.01, 5, "heun", 32, 0.1, 1, true, 1, false, 0.65, 2, "flood_fill", 0.92, true ] }, { "id": 215, "type": "Trellis2ShapeGenerator", "pos": [ -841.1718308975657, 945.0367148651351 ], "size": [ 335.24609375, 402 ], "flags": {}, "order": 7, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 525 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 526 }, { "name": "coords", "type": "COORDS", "link": 524 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 515 }, { "name": "moge_camera_config", "shape": 7, "type": "MOGE_CAM_CONFIG", "link": 516 } ], "outputs": [ { "name": "shape_slat", "type": "SHAPE_SLAT", "links": [ 531 ] }, { "name": "resolution", "type": "INT", "links": [ 534 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 529 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2ShapeGenerator" }, "widgets_values": [ 512, 25, 7.5, 0.01, 3, "euler", 0.1, 1, false, 0.65, 2, 0.92 ] }, { "id": 39, "type": "Trellis2LoadModel", "pos": [ -1230.97479805832, 117.1260927127055 ], "size": [ 303.21076796905936, 226 ], "flags": { "collapsed": false }, "order": 2, "mode": 0, "inputs": [], "outputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 395 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "c5d66aa46bf1bbf903fd4fe9ff086ac774bb7e03", "Node name for S&R": "Trellis2LoadModel", "widget_ue_connectable": {} }, "widgets_values": [ "TencentARC/Pixal3D-T", "flash_attn", "cuda", true, false, "flex_gemm", "flash_attn", false ] }, { "id": 274, "type": "Trellis2ShapeCascadeGenerator", "pos": [ -420.008261589595, 174.50398195526927 ], "size": [ 335.9791015625, 474 ], "flags": {}, "order": 8, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 529 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 530 }, { "name": "shape_slat", "type": "SHAPE_SLAT", "link": 531 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 532 }, { "name": "moge_camera_config", "shape": 7, "type": "MOGE_CAM_CONFIG", "link": 533 }, { "name": "from_resolution", "type": "INT", "widget": { "name": "from_resolution" }, "link": 534 }, { "name": "sparse_structure_resolution", "type": "INT", "widget": { "name": "sparse_structure_resolution" }, "link": 535 } ], "outputs": [ { "name": "shape_slat", "type": "SHAPE_SLAT", "links": [ 536, 567 ] }, { "name": "resolution", "type": "INT", "links": [ 538 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 565 ] }, { "name": "num_tokens", "type": "INT", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "86d13d9eac4a2bd4395954c7184d3aa4fa81a9d8", "Node name for S&R": "Trellis2ShapeCascadeGenerator" }, "widgets_values": [ 0, 1024, 32, 999999, 25, 7.5, 0.01, 3, "heun", 0.1, 1, false, 0.65, 2, 0.92 ] }, { "id": 194, "type": "Trellis2PreProcessImage", "pos": [ -1218.495705914309, 437.03938555658084 ], "size": [ 281.7837890625, 106 ], "flags": {}, "order": 4, "mode": 0, "inputs": [ { "name": "image", "type": "IMAGE", "link": 344 } ], "outputs": [ { "name": "image", "type": "IMAGE", "links": [ 394, 515, 522, 532, 568 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "7ce26deae425d114f3deb78e802d6196e5987a4a", "Node name for S&R": "Trellis2PreProcessImage" }, "widgets_values": [ 5, false, 1024 ] }, { "id": 213, "type": "Trellis2ImageCondGenerator", "pos": [ -873.6756939901774, 155.23142744547695 ], "size": [ 308.0748046875, 118 ], "flags": {}, "order": 5, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 395 }, { "name": "image", "type": "IMAGE", "link": 394 } ], "outputs": [ { "name": "cond_512", "type": "IMAGE_COND", "links": [ 521, 526 ] }, { "name": "cond_1024", "type": "IMAGE_COND", "links": [ 530, 566 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 520 ] }, { "name": "moge_camera_config", "type": "MOGE_CAM_CONFIG", "links": [ 516, 523, 533, 569 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2ImageCondGenerator" }, "widgets_values": [ 1 ] }, { "id": 289, "type": "Trellis2TexSlatGenerator", "pos": [ -410.72426621796166, 724.3885535781652 ], "size": [ 340.390625, 402 ], "flags": {}, "order": 9, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 565 }, { "name": "image_cond", "type": "IMAGE_COND", "link": 566 }, { "name": "shape_slat", "type": "SHAPE_SLAT", "link": 567 }, { "name": "image", "shape": 7, "type": "IMAGE", "link": 568 }, { "name": "moge_camera_config", "shape": 7, "type": "MOGE_CAM_CONFIG", "link": 569 } ], "outputs": [ { "name": "texture_slat", "type": "TEXTURE_SLAT", "links": [ 570 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [ 571 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "86d13d9eac4a2bd4395954c7184d3aa4fa81a9d8", "Node name for S&R": "Trellis2TexSlatGenerator" }, "widgets_values": [ 1024, 25, 7.5, 0, 3, "euler", 0, 0.9, false, 0.65, 2, 0.92 ] }, { "id": 193, "type": "Trellis2FillHolesWithCuMesh", "pos": [ 184.40535063876197, 149.86491249810132 ], "size": [ 312.4361328125, 58 ], "flags": {}, "order": 11, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 397 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 356 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "dc66f263e832b103a81a021bf6cd53eec8ff28af", "Node name for S&R": "Trellis2FillHolesWithCuMesh" }, "widgets_values": [ 1 ] }, { "id": 161, "type": "Trellis2ReconstructMeshWithQuad", "pos": [ 189.04847750020792, 267.26177075303883 ], "size": [ 331.5878996659427, 142.11360851901668 ], "flags": {}, "order": 12, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 356 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 398 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "d4d66cfc9f1ce5b1c3b9a2e504ee4b24ffad48a5", "Node name for S&R": "Trellis2ReconstructMeshWithQuad", "widget_ue_connectable": {} }, "widgets_values": [ 1, 1024, true, true ] }, { "id": 218, "type": "Trellis2SimplifyMesh", "pos": [ 219.30428174016674, 473.8612441499314 ], "size": [ 270, 82 ], "flags": {}, "order": 13, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 398 }, { "name": "target_face_num", "type": "INT", "widget": { "name": "target_face_num" }, "link": 454 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 463 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2SimplifyMesh" }, "widgets_values": [ 500000, "Cumesh" ] }, { "id": 250, "type": "Trellis2FillHolesNicelyWithMeshlib", "pos": [ 198.6610452102749, 613.5101575092269 ], "size": [ 328.5106969603829, 46 ], "flags": {}, "order": 14, "mode": 4, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 463 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 488 ] }, { "name": "holes_filled", "type": "INT", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "9d1f80ec9b4d5c4b966e7595ee99e01a1d0c9f19", "Node name for S&R": "Trellis2FillHolesNicelyWithMeshlib" }, "widgets_values": [] }, { "id": 203, "type": "Trellis2ExportMesh", "pos": [ 170.5575082791613, 1283.095561654488 ], "size": [ 270, 102 ], "flags": {}, "order": 17, "mode": 0, "inputs": [ { "name": "trimesh", "type": "TRIMESH", "link": 574 }, { "name": "filename_prefix", "type": "STRING", "widget": { "name": "filename_prefix" }, "link": 402 } ], "outputs": [ { "name": "glb_path", "type": "STRING", "links": [ 429 ] }, { "name": "relative_path", "type": "STRING", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2ExportMesh" }, "widgets_values": [ "LaserPistol", "glb" ] }, { "id": 257, "type": "Trellis2SimplifyMesh", "pos": [ 222.22584571304807, 705.7312451177193 ], "size": [ 270, 82 ], "flags": {}, "order": 15, "mode": 4, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 488 }, { "name": "target_face_num", "type": "INT", "widget": { "name": "target_face_num" }, "link": 487 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 572 ] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2SimplifyMesh" }, "widgets_values": [ 500000, "Cumesh" ] }, { "id": 217, "type": "Trellis2DecodeLatents", "pos": [ -48.8569261943387, 548.0253905072441 ], "size": [ 210, 122 ], "flags": {}, "order": 10, "mode": 0, "inputs": [ { "name": "pipeline", "type": "TRELLIS2PIPELINE", "link": 571 }, { "name": "shape_slat", "type": "SHAPE_SLAT", "link": 536 }, { "name": "texture_slat", "shape": 7, "type": "TEXTURE_SLAT", "link": 570 }, { "name": "resolution", "type": "INT", "widget": { "name": "resolution" }, "link": 538 } ], "outputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "links": [ 397 ] }, { "name": "bvh", "type": "BVH", "links": [ 573 ] }, { "name": "pipeline", "type": "TRELLIS2PIPELINE", "links": [] } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "ef2286b47ce0ef0e681dffe0209aadd96de50f72", "Node name for S&R": "Trellis2DecodeLatents" }, "widgets_values": [ 0, true ] }, { "id": 290, "type": "Trellis2UnWrapAndRasterizer", "pos": [ 104.1595211548057, 859.3392446479718 ], "size": [ 419.15234375, 338 ], "flags": {}, "order": 16, "mode": 0, "inputs": [ { "name": "mesh", "type": "MESHWITHVOXEL", "link": 572 }, { "name": "bvh", "type": "BVH", "link": 573 } ], "outputs": [ { "name": "trimesh", "type": "TRIMESH", "links": [ 574 ] }, { "name": "base_color_texture", "type": "IMAGE", "links": null }, { "name": "metallic_roughness_texture", "type": "IMAGE", "links": null } ], "properties": { "aux_id": "visualbruno/ComfyUI-Trellis2", "ver": "86d13d9eac4a2bd4395954c7184d3aa4fa81a9d8", "Node name for S&R": "Trellis2UnWrapAndRasterizer" }, "widgets_values": [ 60, 0, 1, 1, 2048, "OPAQUE", false, false, false, "telea", "None" ] }, { "id": 232, "type": "Preview3D", "pos": [ 584.4700506848733, 118.27654774792936 ], "size": [ 1197.5811272300746, 1196.1310737028766 ], "flags": {}, "order": 18, "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": 429 } ], "outputs": [], "properties": { "cnr_id": "comfy-core", "ver": "0.16.4", "Node name for S&R": "Preview3D", "Last Time Model File": "C:/Git/ComfyUI/output/Pixal3D_Textured_00001_.glb", "Resource Folder": "Git/ComfyUI/output", "Scene Config": { "showGrid": true, "backgroundColor": "#282828", "backgroundImage": "", "backgroundRenderMode": "tiled" }, "Camera Config": { "cameraType": "perspective", "fov": 35, "state": { "position": { "x": 0.2051689293676939, "y": 4.275591363360545, "z": 9.50787749809354 }, "target": { "x": 0, "y": 2.5, "z": 0 }, "zoom": 1, "cameraType": "perspective" } }, "Light Config": { "intensity": 3 }, "Model Config": { "upDirection": "original", "materialMode": "original", "showSkeleton": false } }, "widgets_values": [ "C:/Git/ComfyUI/output/Pixal3D_Textured_00001_.glb", "" ] }, { "id": 219, "type": "PrimitiveString", "pos": [ -1830.5311181322465, 133.64378105828288 ], "size": [ 270, 58 ], "flags": {}, "order": 3, "mode": 0, "inputs": [], "outputs": [ { "name": "STRING", "type": "STRING", "links": [ 402 ] } ], "title": "Name", "properties": { "cnr_id": "comfy-core", "ver": "0.16.4", "Node name for S&R": "PrimitiveString" }, "widgets_values": [ "Pixal3D_Textured" ] } ], "links": [ [ 344, 6, 2, 194, 0, "IMAGE" ], [ 356, 193, 0, 161, 0, "MESHWITHVOXEL" ], [ 394, 194, 0, 213, 1, "IMAGE" ], [ 395, 39, 0, 213, 0, "TRELLIS2PIPELINE" ], [ 397, 217, 0, 193, 0, "MESHWITHVOXEL" ], [ 398, 161, 0, 218, 0, "MESHWITHVOXEL" ], [ 402, 219, 0, 203, 1, "STRING" ], [ 429, 203, 0, 232, 2, "STRING" ], [ 454, 209, 0, 218, 1, "INT" ], [ 463, 218, 0, 250, 0, "MESHWITHVOXEL" ], [ 487, 209, 0, 257, 1, "INT" ], [ 488, 250, 0, 257, 0, "MESHWITHVOXEL" ], [ 515, 194, 0, 215, 3, "IMAGE" ], [ 516, 213, 3, 215, 4, "MOGE_CAM_CONFIG" ], [ 520, 213, 2, 272, 0, "TRELLIS2PIPELINE" ], [ 521, 213, 0, 272, 1, "IMAGE_COND" ], [ 522, 194, 0, 272, 2, "IMAGE" ], [ 523, 213, 3, 272, 3, "MOGE_CAM_CONFIG" ], [ 524, 272, 0, 215, 2, "COORDS" ], [ 525, 272, 2, 215, 0, "TRELLIS2PIPELINE" ], [ 526, 213, 0, 215, 1, "IMAGE_COND" ], [ 529, 215, 2, 274, 0, "TRELLIS2PIPELINE" ], [ 530, 213, 1, 274, 1, "IMAGE_COND" ], [ 531, 215, 0, 274, 2, "SHAPE_SLAT" ], [ 532, 194, 0, 274, 3, "IMAGE" ], [ 533, 213, 3, 274, 4, "MOGE_CAM_CONFIG" ], [ 534, 215, 1, 274, 5, "INT" ], [ 535, 272, 1, 274, 6, "INT" ], [ 536, 274, 0, 217, 1, "SHAPE_SLAT" ], [ 538, 274, 1, 217, 3, "INT" ], [ 565, 274, 2, 289, 0, "TRELLIS2PIPELINE" ], [ 566, 213, 1, 289, 1, "IMAGE_COND" ], [ 567, 274, 0, 289, 2, "SHAPE_SLAT" ], [ 568, 194, 0, 289, 3, "IMAGE" ], [ 569, 213, 3, 289, 4, "MOGE_CAM_CONFIG" ], [ 570, 289, 0, 217, 2, "TEXTURE_SLAT" ], [ 571, 289, 1, 217, 0, "TRELLIS2PIPELINE" ], [ 572, 257, 0, 290, 0, "MESHWITHVOXEL" ], [ 573, 217, 1, 290, 1, "BVH" ], [ 574, 290, 0, 203, 0, "TRIMESH" ] ], "groups": [ { "id": 2, "title": "Configuration", "bounding": [ -1908.8408811895958, 51.87071308817088, 651.9393495485403, 1149.234007811194 ], "color": "#3f789e", "flags": {} }, { "id": 3, "title": "Generation", "bounding": [ -1240.97479805832, 43.52609271270552, 1788.199900924072, 1349.2198429421912 ], "color": "#3f789e", "flags": {} } ], "config": {}, "extra": { "workflowRendererVersion": "LG", "ue_links": [], "ds": { "scale": 0.4718841099024524, "offset": [ 1731.2302331480612, 289.8930889868392 ] }, "links_added_by_ue": [], "frontendVersion": "1.43.18", "VHS_latentpreview": false, "VHS_latentpreviewrate": 0, "VHS_MetadataImage": true, "VHS_KeepIntermediate": true }, "version": 0.4 }