Skip to content

1 DevEnv

Simon edited this page Sep 8, 2020 · 10 revisions

DevEnv setup for Meshroom

  • download the Meshroom source code from https://github.com/alicevision/meshroom/releases (https://github.com/alicevision/meshroom/ is up to date but requires the latest alicevision dev build)

  • install requirements: (cli-> navigate in meshroom-develop folder) ´´pip install -r requirements.txt´´ (pyside2 may cause some problems on windows! pyside2 is not yet compatible with Python 3.8 Fixed)

  • paste the pre-compiled aliceVision and qtPlugins folders and the provided Meshroom.bat in the Meshroom folder and use Meshroom.bat (or cli) to start the meshroom gui (*or use your own compiled versions) Note: using pre-compiled alicevision and qtplugins does work, but some features might be missing compared to building from source

  • Now you can modify the Meshroom GUI and nodes to your liking.

  • Meshroom nodes are located in meshroom\nodes\aliceVision

How to use the plugins in a dev-environment:

download the meshroom repository zip from https://github.com/alicevision/meshroom/
install requirements: (cli-> navigate in meshroom-develop folder) ´´pip install -r requirements.txt´´
download the pre-compiled meshroom zip from https://github.com/alicevision/meshroom/releases
paste the pre-compiled aliceVision and qtPlugins folders and the provided Meshroom.bat https://github.com/natowi/meshroom_external_plugins/blob/master/Meshroom.bat in the meshroom folder and use Meshroom.bat (or cli) to start the meshroom gui (*or use your own compiled versions)
when Meshroom is closed, you can copy the plugin files in the respective folders
plugin.py in meshroom\nodes\aliceVision (for the MR GUI)
place the new software that is to be run by the node (.exe, .py or .bat) in aliceVision\bin (this is for the software package that is called via the MR GUI)

Read the Meshroom init.py for details:

Use 'MESHROOM_INSTALL_DIR' to simulate standalone configuration with a path to a Meshroom installation folder.

# Meshroom standalone structure

- Meshroom/
   - aliceVision/
       - bin/    # runtime bundled binaries (windows: exe + libs, unix: executables)
       - lib/    # runtime bundled libraries (unix: libs)
       - share/  # resource files
           - aliceVision/
               - COPYING.md         # AliceVision COPYING file
               - cameraSensors.db   # sensor database
               - vlfeat_K80L3.tree  # voctree file
   - lib/      # Python lib folder
   - qtPlugins/
   Meshroom    # main executable
   COPYING.md  # Meshroom COPYING file
"""
Clone this wiki locally