This file contains the main functionality to create the project folder which stores all the input for the numerical HRTF calculations by NumCalc. To this end,
- Define this file as an AddOn in Blender
- Prepare your mesh for the calculations
- Start this AddOn (in Blender) to create the project folder.
Evaluation grids are used to define the sound-source positions for which the HRTFs are calculated. The following is available:
- Data: pre-defined evaluation grids
- Scripts for reading, writing, and exporting from Blender custom evaluation grids
Materials are used to define acoustic boundary conditions for a mesh. The following is available:
- Data: pre-defined materials
- Scripts for writing custom materials
Here, we provide various tools to manipulate meshes. The following tools are available:
- AssignmenMaterials: A Blender AddOn to automatically assign the default materials Skin, Left ear, and Right ear to a mesh. Requires a centered head mesh.
- CenterHead: A Blender AddOn to semi-automatic center the mesh in the origin of coordinates and orient it along the interaural axis.
- Data: An example of a head mesh that can be used for testing Mesh2HRTF. This is the mesh also being used in the online tutorials.
- Grading, Distance based (discontinued): A C++ tools for a distance-based grading of a mesh in order to reduce the number of faces and thus to decrease the duration of the numerical calculations [1].
- Grading, Hybrid (recommended): A C++ tool for a distance-based grading considering the local curvature [2].
Here, we provide python scripts to generate the projects folders for the online tutorials. To generate the project folders, execute the scripts in Blender as described in the scripting Section.
[1] | H. Ziegelwanger, W. Kreuzer, and P. Majdak, "A-priori mesh grading for the numerical calculation of the head-related transfer functions," Appl. Acoust. 114, 99–110 (2016). doi:10.1016/j.apacoust.2016.07.005 |
[2] | T. Palm, S. Koch, F. Brinkmann, and M. Alexa, "Curvature-adaptive mesh grading for numerical approximation of head-related transfer functions", in Fortschritte der Akustik – DAGA 2021 (Vienna, Austria, 2021) pp. 1111–1114. |