Revision 3155,
531 bytes
checked in by mattausch, 16 years ago
(diff) |
improved valid sample detection not workign yet
|
Line | |
---|
1 | #include "VboFormatConverter.h"
|
---|
2 | #include <iostream>
|
---|
3 | #include <time.h>
|
---|
4 |
|
---|
5 | using namespace std;
|
---|
6 |
|
---|
7 | static string model_path("data/city/model/");
|
---|
8 |
|
---|
9 | int main(int argc, char* argv[])
|
---|
10 | {
|
---|
11 | int returnCode = 0;
|
---|
12 |
|
---|
13 | VboFormatConverter converter;
|
---|
14 |
|
---|
15 | cout << "converting obj to dem format" << endl;
|
---|
16 |
|
---|
17 | if (!converter.Convert(model_path + argv[1], model_path + argv[2]))
|
---|
18 | {
|
---|
19 | cerr << "conversion failed" << endl;
|
---|
20 |
|
---|
21 | std::cin.get();
|
---|
22 | exit(0);
|
---|
23 | }
|
---|
24 |
|
---|
25 | //std::cin.get();
|
---|
26 | cout << "conversion successful" << endl;
|
---|
27 |
|
---|
28 | return 0;
|
---|
29 | }
|
---|
30 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.