buildTexture has a parameter called cameras, the documentation only states it is a list of ints. I just want to double check that those are indices to cameras in the same order as chunk.cameras ? I have both grayscale and color cameras, and I want to use only color cameras for texturing. I'm using the following code to select color cameras:
list_of_cameras_for_texturing = [i for i,c in enumerate(chunk.cameras) if 'CUCAU' in c.label]
chunk.buildUV(mapping_mode=Metashape.GenericMapping)
chunk.buildTexture(blending_mode=Metashape.MosaicBlending, cameras=list_of_cameras_for_texturing, texture_size=8192)
This seems to only work only "sometimes". I have got textures build from the other (grayscale) cameras. I am still trying to figure why.