Git Product home page Git Product logo

q349wang / fastandrobustmesharrangements Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gcherchi/fastandrobustmesharrangements

0.0 1.0 0.0 1.09 MB

This is the code we used for the experiments in the paper "Fast and Robust Mesh Arrangements using Floating-point Arithmetic" by G. Cherchi, M. Livesu, R. Scateni and M. Attene (SIGGRAPH Asia 2020).

License: MIT License

C++ 97.19% CMake 0.86% C 1.45% QMake 0.50%

fastandrobustmesharrangements's Introduction

Fast and Robust Mesh Arrangements using Floating-point Arithmetic

This is a HEADER-ONLY version of the code we used for the experiments in the paper "Fast and Robust Mesh Arrangements using Floating-point Arithmetic" by G. Cherchi, M. Livesu, R. Scateni and M. Attene (ACM TOG, SIGGRAPH Asia 2020).

⚠️ WARNING: We are rewriting portions of this code to be more efficient. The code is therefore subject to continuous updates.

Usage

Clone this repository, including submodules, with:

git clone --recursive https://github.com/gcherchi/FastAndRobustMeshArrangements.git

Once done, you may build the executable as follows (put Release or Debug instead of <build type>):

mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=<build type> ..

This will produce an appropriate building configuration for your system. On Windows MSVC, this will produce a mesh_arrangement.sln file. On Linux/MacOS, this will produce a Makefile. Use it as usual to compile mesh_arrangement.

There are 4 versions of the solveIntersections(...) function, with different outputs. Please, check the file solve_intersections.h for more details.

We tested our code on MacOS (CLANG 10.0 64 bit), Linux (GCC 7.3.0 64 bit) and Windows (MSVC 2019 64 bit).

⚠️ WARNING: Apparently, CLANG does not support a fully IEEE compliant floating point environment. The only way we found to guarantee correctness on this compiler was to disable all optimizations. Please be aware of this fact should you notice a performance degradation in your experiments.

Citing us

If you use our code in your academic projects, please cite our paper using the following BibTeX entry:

@article{CLSA20,
  title   = {Fast and Robust Mesh Arrangements using Floating-point Arithmetic},
  author  = {Cherchi, Gianmarco and Livesu, Marco and Scateni, Riccardo and Attene, Marco},
  journal = {ACM Transactions on Graphics (SIGGRAPH Asia 2020)},
  year    = {2020},
  volume  = {39},
  number  = {6},
  doi     = {10.1145/3414685.3417818}
}

fastandrobustmesharrangements's People

Contributors

gcherchi avatar q349wang avatar marcoattene avatar mlivesu avatar mdmaas avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.