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.
Has anyone else had this problem?
Is there something wrong with my programming or is it a bug?
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?