Texture mapped incorrectly in irrlicht

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Clone256
Posts: 11
Joined: Thu Oct 13, 2005 9:20 pm

Texture mapped incorrectly in irrlicht

Post by Clone256 »

I created a model of a building in Milkshape 1.7.8 and used the texture coordinate editor to get the texture the way i wanted it.

When i load the model in irrlicht, any side of the building that i edited in the texture coordinate editor only displays a small part of the texture area i selected in milkshape.

The side of the building looks ok in Milkshape, just not in irrlicht.
I exported it in .x format.

Even the sides that only have 2 faces dont texture right in irrlicht.
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

did you try opening and re-saving the file in
microsoft's x viewer
, and is your texture a power of two wide and tall? for static geometry I recommend a non-animated format like obj or 3ds anyway.
Submit bugs/patches to the tracker!
Need help right now? Visit the chat room
Clone256
Posts: 11
Joined: Thu Oct 13, 2005 9:20 pm

Post by Clone256 »

Oops.

I used the right texture file in milkshape, but forgot to change the name in irrlicht. I had edited the file and saved it as a different name.

Thanks for the reply though. It caused me to stumble on to my mistake and i guess i'll still change to 3ds. :)
Post Reply