Using Multiple View Ports in DirectX 8
Version Compatibility: Visual Basic 6
This is an example of how to use multiple view ports in DirectX 8. A view port can be very useful in some cases, for example if you've written a car racing game and want to implement a rear view mirror. From the MSDN .NET Framework Developer Center, "A view port is a rectangle that defines how a 3-D scene is rendered into a 2-D window. A view port also defines an area on a device into which objects are rendered".
Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.