Share via


D3D Fixed Point Data

Send Feedback

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

Usage

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 CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\Directx\d3dm\tutorials\Tut06_fixedpoint\``tut06_fixedpoint.sln

    Microsoft Visual Studio 2005 launches and loads the solution.

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

  3. Deploy the solution (F5).

Remarks

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.

Requirements

Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.

See Also

Code Samples | D3D Create Device (tut01_createdevice) | D3D Vertices (tut02_vertices) | D3D Matrices (tut03_matrices) | D3D Dynamic Lighting (tut04_lights) | D3D Texture Mapping (tut05_textures)

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.