D3D Fixed Point Data

Windows Mobile SupportedWindows Embedded CE Not Supported


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.

Feature Area

Relevant APIs


To run the code sample

  1. 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.

  2. Build the solution (Ctrl+Shift+B).

  3. 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.

Development Environments

Pocket PC SDK: Windows Mobile 6 Professional SDK 

Development Environment: Visual Studio 2005.

ActiveSync: Version 4.5.

See Also



Code Samples for Windows Mobile
D3D Create Device
D3D Vertices
D3D Matrices
D3D Dynamic Lighting
D3D Texture Mapping