Agisoft Metashape

Agisoft Metashape => General => Topic started by: mrc on February 19, 2020, 03:05:35 PM

Title: Bad Texture after removing and regenerating texture
Post by: mrc on February 19, 2020, 03:05:35 PM
I have a number of models decimated to different face counts. When I remove a texture from one of these models and recreate it, frequently the text appears badly calculated, as shown in the screenshot below. The object is a bone, you can see the correct texture colour in some spots. The white lines are the edges of the texture segments in the UV map and should not be visible either.

I am removing the UVs before regenerating the textures, although I have moved from 4 x 4096 tiles to 1 x 8192 tiles.

Using version 1.6.1



Title: Re: Bad Texture after removing and regenerating texture
Post by: Alexey Pasumansky on February 19, 2020, 03:10:25 PM
Hello mrc,

What is the data format of the source images and whether you observe the similar problems if you run the processing on CPU only (disable GPU utilization in Preferences tab)?
Title: Re: Bad Texture after removing and regenerating texture
Post by: mrc on February 19, 2020, 03:20:08 PM
Thanks Alexey,

Source images are DNG, the first texture that gets created is perfect. It only seems to happen when I right click and "remove texture" from the model, and then generate it again.

Oddly, the GPU didn't seem to get utilised for the texture building, even though it is a GTX 1060 with driver version 432 (I am now updating it to version 442). I noticed high CPU usage, but no major GPU usage. I'll retry when this driver is updated.
Title: Re: Bad Texture after removing and regenerating texture
Post by: mrc on February 19, 2020, 04:15:16 PM
Updated drivers and regenerated the texture and it's fine now.

Not really sure what caused this at all, but happened to a number of different models. I'll let you know if it happens again.
Title: Re: Bad Texture after removing and regenerating texture
Post by: Alexey Pasumansky on February 19, 2020, 05:10:38 PM
OK, if it happens again, please save the processing log and also try to rebuild the texture using CPU only.