| |
Portal rendering on the ATI Rage128
with Direct3D
|
The R128Portal sample program uses the ATI Rage128 to render a scene into a texture, and then uses that texture to show that scene through a portal of the current scene. Figure 1 shows R128Portal in action.
|
|
Figure 1 - Portal rendering.
|
|
R128Portal first renders a scene showing a gazebo in a field on to a texture surface. It then uses that scene as the texture with which to render the hexagon representing the portal in the space scene. Alpha testing is used to create the pulsing edge effect, and alpha blending to give the pattern on the portal.
- R128Portal Controls
-
- F1 - Help
- F2 - Select Driver/Device/Mode
- [A,D] - Turn the portal left/right
- [Up,Down] - Zoom into/out of gazebo scene
- [ALT]+[ENTER] - Toggle fullscreen/windowed
- [ESC] - Quit
Downloads
DirectX 6 project file, source, executable, and support files
|
| |