Example that shows how to implements image source method using the 3DTI Toolkit and OpenFramework, with a Visual Studio project
- resources: files needed by the example program to work (HRTF, BRIR and audio files). These files must be copied into the same folder as the solution file.
- src: source files of the image source method TestApp project
- vstudio: VisualStudio proyect files
-
Download Openframework for Windows from https://openframeworks.cc/download/. Lastest version tested: of_v0.11.2_vs2017_release
-
Clone the repository in a folder (you can call it "ImageSourceMethodTestApp") inside the openFramework folder.
-
Clone the submodules ("3dti_AudioToolkit") inside the openFramework folder .
-
Open the solution
Image_Source_Method_TestApp.sln
located atlocalPath\of_v0.11.2_vs2017_release\ImageSourceMethodTestApp\vstudio
This has been tested with Visual Studio 2017 (v141) and Windows SDK 10.0.17763.0. To be able to build the 'libsofa' project, add (using VS Installer) the Visual C++ build tool called "VC++ 2015.3 v140 toolset". -
Compile the project for the first time.
-
Run the project
Note 1: To run the project from VisualStudio, copy all the files from the folder
localPath\of_v0.11.2_vs2017_release\ImageSourceMethodTestApp\resources
into the same folder as the project solution or the folder containing the exe file if you are going to run it directly.
Note 2: The use of the third party library Libsofa may require the user to add to the environment variable PATH the absolute path of the folder containing the libsofa libs. For example, in a 64-bit Microsoft Windows, you can find that folder in 3dti_AudioToolkit\3dti_ResourceManager\third_party_libraries\sofacoustics\libsofa\dependencies\lib\win\x64
This project has received funding from the Spanish National Project SAVLab, under grant No. PID2019-107854GB-I00.