Thanks for answering.
I have been solving my problem with your code. But, I have stopped in this code:
import PhotoScan, os
print("Script started")
for camera in chunk.cameras:
camera.enabled = False
for camera in chunk.cameras:
camera.enabled = True
chunk.buildTexture(blending=PhotoScan.DisabledBlending, size=4096)
image = chunk.model.texture()
image.save('C:/Users/Photo.tif')
print("OK.")
I started a file with a 3D mesh, a UV map and a series of cameras ready to be projected. But, I don’t have advanced programming skills and I have two problems, that I don’t know how to solve.
1. At the begining, the cameras was deselectioned and later they was activating. But they don’t do it one by one. I never have only one camera activated, because the cameras was joining. Thus, I can’t save it one by one.
2. The saved textures are overwritten because I do not know a way to save it with the same name for each projected camera. Is this possible? To named each texture as the name of its camera.
Thank you very much, I think that soon it will work.