Our program is developed with GPU acceleration techniques. Thus some setup is needed to run our program.
1.1 Hardware requirement:
As a reference, all our experiments are done on a PC with a Pentium4 3.0, 1G main memory, and a GeForce 6600GT with 128M display memory.
1.2 Software:
As a reference, our software environment is Windows XP/DirectX 9.0c runtime/DirectX 9.0b SDK.
Download the .zip file from here and extract it in any directory.
To simplify the tutorial here, we assume the extracted files are in the directory C:/release. Here is the file list in this directory, shown as below. Check and confirm the files are all complete.
offline.exe |
the executable program to generate the offline texture database |
density_map |
the hair density map used in the hair style |
hlsl.fx |
the shading language file written in HLSL format |
Jessi.x |
the file containing the human head's mesh |
Rendering.exe |
the executable program to render the hair |
usage.txt |
keyboard and mouse usage during execution |
NOTICE: Please don’t change the directory structure. Otherwise our program may not be able to locate the input files and thus crash.
Execute C:/release/offline/offline.exe to generate the offline HRIR database, which is described in the Section V of this manual. This stage consumes about 2 hours, depending on the CPU performance. During its execution, a text window will show the current step.
Once done, a new file C:/release/offline_db will be generated, about 500MB in size. Please don't remove, modify or rename it.
In each C:/release/demoX directory, for example in C:/release/demo1, execute Rendering.exe. Since the size of offline database is quite large, several seconds are needed to load it into memory before the program actually starts its rendering.
Please pay attention to the usage.txt file in each C:/release/demoX directory.
We provide another version which can be run much easier. Download it (release_smaller_db.zip).
This version uses a smaller texture database (but with little quality loss) and the database file is attached within the .zip file. So the user needn't generate the databse manually which costs lots of hours. Directly run Rendering.exe in the .zip file.