nmoehrle / mvs-texturing

Algorithm to texture 3D reconstructions from multi-view stereo images
Other
931 stars 328 forks source link

Texture broken down into Weird, small texture patches #173

Closed mali-tintash closed 2 years ago

mali-tintash commented 3 years ago

I am not too sure what is causing these small pieces of texture, and What is causing them not to be a part of the bigger texture island? The door is fairly flat and it can be seen in the untextured mesh (ply at the provided link).

The mesh (.ply) and the source images along with the textured obj can be found at the following link: https://drive.google.com/drive/folders/1feALwHFn9dMEnZ9fcCPTwBaOHR7OSqZd?usp=sharing

Disclaimer: I had to change a couple of things in the code. Specifically, image does this 0.5 offset make any difference?

and my lookAt camera is pointing inwards so image

image

atlas1_material0000_map_Kd

atlas1_material0001_map_Kd

nmoehrle commented 2 years ago

Could it be that the mesh consists of several connected components?

mali-tintash commented 2 years ago

There were two reasons. 1 - mesh normal quality wasn't too good. 2 - Global seam levelling was not working.

Fixed both, now it's smoother