DirectX SDK

EnvCube Sample

[Visual Basic]

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

[C++]

Description

This sample shows how to implement cube mapping, which is a new environment-mapping technique implemented in DirectX 7.0.

Path

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

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

User's Guide

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

Programming Notes

A cube map is a special texture surface created by rendering a scene in six orthogonal directions. It is then used for traditional environment-mapping effects.