So I've been using BSP's for a while and decided to move over to B3D's for a change.
For the B3D's I'm making I'm using 3D World Studio 5.52. Right now it's just a simple box room with 1 bmp texture.
Here is the code I'm using to load the map (mesh):
Code: Select all
meshRoom = dvWindow->getSceneManager()->getMesh(ptrClient->room->chFileName);
nodeRoom = dvWindow->getSceneManager()->addOctTreeSceneNode(meshRoom->getMesh(0));
nodeRoom->setPosition(core::vector3df(0, 0, 0));
trgRoom = dvWindow->getSceneManager()->createOctTreeTriangleSelector(meshRoom->getMesh(0), nodeRoom, 128);
nodeRoom->setTriangleSelector(trgRoom);
trgRoom->drop();
With the B3D's this is what I'm seeing:
I know the textures aren't being loaded for some reason cause they obviously aren't showing up and if I try to load any shaders it will bomb on the part where it searches texture names.
My textures are in the same path as the B3D file and I don't get any errors in the console window.
Here is what the level looks like in 3D World Studio:
Thanks in advance.