Skip to content

Commit 0d94605

Browse files
authored
v2.2.0 (#1021)
- add python API - COLMAP support in MvgMvsPipeline.py - interface for binary COLMAP - interface for Polycam scenes - tower mode #1017 - estimate 3D points scale - transform scene by a given transform matrix - unify Docker scripts and add support for GUI - fix incorrect comparison in BufferedOutputStream #1010 - add lines structure - compute the focus of attention of a set of cameras - add image mask support in mesh texturing
1 parent f62b38d commit 0d94605

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+3610
-778
lines changed

.devcontainer/Dockerfile

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
FROM ubuntu:22.04
2+
3+
ARG USERNAME=openmvs
4+
ARG USER_UID=1000
5+
ARG USER_GID=$USER_UID
6+
ARG INSTALL_ZSH="true"
7+
8+
# Prepare and empty machine for building:
9+
RUN apt-get update -yq
10+
11+
COPY .devcontainer/library-scripts/*.sh /tmp/library-scripts/
12+
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
13+
&& /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
14+
#
15+
# ****************************************************************************
16+
# * TODO: Add any additional OS packages you want included in the definition *
17+
# * here. We want to do this before cleanup to keep the "layer" small. *
18+
# ****************************************************************************
19+
# && apt-get -y install --no-install-recommends <your-package-list-here> \
20+
#
21+
&& apt-get -y install --no-install-recommends build-essential git cmake libpng-dev libjpeg-dev libtiff-dev libglu1-mesa-dev libglew-dev libglfw3-dev \
22+
# Boost
23+
libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-serialization-dev \
24+
# OpenCV
25+
libopencv-dev \
26+
# CGAL
27+
libcgal-dev libcgal-qt5-dev \
28+
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts
29+
30+
# Eigen
31+
RUN git clone https://gitlab.com/libeigen/eigen --branch 3.4
32+
RUN mkdir eigen_build
33+
RUN cd eigen_build &&\
34+
cmake . ../eigen &&\
35+
make && make install &&\
36+
cd ..
37+
38+
# VCGLib
39+
RUN git clone https://github.com/cdcseacave/VCG.git vcglib

.devcontainer/devcontainer.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
3+
{
4+
"name": "OpenMVS",
5+
"build": {
6+
"dockerfile": "Dockerfile",
7+
"context": ".."
8+
},
9+
// Features to add to the dev container. More info: https://containers.dev/features.
10+
// "features": {},
11+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12+
// "forwardPorts": [],
13+
// Use 'postCreateCommand' to run commands after the container is created.
14+
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
15+
// Configure tool-specific properties.
16+
"customizations": {
17+
"vscode": {
18+
"extensions": [
19+
"ms-vscode.cpptools",
20+
"ms-vscode.cmake-tools",
21+
"twxs.cmake",
22+
"josetr.cmake-language-support-vscode"
23+
]
24+
}
25+
},
26+
"containerEnv": {
27+
"DISPLAY": "unix:0"
28+
},
29+
"remoteEnv": {
30+
"PATH": "/usr/local/bin/OpenMVS:${containerEnv:PATH}"
31+
},
32+
"mounts": [
33+
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
34+
],
35+
"features": {
36+
"ghcr.io/devcontainers/features/sshd:1": {
37+
"version": "latest"
38+
}
39+
},
40+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
41+
"remoteUser": "openmvs"
42+
}

0 commit comments

Comments
 (0)