Appendix A: Configuring The Visualizer For A New Application - Philips DirectX Visualizer User Manual

Directx visualizer
Table of Contents

Advertisement

3D Solutions

Appendix A: Configuring the Visualizer for a new application

This is an example of the process we followed to get a certain game running with the Visualizer.
First we make sure that the application runs in the native resolution of the 3D display without the
Visualizer (1600x1200 in our case). Then we put the Visualizer in the right directory (as described in
section 3) together with a
[config]
EnableLogging=1
; This may be useful when in menus
3DToggleKey=F9
; Start at 0.5 already to increase the likelihood of variations of depth
; being visible without any tuning of ZNearInterest
ZNearInterest=0.5
ZNearInterestDownKey=F5
ZNearInterestUpKey=F6
ZFarInterestDownKey=F7
ZFarInterestUpKey=F8
ZRangeUpKey=PageUp
ZRangeDownKey=PageDown
We try to select keys that do not conflict with any of the game's controls.
After running the game for a short period with the Visualizer, we open the log file and look for
warnings generated by the Visualizer (search for the string "warning"). Only one is displayed in this
case:
Warning: inverse projection matrix not valid; using approximation.
Since there is no warning about switching back to the inverse projection matrix, this means that the
approximation is active for the duration of the game and FarNearRatio will need to be tuned to get a
proper depth impression (see 6.12).
01 April 2009
22 of 26
visualizer.ini
with the following content:
Figure 7: Initial Visualizer configuration
Figure 8: Initial Visualizer configuration
DirectX Visualizer
©2005-2009 Philips Electronics Nederland B.V.

Advertisement

Table of Contents
loading

Table of Contents