I´m using the following code to load a b3d map on irrlicht, everything works fine with a basic map created at 3d world studio, but when I add a model inside it I get some problems(you can see at the screenshot). Please let me know if I´m using the correct procedure.
PS.: I have all the textures at the directory and the console tells me everything loaded fine.
something "interisting", I´ve noticed that when I add the model: "earth.x" the b3d file size does not increase, so, I believe that the model is not "inside" the b3d file as I were thinking. So, I´ve put the model at the directory but the same error occurs. THen I trying editing the b3d file at wordpad and no references are being made to "earth.x" , as far as I can see cause it is a compiled file. So, what would be the correct procedure to the b3d file map loads the model?
There is no scene support in the b3d loader, I don't even know about a way to add scene support in b3d file format. Better use a real scene format, such as .irr or Collada.