These are instructions for texturing an object in TrueSpace 4.3. It's probably not too different in 3.2:
1. Make a square .bmp in a power of two, e.g. 32x32, 64x64, 128x128 or 256x256 pixels. Put it in the same directory as your .X object.
2. Start new scene.
3. Load your .x object. If you don't have one made yet, go to primitives menu and click on cube.
4. Now to make the UV data. (If you're just using a primitive cube you can skip to step 5. The primitives already have UV data.)
4a. Click on UV Projection (piece of cheese wearing a green diving mask).
4b. Click on the cylinder.
4c. Line it up how you want. If your object has a front, put the "seam" in the back.
4d. Click on Apply. Now on to the actual texturing...
5. Right click on Paint Object (purple funnel).
6. Left click on first sphere in Shaders window.
7. Click on texture map.
8. Right click on first sphere in Shaders windows.
9. Left click on long bar across the top that has texture name in it.
10. Select the texture you made.
11. Left click on Paint Object.
Your object is now textured. If the texture's not on there right, fiddle with the values of U Repts, V Repts, U Offset and V Offset and left click on Paint Object again until it looks how you want. If it's totally screwed up, go back to step 4 and try something other than the cylinder. To make it viewable in DB:
12. Click on File
13. Save object as....
14. Select .x format and name file
15. Save to same directory that your .bmp file is in. Important!
16. Check mark "Triangulate all faces" in the DirectX Export Settings window (seems to be optional, but couldn't hurt.)
17. Exit tS.
18. Load the .dba file that loads your object and there it is, all textured!
REMINDER: Your .x file and the .bmp you textured it with need to be in the same directory. And if they're not in the same directory as your .dba file, your program needs to specify the correct path to find them.
Texture your individual components before you glue them together and animate them. For a great tutorial on that, see
http://www.planetofthegeeks.com/darkbasic/ik_tutorial.html