Cross Fading on the ATI Rage128 with
OpenGL
|
|
|
The Rage128CrossFade sample program uses the stencil buffer to do cross fade effects in OpenGL as shown below. The scene with the red torus (shown against a pre-rendered backdrop) cross fades to the scene with the green torus.
|
|
|
|
|
|
Screenshot during cross fade
|
|
|
|
- Rage128CrossFade Controls
- [SPACE] - Begin cross-fade
- + - Increase band between scenes during cross fade
- - - Decrease band between scenes during cross fade
- S - Grab a snapshot of the stencil buffer
- [ESC] - Quit
Building and Running Rage128CrossFade
Please see the page Building OpenGL Samples.
Win32 Downloads
Project file, source, executable, and support files (623 kb)
Shared source and include files (31 kb)
|