How can Texture be enabled?

Hi, I have a texture problem when rendering a boeing747 model, after load the model , only a gray model displayed, how can i enable texture on the model?

Usually the modelling program should export the model with texture, if for some reason not, then at least i hope you have UV’s mapped.
Try:
panda3d.org/manual/index.php/S … eplacement

except, if you want the model to be exported with textures correctly then take a look at the texture path where the original texture file is and wether its accessible by the egg file(open up the eqq file in notepad and look for the texture name/path). If the egg file does not contain any texture name/path, then you should take a closer look on how the modelling program exports the model.

thanks ,enc
this is the head of the egg file

<Texture> Tex3 {
  BA_LEFT.JPG
  <Scalar> format { rgb }
  <Scalar> wrapu { repeat }
  <Scalar> wrapv { repeat }
  <Scalar> minfilter { linear_mipmap_linear }
  <Scalar> magfilter { linear }
  <Scalar> envtype { modulate }
  <Scalar> uv-name { m1 }
}
<Texture> Tex2 {
  BA.JPG
  <Scalar> format { rgb }
  <Scalar> wrapu { repeat }
  <Scalar> wrapv { repeat }
  <Scalar> minfilter { linear_mipmap_linear }
  <Scalar> magfilter { linear }
  <Scalar> envtype { modulate }
  <Scalar> uv-name { m1 }
}
<Texture> Tex1 {
  BLUE.JPG
  <Scalar> format { rgb }
  <Scalar> wrapu { repeat }
  <Scalar> wrapv { repeat }
  <Scalar> minfilter { linear_mipmap_linear }
  <Scalar> magfilter { linear }
  <Scalar> envtype { modulate }
  <Scalar> uv-name { m1 }
}

and i copy the texture img file to the models’s same directory, when i view the model with pview, the texture is correct, but in the code, actor’s findAllTextures() return empty and no texture added.

thanks for your clue, it’s ok now
I changed the path to panda’s full path