Open c0ffymachyne opened 3 years ago
Is it possible it's due to size ? Input images are 9600x6376...
hard to say I see the mesh was produced and saved; is it looking ok?
The output from TextureMesh, which usually is a .gltf file and a texture file is definitely not present. What does the "Scene" mean in this context ? Does it refer to .gltf file ?
so it seems the texturing process was successful, but it failed at exporting the GLTF;
I get the same error! How should I send files to you ?
I also seems to have the same issue. It's quite easy to reproduce here, usually this what happens for my current image sets. All the images are the same size and camera (GoPro HERO10). Image resolution is: 5568 × 4176 pixels
It's worth to mention, this does not happen to all image sets, I had one successful run. However, for most runs this what I get.
I have uploaded the .ply
export of .mvs
file to public bucket so you can inspect:
scene_dense_mesh_refine_texture_mesh.7z
I will be happy to provide more information if required!
Cmd: /opt/3dr/bin/OpenMVS/TextureMesh scene_dense_mesh_refine.mvs --decimate 0.5 -w "/mnt/EXTRA/3d-reconstruction/hertsel-69-out/mvs"
10:17:50 [App ] Build date: Jul 23 2022, 10:19:40
10:17:50 [App ] CPU: AMD Ryzen 9 5900X 12-Core Processor (24 cores)
10:17:50 [App ] RAM: 125.70GB Physical Memory 8.00GB Virtual Memory
10:17:50 [App ] OS: Linux 5.18.17-200.fc36.x86_64 (x86_64)
10:17:50 [App ] Disk: 288.12GB (1.34TB) space
10:17:50 [App ] SSE & AVX compatible CPU & OS detected
10:17:50 [App ] Command line: TextureMesh scene_dense_mesh_refine.mvs --decimate 0.5 -w "/mnt/EXTRA/3d-reconstruction/hertsel-69-out/mvs"
10:17:52 [App ] Scene loaded (1s400ms):
60 images (60 calibrated) with a total of 1330.49 MPixels (22.17 MPixels/image)
0 points, 4832123 vertices, 9622708 faces
Decimated faces 4811354 (100%, 39s107ms)
10:18:50 [App ] Cleaned mesh: 2425892 vertices, 4810986 faces (57s727ms)
10:18:58 [App ] Cleaned mesh: 2425788 vertices, 4810984 faces (8s773ms)
Initialized views 60 (100%, 11s888ms)
10:21:15 [App ] Assigning the best view to each face completed: 4810984 faces (2m17s37ms)
10:27:39 [App ] Generating texture atlas and image completed: 102964 patches, 32768 image size (6m23s551ms)
10:27:39 [App ] Mesh texturing completed: 2425788 vertices, 4810984 faces (8m41s48ms)
10:29:00 [App ] Scene saved (1m20s783ms):
60 images (60 calibrated)
0 points, 2425788 vertices, 4810984 faces
terminate called after throwing an instance of 'std::length_error'
what(): vector::_M_default_append
@cdcseacave
I am getting this error from TextureMesh
12:34:59 [App ] Scene loaded (616ms): 35 images (35 calibrated) with a total of 510.77 MPixels (14.59 MPixels/image) 0 points, 906358 vertices, 1805560 faces
Initialized views 1 (2.86%, 9s, ETA 5m)... Initialized views 2 (5.71%, 9s, ETA 2m)... Initialized views 3 (8.57%, 10s, ETA 1m)... Initialized views 4 (11.43%, 11s, ETA 1m)... Initialized views 5 (14.29%, 11s, ETA 1m)... Initialized views 6 (17.14%, 12s, ETA 59s)... Initialized views 7 (20.00%, 13s, ETA 52s)... Initialized views 8 (22.86%, 14s, ETA 47s)... Initialized views 9 (25.71%, 14s, ETA 41s)... Initialized views 10 (28.57%, 14s, ETA 37s)... Initialized views 11 (31.43%, 15s, ETA 34s)... Initialized views 12 (34.29%, 17s, ETA 32s)... Initialized views 13 (37.14%, 18s, ETA 30s)... Initialized views 14 (40.00%, 18s, ETA 27s)... Initialized views 15 (42.86%, 18s, ETA 25s)... Initialized views 16 (45.71%, 19s, ETA 22s)... Initialized views 17 (48.57%, 19s, ETA 20s)... Initialized views 18 (51.43%, 19s, ETA 18s)... Initialized views 19 (54.29%, 20s, ETA 17s)... Initialized views 20 (57.14%, 20s, ETA 15s)... Initialized views 21 (60.00%, 21s, ETA 14s)... Initialized views 22 (62.86%, 21s, ETA 12s)... Initialized views 23 (65.71%, 21s, ETA 11s)... Initialized views 24 (68.57%, 22s, ETA 10s)... Initialized views 25 (71.43%, 22s, ETA 8s)... Initialized views 26 (74.29%, 22s, ETA 7s)... Initialized views 27 (77.14%, 22s, ETA 6s)... Initialized views 28 (80.00%, 23s, ETA 5s)... Initialized views 29 (82.86%, 23s, ETA 4s)... Initialized views 30 (85.71%, 24s, ETA 4s)... Initialized views 31 (88.57%, 24s, ETA 3s)... Initialized views 32 (91.43%, 24s, ETA 2s)... Initialized views 33 (94.29%, 24s, ETA 1s)... Initialized views 34 (97.14%, 25s, ETA 742ms)... Initialized views 35 (100.00%, 25s, ETA 0ms)... Initialized views 35 (100%, 25s706ms)
12:36:50 [App ] Assigning the best view to each face completed: 1805560 faces (1m51s72ms) 12:38:24 [App ] Generating texture atlas and image completed: 7127 patches, 32768 image size (1m33s736ms) 12:38:24 [App ] Mesh texturing completed: 906358 vertices, 1805560 faces (3m25s123ms) 12:39:49 [App ] Scene saved (1m25s205ms): 35 images (35 calibrated) 0 points, 906358 vertices, 1805560 faces terminate called after throwing an instance of 'std::length_error' what(): vector::_M_default_append