Skip to content

Mesh_grading

Fabian Brinkmann edited this page Aug 3, 2022 · 2 revisions

Mesh grading refers to Mesh2HRTF specific remeshing algorithms for a head (and torso) mesh that can be used to speed up the numerical calculations if simulating HRTFs for a single ear. In this case, the elements sizes at the ear for which no HRTFs are calculated increased resulting in a mesh with fewer elements.

Hybrid mesh grading using the Polygon Mesh Processing (PMP)

The remeshing is done based on the distance to the ear and the local mesh curvature. The code can be found in the Mesh2Input folder and details on the method are found in the paper Curvature-adaptive mesh grading for numerical approximation of head-related transfer functions.

Distance based mesh grading

In this case the remeshing is done only based on the distance to the ear. The above method slightly outperforms this initial remeshing approach and the remeshing is considerably faster. Here is how to use distance based mesh grading:

$ cd OpenFlipper-Free $ qmake -project $ cd ../ $ mkdir build $ cd build $ cmake -DCMAKE_BUILD_TYPE=Release ../OpenFlipper-Free $ make -j8

After the building, you can open the OpenFlipper from the folder (build/Build/) and then use MeshGrading. Enjoy.