Skip to content

Commit

Permalink
v2.2.0 (#1021)
Browse files Browse the repository at this point in the history
 - 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
  • Loading branch information
cdcseacave authored Jul 4, 2023
1 parent f62b38d commit 0d94605
Show file tree
Hide file tree
Showing 69 changed files with 3,610 additions and 778 deletions.
39 changes: 39 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
FROM ubuntu:22.04

ARG USERNAME=openmvs
ARG USER_UID=1000
ARG USER_GID=$USER_UID
ARG INSTALL_ZSH="true"

# Prepare and empty machine for building:
RUN apt-get update -yq

COPY .devcontainer/library-scripts/*.sh /tmp/library-scripts/
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& /bin/bash /tmp/library-scripts/common-debian.sh "${INSTALL_ZSH}" "${USERNAME}" "${USER_UID}" "${USER_GID}" "${UPGRADE_PACKAGES}" "true" "true"\
#
# ****************************************************************************
# * TODO: Add any additional OS packages you want included in the definition *
# * here. We want to do this before cleanup to keep the "layer" small. *
# ****************************************************************************
# && apt-get -y install --no-install-recommends <your-package-list-here> \
#
&& apt-get -y install --no-install-recommends build-essential git cmake libpng-dev libjpeg-dev libtiff-dev libglu1-mesa-dev libglew-dev libglfw3-dev \
# Boost
libboost-iostreams-dev libboost-program-options-dev libboost-system-dev libboost-serialization-dev \
# OpenCV
libopencv-dev \
# CGAL
libcgal-dev libcgal-qt5-dev \
&& apt-get autoremove -y && apt-get clean -y && rm -rf /var/lib/apt/lists/* /tmp/library-scripts

# Eigen
RUN git clone https://gitlab.com/libeigen/eigen --branch 3.4
RUN mkdir eigen_build
RUN cd eigen_build &&\
cmake . ../eigen &&\
make && make install &&\
cd ..

# VCGLib
RUN git clone https://github.com/cdcseacave/VCG.git vcglib
42 changes: 42 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/cpp
{
"name": "OpenMVS",
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
// Configure tool-specific properties.
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"twxs.cmake",
"josetr.cmake-language-support-vscode"
]
}
},
"containerEnv": {
"DISPLAY": "unix:0"
},
"remoteEnv": {
"PATH": "/usr/local/bin/OpenMVS:${containerEnv:PATH}"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"features": {
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "openmvs"
}
Loading

0 comments on commit 0d94605

Please sign in to comment.