Creating a dice in code?

Blitz3D Forums/Blitz3D Programming/Creating a dice in code?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

How do you cube map the numbers onto it in code?

ie.
dim side(6)
for a=1 to 6
side(a)=createtexture(128,128)
setbuffer texturebuffer(side(a)
s$=str(a)
text (128-stringwidth(s$))/2,(128-stringheight(s$))/2,s$
************* WHAT COMMAND GOES HERE TO PLACE THE
************* TEXTURE ON SIDE N OF THE CUBE
next