shap-e
shap-e copied to clipboard
How to export the obj file with materials
After I exported the final model, I imported the model into blender and found that there is no material attached to the model. What should I do to make the model have a material?
Ok syedSeemahabib … On Tue, May 23, 2023, 14:48 Timothy Spencer @.> wrote: After I exported the final model, I imported the model into blender and found that there is no material attached to the model. What should I do to make the model have a material? [image: image] https://user-images.githubusercontent.com/131905100/240219655-7d99ed12-399d-4906-aae2-e8e70f1bcb7e.png — Reply to this email directly, view it on GitHub <#91>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3GBIHAESTXMOJHDQLULK7LXHSBX5ANCNFSM6AAAAAAYLT67EI . You are receiving this because you are subscribed to this thread.Message ID: @.>
Do you have any way to solve it?
Did you finally solve it?I have the same problem
Did you finally solve it?I have the same problem
No, I have no idea with it.
You need to bake the vertex colours into a texture.
to fix that I ended up loading the latent output into a trimesh and re-wrote it as glb
something like that -
mesh = trimesh.load(obj_filename)
mesh.export(mesh_path, file_type='glb')
to fix that I ended up loading the latent output into a trimesh and re-wrote it as glb
something like that -
mesh = trimesh.load(obj_filename) mesh.export(mesh_path, file_type='glb')
Hi eran,
I used the method you mentioned above and successfully exported the model, but there is still no material attached to the model. Can you explain it in more detail?
I meet a same question,please help me
It worked, Thank u!