807502278 / ComfyUI-3D-MeshTool

A simple 3D model processing tool within ComfyUI
MIT License
11 stars 2 forks source link

Paid collab opportunity: Enhancing custom nodes functionality with your expertise #3

Open Ma0013 opened 1 month ago

Ma0013 commented 1 month ago

Hi 807502278, I came across your work on the ComfyUI-3D-MeshTool and was intrigued by its capabilities. Particularly in UV unwrapping and mesh processing. Although I haven’t been able to test the tool directly yet (Import Failed error on Runpod type of nightmares), the functionality you’ve described seems highly relevant to a project I’m working on.

I’m looking to integrate more of Paint3D’s functionality into ComfyUI nodes, with a particular focus on ensuring that original UV coordinates are fully utilized in the nodes.

Given your experience in mesh tools and UV processing, I thought you could be somehow a bit interested in collaborating on this project.

If you are interested and available for a paid contract, I would love to discuss the details further.

Thank you for considering this request :))

pd. I apologize for reaching out through an issue on another project, but I couldn’t find another way to contact you directly.

Best regards,

807502278 commented 4 weeks ago

Hello, I'm glad to hear from you.  I probably understand what you mean: Generate diffuse textures in Paint3D using the UVs that have already been decomposed by the model, right?  I'll see if I can do it. If it's simple, I'll find time to update it. If it is very complicated, we can consider signing a contract.  Also, is your project urgent?

Ma0013 commented 4 weeks ago

Hi! I really appreciate your reply.

This project isn't extremely urgent, but I would like to make some progress in one or two weeks if possible. Does that timeframe sound urgent to you? That would be ideal on my side, but of course, I understand if you have other commitments. How is your availability looking?

Generate diffuse textures in Paint3D using the UVs that have already been decomposed by the model, right? Exactly.

What I've tried: I've been working with ComfyUI-Paint3D-Nodes, a custom node pack based on Paint3D. But I’ve run into some issues I can explain below, in case it would be helpful. (There must be other ways to achieve this beyond just using ComfyUI-Paint3D-Nodes).

ComfyUI-Paint3D-Nodes Issue: The current Paint3D-Nodes example workflow is not using the original texture coordinates of the 3D models. Instead is auto-generating a new, more fragmented, UV map. The nodes are great nonetheless. With simpler 3d models the results are super nice.

Paint3D on the other hand is intended to use the original UV map by default when present. If these are absent, an open-source UV-Atlas tool is used to handle the UV unwrapping. This functionality doesn't seem to be implemented in Paint3D-Nodes yet and it only uses auto generated UVs. This makes texture seams more noticeable and lowers the quality of the final output.

Apologies for the long explanation, those are the observations I've been able to make so far. I sincerely appreciate you taking the time to go over this request. Please let me know what you think. Thanks again :)

807502278 commented 3 weeks ago

Sorry for replying only now. I was very busy last week and this week. However, I will have a very long holiday this week. When I have time, I will see if I can modify the code of Paint3D-Nodes.

Ma0013 commented 1 week ago

No worries about the delay! I’ve been caught up with some urgent family matters myself, so I’ve been busy too. I hope you’ve had a chance to enjoy your week off and recharge.

Did you manage to find any time to tinker with Paint3D? No rush at all if you didn’t—holidays are for rest, after all. Whenever you get the chance, I’d love to hear what you discover :) cheers

807502278 commented 1 week ago

Hello. I took a look at the Paint3D code today. When the model itself has UVs, it will not decompose the UVs (as shown in the figure). image

Moreover, I tested and found that the model's UVs have not been changed. Moreover. image

807502278 commented 1 week ago

In addition, it should be noted that OBJ only supports one UV channel. If the UV is not in channel 1, some 3D software will not export the UV when exporting OBJ.

If you need to develop an entire 3D scene and use Paint3D to generate textures in batches, we can cooperate.