Skip to content
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

Reducing the Number of Faces #63

Open
IQCrash opened this issue Jan 30, 2025 · 2 comments
Open

Reducing the Number of Faces #63

IQCrash opened this issue Jan 30, 2025 · 2 comments

Comments

@IQCrash
Copy link

IQCrash commented Jan 30, 2025

Hello everyone. I downloaded the Hunyuan3D-2-WinPortable version to run on Windows 10 with an RTX-4070. It works pretty well and most of the output is good. At least for me it works much better than TRELLIS.

However, I have one problem with Hunyuan3D-2, and that is the number of faces. When I import the .glb file into Blender, the number of faces is always 40,000, even if I use an image of a low poly object. This in turn makes the 3D model very large.

Is there a way to change some parameters to reduce the number of faces? I have looked in the Python scripts but have not been able to find these settings.

Any help or advice would be appreciated. Thank you very much!

@Causality-C
Copy link

Try messing with

https://github.com/Tencent/Hunyuan3D-2/blob/main/hy3dgen/shapegen/postprocessors.py#L134-L143

@IQCrash
Copy link
Author

IQCrash commented Jan 30, 2025

Thanks a lot! That worked.

Edit: One thing that is noticeably different when reducing the number of faces to about 5000 was the computation time, which took 3 to 4 times longer than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants