Hunyuan 3D not exporting the textures
Hi, when I create the mesh I can see it is textured, but when I click in transform and then the download button Hunyuan only exports the .obj but not the texture.
Which software are you trying to open this into? If your using blender (preferably version 4.3) try to save it as a .glb file instead of .obj and just drag and drop it in a blender window.
the same as me, my solution is to modify the code to pack the obj and texture into a zip file. then you can get what you want.
"Hey hey! Ready to speak smarter English every day? 🧠✨ Here are 3 advanced words you can actually use in real life. Let’s go!"
🟣 Word 1: “Prioritize” 🎙️ You: "Prioritize means to decide what’s most important. Example: 'I need to prioritize my tasks for today.' ✅ Use it when talking about time or work!"
🟣 Word 2: “Frustrated” 🎙️ You: "Frustrated means feeling annoyed because something isn’t going right. Example: 'I felt frustrated with the slow internet.' 😤 Super useful for daily struggles!"
🟣 Word 3: “Reliable” 🎙️ You: "Reliable means someone or something you can trust. Example: 'She’s a reliable friend — always there for me.' 💯 Use it to talk about people, apps, anything!"
[Outro – You smiling, pointing to the comment section]
🎙️ You: "Which word did you find most useful? Let me know below! And follow me for more advanced English you can actually use! 🎯📘"
The textures are baked with .glb and for .obj it's exported to
Example
C:\Hunyuan3D2_Win\Hunyuan3D-2\gradio_cache
.ply and .stl don't export textures
Hello, same here, textures are well generated but unable to export texture : any clue ? I open the .obj file with blender
Suppose you do an image to 3d model, then you create textures for it. You select the file type like .obj and then you click transform and export the model.
I believe there is a bug with the image to 3D model script that fails to export the texture to the frontend. So you have to get the three files generated for .obj files from the cache directory.
C:\Hunyuan3D2_Win\Hunyuan3D-2\gradio_cache
So lets say you generated an image of a 3D model car. You generate the texture, select .obj, click transform and export.
Three files should have been created ...
Material.mtl Material_0.png Textured_Mesh.obj
You need all three for 3D apps like Blender to load the texture properly when working with .obj files. Not all 3D apps will load .obj textures if they don't support loading the .mtl file which instructs the 3D program to load the 3D model texture file.
However, Blender does support it so after you import the .obj into Blender, all you have to do is click the "Viewport shading" icon on the top right of your Blender menu. Looks like 4 circles or pies and you click the one that appears to have a white slice in it to display the texture.
Each circle or pie displays the 3D model differently in your Blender 3D viewport.
If you don't have all three files together that I mentioned above, you won't see any textures.
If you want to make it easier, export as .glb after creating texture and when you export the .glb it will include the texture within the file itself so you won't have to deal with .mtl or .png files. You just deal with one file.