DirectX Visualizer
3D Solutions
01 April 2009
18 of 26
©2005-2009 Philips Electronics Nederland B.V.
5.
remove ZRange key definitions from the configuration file to have them fall back to their
default “disabled”
6.
remove EnableLogging=1, EnableDepthTuningHelp=1 (and optionally DynamicZtoD=0) from
the configuration file
Note: Although the inverse projection matrix gives a 100% perspectively correct representation, it
may not give the best possible depth effect for certain applications. For example a lot of racing
simulators put the player’s view close to the surface of the road. In these games the player can see
nearby objects of less than a centimeter in size as well as faraway objects tens or hundreds of meters
long. Evenly distributing the depth that the display can show over the rendered scene would cause the
nearby part of the road, which covers a large part of the screen, to have no noticeable variation in
depth. In this case it is often better to set DynamicZtoD to 0 and tune FarNearRatio to sacrifice some
of the perspective correctness in exchange for a noticeable depth gradient in all parts of the scene.
Option name
Option name
Option name
Option name
Possible values
Possible values
Possible values
Possible values
Default value
Default value
Default value
Default value
Description
Description
Description
Description
DynamicZtoD
0 or 1
1
Whether to use the inverse projection matrix
(1) or not (0)
FarNearRatio
floating point value
between 2.0 and
32768.0
512.0
A value influencing the approximated function
for Z coordinate calculation
ZRangeResetKey
key
disabled
Key that resets FarNearRatio to the value it is
set to in the configuration file
ZRangeDownKey
key
disabled
Key that decreases FarNearRatio
ZRangeUpKey
key
disabled
Key that increases FarNearRatio
6.13
6.13
6.13
6.13
Switching between 2D, 3D and depth-only mode
Option name
Option name
Option name
Option name
Possible values
Possible values
Possible values
Possible values
Default value
Default value
Default value
Default value
Description
Description
Description
Description
3DToggleKey
key
disabled
Key that toggles between the different modes.
6.14
6.14
6.14
6.14
Rendering parameters in header
The header contains several parameters that influence the 3D rendering process in the display. These
parameters can also be set from the configuration file.