Forum

Author Topic: Vector too long  (Read 9732 times)

Carlos E

  • Newbie
  • *
  • Posts: 8
    • View Profile
Vector too long
« on: August 18, 2025, 11:32:33 AM »
How can I solve this error:

Vector too long

?

It appears doing when generating a 3D Model.

Thank you very much in advance.

Carlos E.


Sistema
Nombre del programa Agisoft Metashape Professional
Versión del programa 2.1.0 build 17532
OS Windows 64 bit
RAM 31.71 GB
CPU 13th Gen Intel(R) Core(TM) i7-13700H
GPU(s) NVIDIA GeForce RTX 4070 Laptop GPU


Source data: Point cloud
Surface type: Height field (2.5D)
Face count: High (152,023,547)
« Last Edit: August 18, 2025, 11:59:56 AM by Carlos E »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15650
    • View Profile
Re: Vector too long
« Reply #1 on: August 19, 2025, 01:04:54 PM »
Hello Carlos,

Please check, if you observe the same problem in 2.2.1 release version.

Also please specify if you really need 2.5D mesh model surface to be generated from the dense point cloud? Usually DEM is generated when 2.5D surface is requried.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Carlos E

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vector too long
« Reply #2 on: August 21, 2025, 01:49:27 PM »
Thanks for your answer. Actually, I have to downgraded to the 2.1 version because the 2.2 version hanged so often.

There is not need at all to generate 2.5D mesh model. I was not working in any particular survey. My idea is to know the influence of the processing parameters, the surface of the survey  and the PC configuration in the processing time (medium vs high quality / Key limit point 40000 - Tie point limit 10000 vs Key limit point 10000 - Tie point limit 1000; Surface type: 2.5D vs 3D... and so on). So, I created two Batch Process (High quality vs Medium quality) and sometimes that error appeared

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15650
    • View Profile
Re: Vector too long
« Reply #3 on: August 21, 2025, 04:48:34 PM »
Hello Carlos,

If the problem only occurs for 2.5D mesh generation, please specify the number of points in the source point cloud and, if possible, share the screenshot of the point cloud overview to understand better the type of the project.
Best regards,
Alexey Pasumansky,
Agisoft LLC

Carlos E

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vector too long
« Reply #4 on: August 21, 2025, 08:03:57 PM »
Details

Generating model...
generating 30479x27877 grid (0.00324244 resolution)
rasterizing dem... done in 20.807 sec
filtering dem... done in 13.947 sec
constructed triangulation from 20953582 vertices, 41907158 faces
grid interpolated in 702.593 sec
30479x27877 grid, max faces target: 75696073
triangulating... 37848036 points 75695291 faces done in 300.504 sec


And at 90% the programm crashs!

As I said before I am conducting several test just variying the parametres. When I process the FULL cloud point, (760117736 points) everything is fine, but when I select the points with a level of confdence greater than 3, is where the problems begin.

The description of the survey is an olive grove located on slightly sloping terrain

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15650
    • View Profile
Re: Vector too long
« Reply #5 on: August 26, 2025, 05:41:47 PM »
Hello Carlos,

According to the screenshot the point cloud is not referenced, this could happen due to the bug of some old Metashape version.
To fix the problem in the current version you need to input and execute the following code to the Console pane, having the problematic point cloud active in the active chunk:
Code: [Select]
Metashape.app.document.chunk.point_cloud.transform = Metashape.Matrix.Diag([1,1,1,1])
Best regards,
Alexey Pasumansky,
Agisoft LLC

Carlos E

  • Newbie
  • *
  • Posts: 8
    • View Profile
Re: Vector too long
« Reply #6 on: August 26, 2025, 10:24:59 PM »
Thanks a lot for your help