All Projects → hjwdzh → Quadriflow

hjwdzh / Quadriflow

Licence: other
QuadriFlow: A Scalable and Robust Method for Quadrangulation

Labels

Projects that are alternatives of or similar to Quadriflow

Colmap
COLMAP is a general-purpose Structure-from-Motion (SfM) and Multi-View Stereo (MVS) pipeline with a graphical and command-line interface. It offers a wide range of features for reconstruction of ordered and unordered image collections. The software is licensed under the new BSD license. If you use this project for your research, please cite:
Stars: ✭ 3,479 (+752.7%)
Mutual labels:  geometry
Standardgeometryshader
An example of a geometry shader with Unity's standard lighting model support.
Stars: ✭ 303 (-25.74%)
Mutual labels:  geometry
React Canvas
A pluggable layout and graphics system aimed at powering desktop publishing as well as storm-react-diagrams
Stars: ✭ 357 (-12.5%)
Mutual labels:  geometry
Mather
zzllrr mather(an offline tool for Math learning, education and research)小乐数学,离线可用的数学学习(自学或教学)、研究辅助工具。计划覆盖数学全部学科的解题、作图、演示、探索工具箱。目前是演示Demo版(抛转引玉),但已经支持数学公式编辑显示,部分作图功能,部分学科,如线性代数、离散数学的部分解题功能。最终目标是推动专业数学家、编程专家、教育工作者、科普工作者共同打造出更加专业级的Mather数学工具
Stars: ✭ 270 (-33.82%)
Mutual labels:  geometry
Nurbs Python
Object-oriented pure Python B-Spline and NURBS library
Stars: ✭ 295 (-27.7%)
Mutual labels:  geometry
3dtilesrendererjs
Renderer for 3D Tiles in Javascript using three.js
Stars: ✭ 333 (-18.38%)
Mutual labels:  geometry
unity-clip-shader
Unity shader and scripts for rendering solid clipped geometry
Stars: ✭ 34 (-91.67%)
Mutual labels:  geometry
Qodot Plugin
Quake .map support for Godot.
Stars: ✭ 368 (-9.8%)
Mutual labels:  geometry
Three Mesh Bvh
A BVH implementation to speed up raycasting against three.js meshes.
Stars: ✭ 302 (-25.98%)
Mutual labels:  geometry
Dotscad
Reduce the burden of mathematics when playing OpenSCAD
Stars: ✭ 344 (-15.69%)
Mutual labels:  geometry
Geometry
Boost.Geometry - Generic Geometry Library | Requires C++14 since Boost 1.75
Stars: ✭ 282 (-30.88%)
Mutual labels:  geometry
Intrinsic3d
Intrinsic3D - High-Quality 3D Reconstruction by Joint Appearance and Geometry Optimization with Spatially-Varying Lighting (ICCV 2017)
Stars: ✭ 297 (-27.21%)
Mutual labels:  geometry
Openmvg
open Multiple View Geometry library. Basis for 3D computer vision and Structure from Motion.
Stars: ✭ 3,902 (+856.37%)
Mutual labels:  geometry
Intersects
a simple collection of 2d collision/intersects functions. Supports points, circles, ellipses, lines, axis-aligned boxes, and polygons
Stars: ✭ 270 (-33.82%)
Mutual labels:  geometry
Tinyply
🌍 C++11 ply 3d mesh format importer & exporter
Stars: ✭ 358 (-12.25%)
Mutual labels:  geometry
niji
Generic 2D graphics library for C++14
Stars: ✭ 26 (-93.63%)
Mutual labels:  geometry
Cga.js
CGA 3D 计算几何算法库 | 3D Compute Geometry Algorithm Library webgl three.js babylon.js等任何库都可以使用
Stars: ✭ 313 (-23.28%)
Mutual labels:  geometry
Touchdesigner shared
TouchDesigner toxes and small projects
Stars: ✭ 385 (-5.64%)
Mutual labels:  geometry
Inkkit
Drawing and Geometry made easy on iOS - now in Swift 3.0
Stars: ✭ 367 (-10.05%)
Mutual labels:  geometry
Attentiongan
AttentionGAN for Unpaired Image-to-Image Translation & Multi-Domain Image-to-Image Translation
Stars: ✭ 341 (-16.42%)
Mutual labels:  geometry

QuadriFlow: A Scalable and Robust Method for Quadrangulation

Source code for the paper:

Jingwei Huang, Yichao Zhou, Matthias Niessner, Jonathan Shewchuk and Leonidas Guibas. QuadriFlow: A Scalable and Robust Method for Quadrangulation, The Eurographics Symposium on Geometry Processing (SGP) 2018.

QuadriFlow Results

WebGL Application

Our 3D WebGL Apps for QuadriFlow are online! Without any installation, you are able to

Desktop Software

The software supports cmake build for Linux/Mac/Windows systems. For linux and mac users, run sh demo.sh to build and try the QuadriFlow example, which converts examples/Gargoyle_input.obj to examples/Gargoyle_quadriflow.obj.

Install

git clone git://github.com/hjwdzh/quadriflow
cd quadriflow
mkdir build
cd build
cmake .. -DCMAKE_BUILD_TYPE=release
make -j

QuadriFlow Software

We take a manifold triangle mesh input.obj and generate a manifold quad mesh output.obj. The face number increases linearly with the resolution controled by the user.

./quadriflow -i input.obj -o output.obj -f [resolution]

Here, the resolution is the desired number of faces in the quad mesh.

Advanced Functions

Min-cost Flow

By default, quadriflow uses the Boykov maximum flow solver from boost because it is faster. To enable the adaptive network simplex minimum-cost flow solver, you can enable the -mcf option:

./quadriflow -mcf -i input.obj -o output.obj -f [resolution]

Sharp Preserving

By default, quadriflow does not explicitly detect and preserve the sharp edges in the model. To enable this feature, uses

./quadriflow -sharp -i input.obj -o output.obj -f [resolution]

SAT Flip Removal (Unix Only)

By default, quadriflow does not use the SAT solver to remove the flips in the integer offsets map. To remove the flips and guarantee a watertight result mesh, you can enable the SAT solver. First, make sure that minisat and timeout is properly installed under your ${PATH}. The former can be done by building 3rd/MapleCOMSPS_LRB/CMakeLists.txt and copying minisat to /usr/bin. In addition, timeout is included in coreutils. If you are using Mac, you can install it using homebrew:

brew install coreutils
export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"

You can verify if those binaries are properly installed by executing

which minisat
which timeout

After that, you can enable SAT flip removal procedure by executing

./quadriflow -sat -i input.obj -o output.obj -f [resolution]

When using the SAT flip removal, we also suggest you enabling the verbose logging to understand what is going on. You can build quadriflow with the following options:

cmake .. -DCMAKE_BUILD_TYPE=release -DBUILD_LOG=ON

GUROBI Support (For Benchmark Purpose)

To use the Gurobi integer programming to solve the integer offset problem, you can build QuadriFlow with

cmake .. -DCMAKE_BUILD_TYPE=release -DBUILD_GUROBI=ON -DBUILD_LOG=ON

This override other solvers and should only be used for benchmark purpose.

External Dependencies

  • Boost
  • Eigen
  • OpenMP (optional in CMake)
  • TBB (optional in CMake)
  • GUROBI (for benchmark purpose only)

Licenses

QuadriFlow is released under MIT License. For 3rd dependencies,

  • Boost and Lemon are released under Boost Software License
  • Most part of Eigen is released under MPL2
    • Sparse Cholesky Decomposition algorithms are released under LGPL
    • To replace it using Sparse LU decomposition with a more permissive MPL2 license (a little slower), enable BUILD_FREE_LICENSE in CMake (e.g., -DBUILD_FREE_LICENSE=ON).
  • pcg32.h is released under the Apache License, Version 2.0
  • parallel_stable_sort.h is released under the MIT License

Authors

© 2018 Jingwei Huang and Yichao Zhou All Rights Reserved

IMPORTANT: If you use this software please cite the following in any resulting publication:

@article {10.1111:cgf.13498,
    journal = {Computer Graphics Forum},
    title = {{QuadriFlow: A Scalable and Robust Method for Quadrangulation}},
    author = {Huang, Jingwei and Zhou, Yichao and Niessner, Matthias and Shewchuk, Jonathan Richard and Guibas, Leonidas J.},
    year = {2018},
    publisher = {The Eurographics Association and John Wiley & Sons Ltd.},
    ISSN = {1467-8659},
    DOI = {10.1111/cgf.13498}
}

Triangle Manifold

In case you are dealing with a triangle mesh that is not a manifold, we implemented the software that converts any triangle mesh to watertight manifold. Please visit https://github.com/hjwdzh/Manifold for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].