I've got a question about these two formats. I found out that if I load a .x mesh in Irrlicht, containing two cubes with the same material assigned in my modeling software, and put a texture in material(0) using code, only one cube gets textured. However there's only one single material assigned to 2 cubes.
It works with .3ds but not with .x models. Perhaps it's my exporter. Did anyone have the same problem?
.3ds and .x models materials
Ok, here's the file but it's in C# because I'm using the IrrCP wrapper. It might be the wrapper's bug.
http://www.orandysoftware.com/user_files/irrmattest.zip
There's 2 exes in the folder, one to load a .x and the other .3ds mesh. The mesh is simply 2 cubes, with one material assigned to both.
When I load the .3ds model and apply a texture to material(0), both cubes correctly gets it. The .x model however, only has a cube with the texture.
Perhaps it's my .x exporter as well.
http://www.orandysoftware.com/user_files/irrmattest.zip
There's 2 exes in the folder, one to load a .x and the other .3ds mesh. The mesh is simply 2 cubes, with one material assigned to both.
When I load the .3ds model and apply a texture to material(0), both cubes correctly gets it. The .x model however, only has a cube with the texture.
Perhaps it's my .x exporter as well.