|
|
|
|
| |
More Bump Mapping on the ATI Rage128
with Direct3D
|
|
|
The R128BumpMap2 sample program uses multitexturing to perform the popular emboss style of bump mapping. The technique uses a single-pass on the Rage 128 and is similar to the first bump mapping example, but allows the user to choose an arbitrary .X file as the geometry on which to apply the bump map. There is also a choice of bump maps available to use for this example. The figures below show R128BumpMap2 in action.
|
|
|
| Figure 1 |
Figure 2 |
|
The steps used in R128BumpMap2 to implement bump mapping are the same as those in R128BumpMap. Please refer to that example for the method. The program starts up with an Open File Dialog box which allows you to select a .X file as the object to bump. There will be a light rotating around this bump mapped object, and this will show the effects of the changing light on the peturbations.
R128BumpMap2 Controls
- F1 - Help
- F2 - Select Driver/Device/Mode
- F3 - Cycle through the different bump maps
- [ALT]+[ENTER] - Toggle fullscreen/windowed
- Arrow keys - Rotate object around x and y axes
- Left mouse drag - Move light source in x and y
- [ALT]+[F]+[O] - Access menu to load a new .X file
- [ESC] - Quit
Downloads
DirectX 6 project file, source, executable, and support files
|
| |
 |
|
|
|