SET THE TRANSPARENCY OF THE 3D OBJECT NUMBER N
ACTION
The command 3D_TRANSPARENT N,T changes the transparency of the 3D object designated by its number. The value goes from 0 to 255, 0 for an opaque object and 255 for a transparent object.
Remark: a 3D object is opaque when created.
SYNTAX:
3D_TRANSPARENT N,T
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem create a cube (3D object number 1) with side length of 1.5
3d_cube 1,1.5
rem wait for 1 second
wait 1000
rem make it half-transparent
3d_transparent 1,128
3D_TRANSPARENT
3D_TRANSPARENT N,T
SEE ALSO
-