ATI Rage128 Sample Code and Demos
Sample Code
- Direct3D and DirectShow Samples
All of these samples were built on the basic Direct3D
sample framework that is provided with the DirectX®
6 SDK. Certain elements have been added or changed
to enhance functionality for some of the samples.
Such additions and changes are documented in the program
using those changes.
-
- R128BumpMap
- Using multitexturing to do emboss bump mapping
- R128BumpMap2
- More emboss bump mapping with .X files
- R128GlossMap
- Using multitexturing to do gloss mapping
- R128Funky
- Using multitexturing for retro caustics effect
- R128LightMap
- Using multitexturing for light mapping
- R128Plasma
- Using multitexturing for a plasma effect
- R128ChromeMap
- Using environment mapping for a chrome effect
- R128Reflect
- Using stencil buffer for enhancing reflection
effects
- R128AlphaTest
- Using the alpha test for transparency
- R128VidTex1
- Use arbitrary video streams as textures via
Direct3D and DirectShow
- R128StenFX
- Use the stencil buffer to dissolve between still
frames
- R128Dissolve3D
- Use the stencil buffer to dissolve between real-time
3D scenes
- R128RenderTexture
- Use rendering to textures for feedback effects
- R128Portal
- Use rendering to textures to create a portal
effect
All of these samples were built on the basic Direct3D
sample framework that is provided with the DirectX®
7 SDK. Certain elements have been added or changed
to enhance functionality for some of the samples. Such
additions and changes are documented in the program using
those changes.
|
Important caution regarding the DirectX® 7 SDK:
The file D3DTextr.cpp in the DirectX® 7 SDK directory
samples\Multimedia\D3DIM\Src\D3DFrame directory contains
a bug in the TextureContainer::LoadTargaFile method that
causes the m_bHasAlpha flag to be set incorrectly. If
this bug is not corrected, all of the following samples
that use texture alpha will not function properly.
To correct the problem, the following statement at line
423:
|
if( m_pRGBAData[i] & 0x000000ff != 0xff )
should be changed to:
if( ( m_pRGBAData[i] & 0x000000ff ) != 0xff )
|
- The Rage128SDK directory Sample Code\DirectX\DirectX®
7\D3DIM\Src\D3DFrame contains a corrected version
of D3DTextr.cpp, and the directory Sample Code\DirectX\DirectX7\D3DIM\lib
contains a Release build of d3dframe.lib using the
corrected file. The Rage128SDK DirectX® 7 samples
have been configured to link to this file.
-
|
- Simple OpenGL® Samples for Win32
-
-
|
- OpenGL® Demos
-
- Pear
Demo - This demo uses a variety of photorealistic
visual effects.
- ATI_Terrain
- This demo does a terrain visualization.
It includes source describing how to maximize
polygon throughput on the Rage128.
|