Models with multiple textures

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
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Models with multiple textures

Post by Mercior »

Is it possible to texture models in Irrlicht with multiple textures? The model I want to use is a player weapon model and the ms3d file has several material groups each with its own texture (ie a texture for the hands, one for the gun, etc). Irrlicht doesn't seem to load any textures or materials from the ms3d file and setTexture maps the whole mesh with 1 image.

I can't even make a single texture map for the model because it is made up of multiple meshes, and each needs its own uvw map..
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

.x files do support this feature. In Milskshape, you can export your model as .x file, I think. .x-File animation is currently a little bit buggy, but I already fixed lots of bugs and create a patch soon.
Mercior
Posts: 100
Joined: Tue Feb 24, 2004 1:53 am
Location: UK
Contact:

Post by Mercior »

Awesome :)
Post Reply