Colors and 3D Models

Blitz3D Forums/Blitz3D Beginners Area/Colors and 3D Models

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.

Hello!
I have a 3D model with colors and textures.
But when I show it in Blitz, the most of the colors don't appear! My code:

Type boter
Field name$
Field file$
Field dsrc$
Field model
End Type

[...]

player.boter = New boter
dfile = ReadFile(mybot$)

player\dsrc$ = mybot$
player\name$ = ReadLine(dfile)
player\file$ = ReadLine(dfile)

CloseFile dfile

cam = CreateCamera()

player\model = LoadMesh(path$+"GFX\3D\"+player\file$)
PositionEntity player\model,0,0,5

Cls
UpdateWorld
RenderWorld
Text 0,0,player\name$
Flip

WaitKey

End

My model is in .x format. Can you help me?