OK I'll admit I'm new to this IRRLICHT thing. But it sure does look good to me. I've been struggling through the tutorials and I'm just plain stuck
I would like to use an IRR file (as in loading IRR files tutorial), but when I use any texture other than the #default_font, it won't load. Fortunately the DOS window shows what is or isn't happening. The meshes load OK, but not the textures. Where am I going wrong??
All help would be greatly appreciated.
probably a lame question, but...
I'm also new to Irrlicht, but I had some problems with textures myself: the textures couldn't load if they were in an other directory than the one the mesh is in. Also, if I made a level or mesh and I added textures, I use the textures from the same directory I wanted to store the mesh. And also some texture formats aren't supported by Irrlicht (I had problems with .GIFF files).
Hope it helped you out, but I'm a noob myself, so actually you better don't trust my oppinion
Hope it helped you out, but I'm a noob myself, so actually you better don't trust my oppinion
in the .x models you can specify in wich directory they are.
Compete or join in irrlichts monthly screenshot competition!
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Blog/site: http://rex.4vandorp.eu
Company: http://www.islandworks.eu/, InCourse
Twitter: @strong99
Thanks for the quick response. I have modified the code from the tutorial only slightly to put in an IRR file that I oput together in IRREDIT 0.6.
smgr->loadScene("../../media/iala.irr");
I have all the textures in the same folder ../../media/.
I just can't understand, 'cause the meshes are MD2 files and I'm loading them from a completely different drive.
smgr->loadScene("../../media/iala.irr");
I have all the textures in the same folder ../../media/.
I just can't understand, 'cause the meshes are MD2 files and I'm loading them from a completely different drive.
I'm using IRREDIT0.6 to put the whole scene together. I have located the tutorial's exe in the \bin\Win32-VisualStudio folder, so I put the textures in there as well. Still only loads the default textures. It keeps saying it can't open the file of the texture and gives the path, but the path is correct. Mmmmmmmmmmmmmmmmmmmmmmmmmmm