D3D Fixed Point Data
This code sample is named tut06_fixedpoint. It is the sixth in a series of tutorials on using Direct3D Mobile. It builds upon the previous tutorials in that it demonstrates the use of lighting, texture mapping, and matrix transformations — however, whereas the previous samples submitted numerical data to D3DM in floating point format, this sample instead submits fixed point data.
Navigate to the solution file (*.sln), and double-click it. By default, the solution file is copied to the following folder:
C:\Program Files\Windows Mobile 6 SDK\Samples\PocketPC\CPP\win32\directx\d3dm\tutorials\tut06_fixedpoint
Microsoft Visual Studio 2005 launches and loads the solution.
Build the solution (Ctrl+Shift+B).
Deploy the solution (F5).
The tut06_fixedpoint code sample is an extension of tut05_textures.
One of the key features of Direct3D Mobile is its ability to accept both floating point and fixed point (16.16) data types. The support for fixed point data is beneficial for platforms that do not contain floating point hardware.