I am making a 3D game, and a map-editor that should save the maps in a file.
I have trouble in loading the model in the game.
No error occurs, but the model won't be drawn.
My code for loading the map is:
name=filename+".d3d"; //filename is asked to the player earlier, using get_string(str). It has no extension. mworld=d3d_model_create(); d3d_model_load(mworld,name);in the draw event is the code:
I have tried save the loaded model again.
This gives a file with just as many lines of code as the file the model is loaded from, but exept vor the start values, all the values in this file are zero.
Does somebody know what i did wrong?