I need more information.
What format/program are you exporting from?
The .X format does not use internal textures. You define materials and can specify what image files to use. These image files can be absolute or relative paths. Relative is prefered, since the user can install the game just about anywhere, that's why you see most .X files and their texture images in the same directory.
When loaded into DB, the parser will automatically load the specified images in with the model and assign them.
Example of a white, full alpha material that uses an image:
Material A {
1.000000;1.000000;1.000000;1.000000;;
10.000000;
1.000000;1.000000;1.000000;;
0.000000;0.000000;0.000000;;
TextureFilename {
"rl_texture.bmp";
}
}
--
TAZ
"Do you think it is wise to provoke him?" "It's what I do." -- Stargate SG-1