This command will set the true alpha value of an object to a percentage value from 0 to 100.
Syntax
SET ALPHA MAPPING ON Object Number, Alpha Percentage
Parameters
Object Number
Integer The object number Alpha Percentage
Float Zero represents an alpha state that makes the object completely invisible. An alpha percentage of 100 will render the object fully visible
Returns
This command does not return a value.
Description
Zero represents an alpha state that makes the object completely invisible. An alpha percentage of 100 will render the object fully visible. A value between these limits will create a true transparency effect when the object is transparent, as set by the SET OBJECT TRANSPARENCY command.
Example Code
sync on : sync rate 60 : hide mouse:cls 0:color backdrop 0
fog on:fog color 0:set ambient light 50
ObjectNumber=2:ImageNumber=2
wire=0:trans=0:cull=0:fliter=0:light=0:fog=0:ambient=0
set global object creation 0
set dir "models"
load object "ast4.x",ObjectNumber
set object specular ObjectNumber,0