-
Notifications
You must be signed in to change notification settings - Fork 344
[3d] better solution to support reading extra resource/texture #4209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to go w/nits!
After a period of testing, I found that in order to better implement this texture modification, we still need to support uploading models and their corresponding resources to different folders. Previously, all model files would be uploaded to the '3d' folder, and during the upload process, files with duplicate names would be automatically renamed. As for resource files, they needed to be manually copied to the 3d folder, which created a problem where files with the same names would be overwritten. Therefore, a better approach is to allow users to upload different models and their corresponding resources to different subfolders. This is the change implemented in this PR. 2025-06-20.04-56-34.mp4need BE change comfyanonymous/ComfyUI#8597 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
just find out a correct way to handle extra resource/texture reading for 3d model, rather than writting an override class.

Tested on:
OBJ+MTL
GLTF+Extra Texture

FBX+Extra Texture

Resolved #4101
┆Issue is synchronized with this Notion page by Unito