OK, here's how it's done:
Rem Text On Object Snippet (DBC)
Rem (c) TDK Jan 2007
Rem V1 - Texture Whole Object
Gosub Setup
Input "Please Enter a Word: ";Word$
CLS
Gosub Create_Texture
Gosub Create_Object
Do
YRotate Object 1,WrapValue(Object Angle Y(1)+1)
Sync
Loop
Create_Texture:
Create Bitmap 1,320,200
CLS RGB(255,0,0)
Text 2,0,Word$
TW=Text Width(Word$)
TH=Text Height(Word$)
Get Image 1,0,0,TW+4,TH+2
Set Current Bitmap 0
Delete Bitmap 1
Return
Create_Object:
Make Object Box 1,10,6,6
Texture Object 1,1
Return
Setup:
Set Display Mode 800,600,16
Sync On: Sync Rate 0: CLS 0
AutoCam Off
Position Camera 0,5,-20
Point Camera 0,0,0
Return
As you can see, all six sides of the box are textured. You can't specify just one side.
To get around this, you create a plain as well as the box and glue the plain on the front of the box. You then texture the plain - not the box.
Rem Text On Object Snippet (DBC)
Rem (c) TDK Jan 2007
Rem V2 - Texture One Side Of Object
Gosub Setup
Input "Please Enter a Word: ";Word$
CLS
Gosub Create_Texture
Gosub Create_Object
Do
YRotate Object 1,WrapValue(Object Angle Y(1)+1)
Sync
Loop
Create_Texture:
Create Bitmap 1,320,200
CLS RGB(255,0,0)
Text 2,0,Word$
TW=Text Width(Word$)
TH=Text Height(Word$)
Get Image 1,0,0,TW+4,TH+2
Set Current Bitmap 0
Delete Bitmap 1
Return
Create_Object:
Make Object Box 1,10,6,6: Color Object 1,RGB(255,0,0)
Make Object Plain 2,10,6
Texture Object 2,1
GLUE OBJECT TO LIMB 2,1,0
OFFSET LIMB 2,0,0,0,-3.1
Return
Setup:
Set Display Mode 800,600,16
Sync On: Sync Rate 0: CLS 0
AutoCam Off
Position Camera 0,5,-20
Point Camera 0,0,0
Return
Finally...
Quote: "i'm sorry, but i'm not that good with bitmaps and functions"
I get the feeling you are trying to run before you can walk. Bitmaps and Functions are just part of the fundamentals of programming and in my opinion, you need to know things like that before you start working in 3D. If you don't you'll only come unstuck later on.
I seriously suggest that you spend some time reading some of the many tutorials before going any further. You won't regret it!
TDK_Man