Editing paths in the .rcproj file
Sometimes you may have moved your project inputs, and RealityCapture cannot find them. The easiest way to re-link the files is to just open the project, and when prompted navigate to the file RC asks for, then save, however you may want to do it manually. RealityCapture uses absolute paths to store the image locations, the rcproj file can be opened and edited to link to the new locations of the input files. Proceed with caution when doing this manually, as of you remove any images or add extra lines you can destroy your project.
- Open your .rcproj file in a text editor (I am using Notepad ++), and scroll down till you see the inputs:
- press ctrl f to open the find and replace dialogue, and click on the "replace" tab.
- paste into the find field the original path, and in the replace field the path to the files' new location:
- click "replace all"
- save
Now RC will find your images in the new location.
Editing the .rcproj file to add layers
You can also edit the .rcproj file to add texture or mask layers to your project. for instance this edit would add a texture layer from a different folder:
You can also add Mask layers by changing the "layer type" in this edit to "mask" instead of "texture".
Comments
1 comment
Please sign in to leave a comment.
Hi I do this several times a day, because I work in Onedrive and the processes are done on different computers.
Why don't you save the path relative to the project?
I often use for small scripts and batch files: %~dp0 or ..\...
X:/Program/
/Project/RC/yyy.rcproj
/Data/Drone Pictures/zzz.jpg
Something like this
"\..\Data\Drone Pictures\"
I'm not a programmer, I just try around a lot, so it's probably not the right implementation.
But this would save me time and nerves. And if then the pictures are not found either, you still could show the message for manual searching.