Open dasbuchi opened 6 years ago
can't help u with only this info, sry
orange is the default fill for missing parts of the texture image. You might not have enough overlap in your images, but to just change the color of the texture background use texturemesh.exe --empty-color 16744231 (except use a decimal color code other than orange, such as 0 for white)
What is the color code for black?
On example page: Note that the triangles textured in orange (default) are not visible in any of the input images, and can be colored differently or removed.
My doubt is: What is the color code for transparent? Or better, is there any way I can use the neighborhood color to color this part?
As texture is saved in JPEG format, no alpha channel is supported, so no transparent. No currently there is no way to color them according to neighbor faces, feel free to add this feature.
There is a way to save the texture in png and use alpha channel? Sorry, but the final texture is saved in PNG. Do you are talking that in the code just 3 channels are used and just on final is saved in png?
in the code just 3 channels are used, though it will be easy to maintain also an alpha channel set to 0 for non-visible triangles; that should be quite easy to do, however I do not have the time right now
What is the color code for black?
0 seems to be black for me, not white
Thanks for this information, it was very useful. The other alternative if you want to change the default colour is to edit the texture file directly. This is quicker than running texturemesh
each time especially if you want to experiment with a few different colours. I used the Color Exchange feature in Gimp but most image processing tools should be able to do it.
Hi, I am using the prebuild windows files to reconstruct some stones and natural things for useage in 3D applications. Pretty impressed so far. The only thing it seems I couldn´t get right is the texture process. I am ending up having some orange faces all over the place. What am I doing wrong? As I am more a user with not that much coding knowlege, please be patient with your answers ;)