16
General / Re: Incomplete mesh in V1.71 where V1.65 was able to construct a closed mesh
« on: April 03, 2021, 07:08:48 PM »
Indeed, exactly the same results, with and without masks...There is a real problem with the new depth maps.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
And in the full release? (https://www.agisoft.com/downloads/installer/)
chunk.transform.matrix = S * T
import Metashape
side_length = 0.97 #set value here
chunk = Metashape.app.document.chunk
T = chunk.transform.matrix
chunk.region.center = T.inv().mulp(Metashape.Vector([0.025, -0.1325, -1.0562]))
chunk.region.size = Metashape.Vector([side_length, side_length, side_length]) / chunk.transform.matrix.scale()
chunk.region.rot = T.rotation().t()
print("script finished.")
import Metashape
doc = Metashape.app.document
chunk = doc.chunk
S = Metashape.Matrix().Diag([1, 1, 1, 1])
T = Metashape.Matrix([[0.9997743489568586, -0.0211954660930352, -0.0014154098306438, -13.4365763350189269],
[0.0000000000000000, -0.0666304947728083, 0.9977777193174494, 851.1973959656927491],
[-0.0212426732755011, -0.9975525697342621, -0.0666154595321578, -1634.9351050186285192],
[0.0000000000000000, 0.0000000000000000, 0.0000000000000000, 1.0000000000000000 ]])
chunk.transform.matrix = S * T.inv()