Model Reconstruction - Model files corrupt?

Hello everyone, 

I am fairly new to Reality Capture and are currently trying it out on a PPI license. I am a drone pilot and have done photogrammetry for a few years and I’m currently trying Reality Capture to see how the program holds up compared to other similar programs that I have used before. 

I am currently running a fairly big project that I have previously processed in different programs and I want to test out and compare the result. But I am running in to a few problems. 

The whole project is a scan of a fairly complex building and the whole dataset is done in several sets of photos taken over several days with a total of around 3000 images. I tried running all images at once but the project crashed when trying to align all the images. I’ve tried looking for a crash report but have not been able to find information about what caused the crash. 

I’m aware that I don’t have the most powerful PC and that could be the reason to why it crashed. If anyone could point me to how i find and read the crash report i would be thankful. 

I have now tried running only one of the datasets. A total of 1400 pictures and the align went well and it looks good so far. My hope is to run it in parts and maybe be able to merge them together later. I tried to calculate model on high quality but the process crashed again.
I’m now trying to run on normal quality but get an error saying the following: 

“One or more files of the model are corrupted, Run the Check model integrity tool under RECONSTUCTION tab. please.”

After running the Check model integrity tool I get the message: “File not found.”

I have not changed the path or moved any of the files from their original location when I started the project. I can close and open the project without problem. It seem to be only the model file that has gone missing. 

Does anybody know the cause of this problem and could you help me to solve this issue?
Thanks in advance!

Hello Smart Drones.

What version of RealityCapture do you have?

Are you using a network drive or an external hard drive?
This can happen when you will lose access to the file path of you cache, dataset folder or project folder.
Usually, this happens when your hard drive is disconnected during a large dataset calculation (it does not matter if your hard drive was reconnected in the meantime)

Please also try this:
please try to Make it like a clean install. (close RealityCapture before)

  1. reinstalling and updating Nvidia drivers, 
  2. removing cache (manually navigate to your cache location and remove the cache folder)
  3. Please try to " make it like a clean install" (this will reset your settings to default in the process):
    In order to do that:
  • Shift + Double LeftMouseClick on RealityCapture icon
  • From drop-down select make it like a clean install and press ok
  • Then try again

Hi Smart Drones,

I’m wondering if you solved your problem eventually? I am having this exact same issue and following the steps suggested by Trhan CR has not fixed it.

Any help or suggestions appreciated.

Thanks!

 

Hi Eamon_Q, can you send us more info about this problem?

In which step of process did you get it? What were your reprosteps here?

What kind of data are you using? Did you remove cache?

Hi Ondrej Trhan, 

Thanks for the quick reply.

I am using a PTX file from a Faro scanner combined with hi-res TIFFs, (converted to 8 bit in RC). Alignment went great and yesterday I started the calculation for the mesh. Visually it looks like it has been successful, but when I try to “select the largest component”, I get the message:

"Processing

One or more files of the model are corrupted. Run the Check model integrity tool…"

When I run the check model integrity tool I get the message:

“File not found”

One thing to note is that I am running the project from an external SSD and have also set the cache to that drive. The source data is on an internal SSD. I did this as originally the cache was getting so large that it would fill up the internal SSD when calculating the mesh and give errors.

I did all the steps as you suggested and also deleted the cache. One thing that did happen is that on first load of the project and then checking the model integrity, I got the following message:

"Autosaving project

The process cannot access the file because it is being used by another process"

I only got this message once - I now get the first 2 mentioned error messages again.

Thanks!

So, the problem here could be, that you are using an external disc. There could be a small outage and the project could be saved wrongly, which result in this errors. We don’t recommend to use external dataset for processing. 

 

OK, I will get a bigger internal drive and see if that fixes the issue. Do you think that such an outage would cause the issue when constructing the mesh? Or could it be before then during setting up of the project / alignment? Wondering how far back in the process I should revert to avoid the error again.

Thanks again for the quick help!

Yes, any outage can cause this kind of issue. Also the smallest one.

Maybe try to disable autosave when you have external disc.

Just to update here, the solution of using only an internal SSD solved the problem.

For anyone else facing simillar issues, I installed a 2TB internal SSD and the capacity seems to be a good option for RC. At the peak of processing storage was running at around 1.5TB and now nearing the final stages I emptied the cache and the project is about 550GB in its entirety.

Thanks again for the help Odrej!

In my case, the internal SSD drive and other suggestion did not solve the problem. Any attempt to create a model with more than 433M triangles leads to the errors “one or more parts are corrupted” and “File not found” (Check integrity) after end of reconstruction in high quality mode, saving and opening the project file.

Hi ioo-mail,

what are your computer’s parameters? How much free space do you have on your discs? What are your reconstruction settings? If there is this error the model wasn’t computed completelly.

Also, 

could you please: 

  • upgrade to the latest Nvidia studio drivers?

  • show me some screenshots from the project? (are there any camera positions close-ups and then camera positions from distance facing the same place, if so disable camera position from far away for the meshing)

  • please reset your application settings and run normal detail instead of high detail

  • please show me a screenshot of the 1ds view where I will see the whole project structure including models

  • if there is a model with an ​​incomplete part please select it and click on continue (you need to have enabled autosave function to do that), if it will crash again just recover autosave, then select the model and click on continue again.