#include "ObjConverter.h" #include using namespace std; static string model_path("data/city/model/"); int main(int argc, char* argv[]) { int returnCode = 0; ObjConverter converter; cout << "converting obj to dem format" << endl; /* if (!converter.Convert(model_path + argv[1], model_path + argv[2])) { cerr << "conversion failed" << endl; exit(0); } */ //if (!converter.Convert(model_path + "toyplane.obj", model_path + "toyplane.dem")) // cerr << "conversion failed" << endl; //if (!converter.Convert(model_path + "sky.obj", model_path + "sky.dem")) // cerr << "conversion failed" << endl; if (!converter.Convert(model_path + "city_full.obj", model_path + "city_full.dem")) cerr << "conversion failed" << endl; cout << "conversion successful" << endl; return 0; }