dust3d/thirdparty/instant-meshes/instant-meshes-dust3d
Jeremy Hu 2d05583937 Integrate Instant-Meshes
1. Drop windows 32bit support
Add windows 64bit support.

2. Remove Script(quickjs) support
The current integrated quickjs is a very old version which doesn’t support windows 64bit system. In the future, (TODO)WebAssembly should be integrate as plugin system.

3. Integrate Instant-Meshes
Instant-Meshes take less than 1 second on all three platforms.

4. Remove QuadriFlow
Current implementation of QuadriFlow is too slow (take about 5 seconds on the example model) to do realtime remeshing.
2020-01-04 19:59:10 +09:30
..
ext Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30
resources Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30
src Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30
CMakeLists.txt Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30
LICENSE.txt Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30
README.md Integrate Instant-Meshes 2020-01-04 19:59:10 +09:30

README.md

Instant Meshes

Build Status Build status

This repository contains the interactive meshing software developed as part of the publication

Instant Field-Aligned Meshes
Wenzel Jakob, Marco Tarini, Daniele Panozzo, Olga Sorkine-Hornung
In ACM Transactions on Graphics (Proceedings of SIGGRAPH Asia 2015)
PDF, Video, Project page

In commercial software

Since version 10.2, Modo uses the Instant Meshes algorithm to implement its automatic retopology feature. An interview discussing this technique and more recent projects is available here.

Screenshot

Instant Meshes logo

Pre-compiled binaries

The following binaries (Intel, 64 bit) are automatically generated from the latest GitHub revision.

Microsoft Windows
Mac OS X
Linux

Please also fetch the following dataset ZIP file and extract it so that the datasets folder is in the same directory as Instant Meshes, Instant Meshes.app, or Instant Meshes.exe.

Datasets

Note: On Linux, Instant Meshes relies on the program zenity, which must be installed.

Compiling

Compiling from scratch requires CMake and a recent version of XCode on Mac, Visual Studio 2015 on Windows, and GCC on Linux.

On MacOS, compiling should be as simple as

git clone --recursive https://github.com/wjakob/instant-meshes
cd instant-meshes
cmake .
make -j 4

To build on Linux, please install the prerequisites libxrandr-dev, libxinerama-dev, libxcursor-dev, and libxi-dev and then use the same sequence of commands shown above for MacOS.

On Windows, open the generated file InstantMeshes.sln after step 3 and proceed building as usual from within Visual Studio.

Usage

To get started, launch the binary and select a dataset using the "Open mesh" button on the top left (the application must be located in the same directory as the 'datasets' folder, otherwise the panel will be empty).

The standard workflow is to solve for an orientation field (first blue button) and a position field (second blue button) in sequence, after which the 'Export mesh' button becomes active. Many user interface elements display a descriptive message when hovering the mouse cursor above for a second.

A range of additional information about the input mesh, the computed fields, and the output mesh can be visualized using the check boxes accessible via the 'Advanced' panel.

Clicking the left mouse button and dragging rotates the object; right-dragging (or shift+left-dragging) translates, and the mouse wheel zooms. The fields can also be manipulated using brush tools that are accessible by clicking the first icon in each 'Tool' row.