VM Labs SDK Sample Code

\vmlabs\sample\M3dl\Alpha-Blending

Copyright © 2000-2001 VM Labs, Inc.  All Rights Reserved

March 2, 2001


This program demonstrates how the alpha channel of an object's color values can be used to control the opacity of the object.

A gray rectangle is drawn in front of a black and white checkerboard pattern.  Using the controller, the user can manipulate the color values and alpha channel value for each corner of the object.

Filename Description
ckrbd.bmp Bitmap for checker board background.  We use a large full-screen bitmap because you may wish to alter it to include different colors or detailed textures so that you can see the effect.  This file is converted to the proper format as part of the program build process.
datafile.s Assembly file that includes sample images as binary data.
makefile MAKEFILE for building and running sample program.
transparency.c Main program code for sample.
transparency.h Contains a variety of definitions used throughout the program

 


Before attempting to load or run any of the SDK samples, make sure you have first read the Hitchhiker's Guide To NUON document.  

After that, if you're still having trouble getting this sample program to work,  click here to request assistance from developer support.

Click here for other online SDK documentation.