Question regarding OpenMVS binaries

Hi,
I built my dev environment using the start-dev-env.sh script, and so far everything’s been working well; i was curious about something, when i saw the binaries in superbuild/install/bin/OpenMVS, i saw three of them: DensifyPointCloud ReconstructMesh RefineMesh, but OpenMVS comes with a lot of other binaries too.
I realize that ODM only needs these three to run but i was curious as to where the configuration is or where the code is that makes sure only three of these binaries are dowloaded? Is it in Superbuild somewhere, somewhere else?

It’s a bit tricky to do due to how ODM build is designed. The source place you need to modify is at openMVS/apps/CMakeLists.txt at 355 · OpenDroneMap/openMVS · GitHub, see all the commented lines, uncomment them would do what you need. But this is another forked repo of openMVS, and ODM is configured to pin exactly to this repo and this branch, here is how openmvs build in ODM is configured ODM/SuperBuild/cmake/External-OpenMVS.cmake at master · OpenDroneMap/ODM · GitHub . To make it work, you can either modify the file at `/Superbuild/src/openmvs/apps/CMakeLists.txt`, and reconfigure openmvs following it, you’ll need to check how to reconfigure it, I don’t think there is convenient script. Or you can fork ODM’s openmvs repo, push the cmake file change there, then pin openmvs to your forked repo and rebuild all.