camenduru / InstantMesh-replicate

7 stars 5 forks source link

Textures comeout "perforated" #1

Open tn7111 opened 2 months ago

tn7111 commented 2 months ago

Hello, I use your model through replicate platform. I use latest version: https://replicate.com/camenduru/instantmesh/versions/4f151757fd04d508b84f2192a17f58d11673971f05d9cb1fd8bd8149c6fc7cbb We do a lot of predictions. We always set export_texmap to true and every time the texture has black dots all over it, resulting in models with black dots all over it. Is there a way to fix it or work around? I see that example predictions do not have such problem.

Exmaple. here's link to input image: https://files.icandesignapp.com/38713d26-67e3-42bf-8eed-ea58e2d54704.texture.jpg

Here's the output texture: tmpen8li476

tn7111 commented 2 months ago

OK. I made some research on my side. It turns out models looks fine at first. But then we have to downscale it for our pipeline and then obviously mapping gets a bit broken and these gaps appear on the model. Please tell, is it possible to, for example, generate less detailed model? For example for the aforementioned mesh we get 60k polys. Is it possible to get 20k or limit it somehow?