I've tried the pandasoft exporter, and the SDK exporter, but both of them give me the same error.
I created a box, added a gradient texture, then exported it, but when I try to load it in the game, I get an error:
Code:
//Loads the cube.x file into the meshbuilder.
if (FAILED(MeshBuilder->Load(cubename, NULL, D3DRMLOAD_FROMFILE, NULL, NULL))){
MessageBox(NULL, "Error: Could not load the cube. Maybe the file could not be found.",
"Error!", MB_OK);
return NULL;
}
Thats a little function I made, it works fine for other models that came with the SDK, but when I try and load a model from 3DS Max, it gives me the MessageBox.