.x and 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
Criamon
Posts: 9
Joined: Fri Mar 26, 2004 10:41 am

.x and textures

Post by Criamon »

Hi,

a silly newbie question, just for better understanding:

Why do I have to call setMaterialTexture manually with x files to see textures on my mesh?
Isn't the information about the texture allready in the file?

I am just thinking of the additional work that I have do, loading meshes.

Or is there a way to autoload the textures with the information encapsulated in the file?

Thanks Cria
warui
Posts: 232
Joined: Wed Apr 14, 2004 12:06 pm
Location: Lodz, Poland
Contact:

Post by warui »

It should autoload. Check console output to see if everything is ok with texture path. Sometimes meshes are exported with paths like "c:\mymodel\data\skin.bmp" instead of "data\skin.bmp".
Tomasz Nowakowski
Openoko - www.openoko.pl
Post Reply