Hi,
I'm trying to build an orthomosaic by planar projection, therefore I use the following code :
FrontXZ = Metashape.OrthoProjection()
FrontXZ.matrix = Metashape.Matrix( [ [ 1.0, 0.0, 0.0, 0.0], [0.0, 0.0, 1.0, 0.0], [ 0.0, -1.0, 0.0, 0.0], [0.0, 0.0, 0.0, 1.0] ] )
doc.chunk.addOrthomosaic()
doc.chunk.buildOrthomosaic('ModelData', 'MosaicBlending', fill_holes = True, cull_faces = False, refine_seamlines = False, projection = FrontXZ, resolution_x = 0.001, resolution_y = 0.001)
My bounding box is well-placed and well-sized, and my model has almost 3 million faces, but the error "Empty extent" stops the orthomosaic creation, and I can't understand where it comes from.
Could you please advise me a way to generate orthomosaics according to a specific direction?