Platform SDK: DirectX

BumpWaves Sample

[Visual Basic]

This topic pertains only to application development in C++. See Direct3D Immediate Mode Visual Basic Samples.

[C++]

Description

The BumpWaves sample simulates reflections off waves, using bump mapping.

Path

Source: (SDK root)\Samples\Multimedia\D3dim\Src\BumpWaves

Executable: (SDK root)\Samples\Multimedia\D3dim\Bin\BumpWaves.exe

User's Guide

Press F1 to see available keystroke commands, or choose from the menu.

Your graphics hardware might not support bump mapping; if not, Direct3D displays a message to that effect when you attempt to run this sample. The solution is to enable the reference rasterizer. You can do so by running (SDK root)\Samples\Multimedia\D3dim\Bin\Enablerefrast.reg.

Programming Notes

For more information, see Bump Mapping and the BumpEarth Sample.

The sample was built using the Direct3D sample framework.