Skip to main content
  • Home
  • Development
  • Documentation
  • Donate
  • Operational login
  • Browse the archive

swh logo
SoftwareHeritage
Software
Heritage
Archive
Features
  • Search

  • Downloads

  • Save code now

  • Add forge now

  • Help

https://github.com/MarcoAttene/VolumeMesher
30 August 2025, 16:27:44 UTC
  • Code
  • Branches (1)
  • Releases (0)
  • Visits
Revision d9985a45afa73983c032f812e3bf2e760c4bba5b authored by MarcoAttene on 05 August 2021, 10:15:25 UTC, committed by MarcoAttene on 05 August 2021, 10:15:25 UTC
Initial Commit
0 parent
  • Files
  • Changes
    • Branches
    • Releases
    • HEAD
    • refs/heads/master
    • d9985a45afa73983c032f812e3bf2e760c4bba5b
    No releases to show
  • d7274e4
  • /
  • README.md
Raw File Download
Take a new snapshot of a software origin

If the archived software origin currently browsed is not synchronized with its upstream version (for instance when new commits have been issued), you can explicitly request Software Heritage to take a new snapshot of it.

Use the form below to proceed. Once a request has been submitted and accepted, it will be processed as soon as possible. You can then check its processing state by visiting this dedicated page.
swh spinner

Processing "take a new snapshot" request ...

To reference or cite the objects present in the Software Heritage archive, permalinks based on SoftWare Hash IDentifiers (SWHIDs) must be used.
Select below a type of object currently browsed in order to display its associated SWHID and permalink.

  • revision
  • directory
  • content
  • snapshot
origin badgerevision badge
swh:1:rev:d9985a45afa73983c032f812e3bf2e760c4bba5b
origin badgedirectory badge Iframe embedding
swh:1:dir:d7274e469f73d066cc58a09e6b119ff0a8d6ba81
origin badgecontent badge Iframe embedding
swh:1:cnt:f60527c068baa70409df7027fda28bb2bf1af250
origin badgesnapshot badge
swh:1:snp:60caded1493e3a8001e218dfe80bbace61ce1fe8

This interface enables to generate software citations, provided that the root directory of browsed objects contains a citation.cff or codemeta.json file.
Select below a type of object currently browsed in order to generate citations for them.

  • revision
  • directory
  • content
  • snapshot
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Generate software citation in BibTex format (requires biblatex-software package)
Generating citation ...
Tip revision: d9985a45afa73983c032f812e3bf2e760c4bba5b authored by MarcoAttene on 05 August 2021, 10:15:25 UTC
Initial Commit
Tip revision: d9985a4
README.md
# Convex Polyhedral Meshing for Robust Solid Modeling

This code implements our volume meshing algorithm described in "**Convex Polyhedral Meshing for Robust Solid Modeling**" conditionally accepted for publication on ACM TOG (SIGGRAPH Asia 2021). 

<p align="center"><img src="teaser_img.png"></p>


## Usage
Clone this repository, including submodules, with:
```
git clone --recursive https://github.com/MarcoAttene/VolumeMesher
```
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_generator.sln file.
On Linux/MacOS, this will produce a Makefile. 
Use it as usual to compile mesh_generator.

When compiled, the code generates an executable called ``mesh_generator``.
Launch it with no command line parameters to have a list of supported options.

Examples:

```
mesh_generator model.off
```
creates a file called ``volume.msh`` representing the volume mesh enclosed by the input.

```
mesh_generator -v model.off
```
same as above, but the ``-v`` option makes the tool print useful information during the process.

```
mesh_generator -v -t model.off
```
same as above, but ``-t`` makes the tool tetrahedrize all the cells before saving.

```
mesh_generator -s model.off
```
creates a file called ``skin.off`` representing the surface that bounds the volume mesh. ``skin.off`` is a mesh of convex polygons.

```
mesh_generator -s -t model.off
```
same as above, but ``-t`` makes the tool triangulate all the facets before saving.

```
mesh_generator -b model.off
```
creates a file called ``black_faces.off`` representing the input model with intersections resolved.



We tested our code on MacOS (GCC-10) and Windows (MSVC 2019).
It should work on Linux-GCC and MacOS-Clang too, but we have not tested it on these configurations.

|:warning: WARNING: Apparently, CLANG does not support a fully IEEE compliant floating point environment which is necessary to guarantee that indirect predicates work as expected. 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{volmesh2021,
  title   = {Convex Polyhedral Meshing for Robust Solid Modeling},
  author  = {Diazzi, Lorenzo and Attene, Marco},
  journal = {ACM Transactions on Graphics (SIGGRAPH Asia 2021)},
  year    = {2021},
  volume  = {40},
  number  = {6}
}
```

## Copyright

VolumeMesher is Copyright(C) 2021: IMATI-GE / CNR                                       

All rights reserved.                                                      
                                                                  
This program is dual-licensed as follows:

(1) You may use VolumeMesher as free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as published 
by the Free Software Foundation; either version 3 of the License, or     
(at your option) any later version.                                      
In this case the program is distributed in the hope that it will be      
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of   
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the            
GNU General Public License (http://www.gnu.org/licenses/gpl.txt)         
for more details.                                                        
                                                                         
(2) You may use VolumeMesher as part of a commercial software. In this case a
proper agreement must be reached with the Authors and with IMATI-GE/CNR  
based on a proper licensing contract.
The diff you're trying to view is too large. Only the first 1000 changed files have been loaded.
Showing with 0 additions and 0 deletions (0 / 0 diffs computed)
swh spinner

Computing file changes ...

back to top

Software Heritage — Copyright (C) 2015–2025, The Software Heritage developers. License: GNU AGPLv3+.
The source code of Software Heritage itself is available on our development forge.
The source code files archived by Software Heritage are available under their own copyright and licenses.
Terms of use: Archive access, API— Content policy— Contact— JavaScript license information— Web API