#include "model.h" #include Model *Model::s_pModel = 0; bool Model::Init() { char* t3DFiles[NUM_MODELS] = {"space.3ds"}; #if 0 // load each model file for (int i=0; i 0) { // Use the name of the texture file to load the bitmap, with a texture ID (i). // We pass in our global texture array, the name of the texture, and an ID to reference it. // CreateTexture(g_Texture, g_3DModel.pMaterials[i].strFile, i); //_models[i].texture.LoadTIFF cout << "Texture " << j << ": " << _models[i]._3DModel.pMaterials[j].strFile << endl; } } } #endif cout << "Init Model" << endl; for (int i=0; i