Discardable Depth Stencils; Depth Tuning Help - Philips DirectX Visualizer User Manual

Directx visualizer
Table of Contents

Advertisement

DirectX Visualizer
6.9
6.9
6.9
6.9

Discardable depth stencils

Discardable depth stencils are depth stencils that lose their data as soon as they are no longer the
active depth stencil. These depth stencils are not compatible with the Visualizer and a warning will be
written to the log if the application is using them.
RetrieveDfromZbufferBinary getting depth from depth stencil 0x001E9E40
Detected multisample type 1 for depth buffer; using intermediate depth stencil for
depth extraction
WARNING: StretchRect failed with error 'INVALIDCALL' when trying to downsample the
multisampled depth stencil.
The application probably created the depth stencil as discardable.
Either turn off multisampling or set RefuseDiscardableDepthStencils=1 in the
configuration file.
Condition 0x0161AC00: reset, restarting with condition 1
It is usually a better option to turn off multisampling than it is to use RefuseDiscardableDepthStencils
in the configuration file. The latter can have a very large and non-constant negative effect on
performance.
6.10
6.10
6.10
6.10

Depth tuning help

When the EnableDepthTuningHelp option is set to 1 the Visualizer will give certain depth values in the
depth map a different color to help you tune both the range of interest (6.11) as well as the
FarNearRatio value (6.12). To see the depth map, either switch to the depth-only mode using the 3D
toggle key (6.13) or run the application on a regular 2D display.
Option name
Option name
Option name
Option name
EnableDepthTuningHelp
Colors are assigned to four depth values. Enabling these colors does not affect the depth values used
by the display.
Disparity
Disparity
Color
Color
Disparity
Disparity
Color
Color
255
red
191
purple
128
green
64
cyan
©2005-2009 Philips Electronics Nederland B.V.
Figure 4: log file fragment including warning
Possible values
Possible values
Default value
Default value
Possible values
Possible values
Default value
Default value
0 or 1
0
Disparity value for objects that are furthest in front of the display (ZNearInterest)
Disparity value half-way between closest objects and the display plane
Disparity value for objects on the display plane (just like everything on a 2D display)
Disparity value half-way between furthest objects and the display plane
Description
Description
Description
Description
Whether to use the special colors in the depth
map for certain disparity values (1) or not (0).
Description
Description
Description
Description
3D Solutions
01 April 2009
15 of 26

Advertisement

Table of Contents
loading

Table of Contents