APPLIES TO THE 3D OBJECT NUMBER N THE TEXTURE IN THE FILE F
ACTION
The command 3D_LOAD_TEXTURE N,F assigns a texture to an existing 3D object.
The texture is in the file F.
The file must be in BMP format (Bitmap).
SYNTAX:
3D_LOAD_TEXTURE N,F
USE ERROR EXAMPLE
rem create a 3D world
scene3d 1
rem resize the 3D world
width 1,300:height 1,300
rem place the camera
cam_position 5,10,10
rem create a sphere
3d_sphere 1,2
rem wait for 1 second
wait 1000
rem give it a texture
3d_load_texture 1,"earth.bmp"
3D_LOAD_TEXTURE
3D_LOAD_TEXTURE N,F
SEE ALSO
3D_LOAD_OBJECT