DirectX Visualizer
3D Solutions
01 April 2009
©2005-2009 Philips Electronics Nederland B.V.
9 of 26
5555
Configuration file
Once the application loads the Visualizer when it starts up it is time to configure the Visualizer. The
Visualizer needs to be tuned specifically for each application that it is used with.
The Visualizer reads settings from a file called
visualizer.ini
if it is present. This file needs to be placed
in the same directory as the Visualizer DLL. As mentioned before, this is usually the directory where
the application executable is located. If no configuration file is found, default settings will be used.
The configuration file complies with the format of a standard Microsoft Windows .ini file. It should
start with the declaration of a section (always [Config] for this Visualizer), followed by a list of options
and their values. Any lines that start with a semi-colon are ignored and can be used to add comments.
Figure 2 shows an example of such a configuration file.
Figure 2: visualizer.ini example
[Config]
; Enable logging
EnableLogging=1
; Use the ‘3’ key to toggle between 2D, 3D and depth only mode
3DToggleKey = 3