Blender mesh textures don't work

Blitz3D Forums/Blitz3D Beginners Area/Blender mesh textures don't work

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.

I was trying to load a rocket for a game, but the texture doesn't work!

I exported the rocket from blender as a .x and loaded it. When I do the entitytexture command, it makes the rocket a single color rather than give it the texture. In this case the rocket was black with a white tip so instead of giving me a black rocket with a white tip, it gave me a grey rocket.

Graphics3D 640,480,0,2

cam = CreateCamera()
MoveEntity cam,0,0,-5
light = CreateLight()
RotateEntity light,90,0,0

rocket = LoadMesh("rocket.x")
tex = LoadTexture("rocket_tex.png")

EntityTexture rocket,tex
While Not KeyDown(1)
TurnEntity rocket,1,2,1

UpdateWorld()
RenderWorld()
Flip
Wend


Has anyone else had this problem?
Is there something wrong with my programming or is it a bug?