Bink SDK 1.5v

# Bink Examples for the Xbox

#### Discussion

The Bink SDK supplies several example programs for Xbox. To create these examples in Visual C, just create a new project and include the appropriate C source file (ExamXbox.C, for example), and then add the Bink for Xbox static library to the project (BinkXbox.LIB or BinkXbox.LTCG.LIB).
The following is a list of the example files that you can experiment with:
For an example of using an overlay to display the Bink video, see the "ExamXbox.C" file. This is the best way to get simple video playback into your game quickly.
For an example of using a YUV Direct3D texture to display the Bink video, see the "ExamXTex.C" file. This example uses our simple Direct3D wrapper, so be sure to also add the "XBXRAD3D.CPP" file to your project.
For an example of using a Bink alpha plane with Direct3D, see the "ExamXAlf.C" file. This example uses our simple Direct3D wrapper, so be sure to also add the "XBXRAD3D.CPP" file to your project.
For an example of having Bink copy directly onto the Direct3D back buffer, see the "ExamXbb.C" file. Overlays are almost always preferable to this option, however.

Previous Topic (Sharing the CPU on the Xbox)

Group: The Xbox Platform
Related Sections: Alpha Planes, Direct3D, OpenGL

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.