In our application we copy a chunk into another chunk, modify its poses, and then build the model on both. However, on the second chunk depthmaps appear to be null (but the model is built correctly on the original chunk). Why does this happen?
if chunk.depth_maps is None:
print("Chunk has no depthmaps, computing with default values downscale=2, filter_mode=Metashape.AggressiveFiltering ")
chunk.buildDepthMaps(downscale=2, filter_mode=Metashape.AggressiveFiltering)
doc.save()
chunk.buildModel(surface_type=Metashape.Arbitrary, source_data=Metashape.DepthMapsData, interpolation=Metashape.EnabledInterpolation)