Skip to content

Commit

Permalink
release 0.3.0
Browse files Browse the repository at this point in the history
- New directory structure
- Starting of Pascal case naming of the files
- Small bugfixes in the scripts

original commit junaid93 2019-05-28
  • Loading branch information
f-brinkmann committed Sep 23, 2020
1 parent 1f7cdb6 commit 6daf5d7
Show file tree
Hide file tree
Showing 43 changed files with 39 additions and 6 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class ExportMesh2HRTF(bpy.types.Operator, ExportHelper):
programPath = StringProperty(
name="Mesh2HRTF-path",
description="Path to mesh2HRTF",
default=r"C:\Users\Robert\Documents\Dokumente\Studium TU\Masterarbeit\Digital_Appendix\11 Scripts\mesh2hrtf_edit",
default=r"C:\Users\jkhan\Documents\Mesh2HRTF - Kopie\trunk",
)

@classmethod
Expand Down Expand Up @@ -420,7 +420,7 @@ def rvec2d(v):
lowFrequency = 0
lowFrequencyCores = 0

evaluationGridPath = ("%s/Mesh2Input/Data/Evaluation Grids" % programPath)
evaluationGridPath = ("%s/Mesh2Input/EvaluationGrids" % programPath)

# ------------------------ Write object data -----------------------------------
for obj in bpy.context.scene.objects[:]:
Expand Down Expand Up @@ -862,7 +862,7 @@ def rvec2d(v):
fw("receiverPositions")
else:
fw("[0 0 0; 0 0 0]")
fw(",frequencyDependency,nearFieldCalculation,microphone_area,reference);")
fw(",frequencyDependency,nearFieldCalculation,reference);")
file.close

# ----------------------- Render pictures of the model -------------------------
Expand Down
File renamed without changes.
File renamed without changes.
29 changes: 29 additions & 0 deletions PostProcessing/VisualizationForParaView(Matlab)/VTKVisualization.m
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
% Mesh2HRTF
% Copyright (C) 2015 by Harald Ziegelwanger,
% Acoustics Research Institute, Austrian Academy of Sciences
% mesh2hrtf.sourceforge.net
%
% Mesh2HRTF is licensed under the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
% Mesh2HRTF 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 Lesser General Public License for more details.
% You should have received a copy of the GNU LesserGeneral Public License along with Mesh2HRTF. If not, see <http://www.gnu.org/licenses/lgpl.html>.
%
% If you use Mesh2HRTF:
% - Provide credits:
% "Mesh2HRTF, H. Ziegelwanger, ARI, OEAW (mesh2hrtf.sourceforge.net)"
% - In your publication, cite both articles:
% [1] Ziegelwanger, H., Kreuzer, W., and Majdak, P. (2015). "Mesh2HRTF: Open-source software package for the numerical calculation of head-related transfer functions," in Proceedings of the 22nd ICSV, Florence, IT.
% [2] Ziegelwanger, H., Majdak, P., and Kreuzer, W. (2015). "Numerical calculation of listener-specific head-related transfer functions and sound localization: Microphone model and mesh discretization," The Journal of the Acoustical Society of America, 138, 208-222.
%
% Author: Harald Ziegelwanger (Acoustics Research Institute, Austrian Academy of Sciences)
% Co-Authors: Fabian Brinkmann, Robert Pelzer (Audio Communication Group, Technical University Berlin)

if ~exist('Visualization','dir')
mkdir('Visualization');
end
if exist('ObjectMesh.mat','file')
load('ObjectMesh.mat')
if ~exist(['Visualization' filesep 'ObjectMesh'],'dir')
mkdir(['Visualization' filesep 'ObjectMesh'])
end
EvalTools_export2VTK(['Visualization' filesep 'ObjectMesh' filesep],nodes{1}(:,2:end),elements{1}(:,2:end),20*log10(abs(element_data{1})/0.00002),'amp')
end
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.2.1
0.3.0
8 changes: 6 additions & 2 deletions history.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
*** Michael Kalcher, ARI
*** Fabian Brinkmann, TU-Berlin
*** Robert Pelzer, TU-Berlin
*** Junaid Khan, FH Technikum Wien
*************************************************************

*** DEVELOPMENT STATUS ***
*** DEVELOPMENT STATUS ***

*** v0.2.1 (???)
*** v0.3.0 (28.05.2019, Junaid Khan)
- New directory structure
- Starting of Pascal case naming of the files
- Small bugfixes in the scripts

*** v0.2.0 (Fabian Brinkmann, Robert Pelzer, Piotr Majdak)
- Mesh2Input:
Expand Down

0 comments on commit 6daf5d7

Please sign in to comment.