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.
- Presenting a Scene
To run the code sample
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.
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.
Pocket PC SDK: Windows Mobile 5.0 Pocket PC SDK.
Development Environment: Visual Studio 2005.
ActiveSync: Version 4.0.
Send Feedback on this topic to the authors