MrForExample / ComfyUI-3D-Pack

An extensive node suite that enables ComfyUI to process 3D inputs (Mesh & UV Texture, etc) using cutting edge algorithms (3DGS, NeRF, etc.)
MIT License
2.35k stars 235 forks source link

Preview 3DMesh node without having to save mesh data? #358

Open scottmudge opened 1 week ago

scottmudge commented 1 week ago

Excellent work on this node pack. However, this node is killing my SSD. Having to write 100-200 MB meshes to disk each time I want to preview it seems like a bad design limitation.

Is there any way to pipe the mesh data directly from memory to a Preview 3DMesh node without first having to write it to a file? Or if there's some limitation for requiring a file handle, perhaps it's possible to use a memory mapped file?

MrForExample commented 4 days ago

Hi @scottmudge, that part sure need improvement As a workaround, you can use the same mesh name to save so it will overwrite the exist mesh Have a good weekend 👍