DirectX Visualizer
3D Solutions
01 April 2009
©2005-2009 Philips Electronics Nederland B.V.
23 of 26
Now we scroll further down to a part that was guaranteed to be an in-game frame and not a frame
during navigation of the game’s menu.
5
The log file fragment below shows all messages logged between
the end of one frame upto the end of the next one.
Presenting...
Application setting rendertarget (index = 0): 0x0056D160 (1600x1200)
Application setting depth stencil surface: 0x00000000 (0x0)
Application calling Clear(): Color=0xff000000
Application setting depth stencil surface: 0x0056D200 (1600x1200)
Application setting rendertarget (index = 0): 0x1896C540 (1600x1200)
Application calling Clear(): Color=0x00000000
Application setting rendertarget (index = 0): 0x18973FA0 (1600x1200)
Application calling Clear(): Color=0x00000000 Z=1.000000 Stencil= 0
Application setting rendertarget (index = 0): 0x188F37E0 (1600x1200)
Application calling Clear(): Color=0x00000000
Application setting rendertarget (index = 0): 0x18966EC0 (1600x1200)
Application setting rendertarget (index = 0): 0x18966EC0 (1600x1200)
Application setting rendertarget (index = 0): 0x18973FA0 (1600x1200)
Application calling Clear(): Stencil= 0
Application setting rendertarget (index = 0): 0x18966EC0 (1600x1200)
Application calling Clear(): Color=0xffffffff
Application setting rendertarget (index = 0): 0x188FBA20 (1024x1024)
Application setting depth stencil surface: 0x1896CD80 (1024x1024)
Application calling Clear(): Z=1.000000
Application setting rendertarget (index = 0): 0x18966EC0 (1600x1200)
Application setting depth stencil surface: 0x0056D200 (1600x1200)
Application calling Clear(): Stencil= 0
Application setting rendertarget (index = 0): 0x18966EC0 (1600x1200)
Application setting rendertarget (index = 0): 0x18973FA0 (1600x1200)
Application setting depth stencil surface: 0x0056D200 (1600x1200)
Application setting rendertarget (index = 0): 0x18973FA0 (1600x1200)
Application setting rendertarget (index = 0): 0x18973FA0 (1600x1200)
Application calling Clear(): Stencil= 0
Application calling Clear(): Z=1.000000 Stencil= 0
Application setting rendertarget (index = 0): 0x188FC620 (534x400)
5
A sure way to find an in-game frame in the log file is to press one of the visualizer’s keys while in the game. This
will write a message to the log file that can be used to locate the messages logged for the frame at the time the
key was pressed. The message logged when the ZNearInterestUpKey is pressed for instance starts with “Z near
interest”, which is a substring unique to changes in ZNearInterest by the user.