Subversion Repositories gelsvn

Rev

Rev 97 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 97 Rev 105
Line 26... Line 26...
26
		ae.extract("-x", X);
26
		ae.extract("-x", X);
27
		int Y  = 128;
27
		int Y  = 128;
28
		ae.extract("-y", Y);
28
		ae.extract("-y", Y);
29
		int Z  = 62;
29
		int Z  = 62;
30
		ae.extract("-z", Z);
30
		ae.extract("-z", Z);
31
		string file = ae.get_last_arg();
31
		string file;
-
 
32
		if(ae.no_remaining_args()<2) 
32
		if(file=="") file ="../../data/teddybear.raw";
33
				file ="../../data/teddybear.raw";
-
 
34
		else
-
 
35
				file = ae.get_last_arg();
33
		
36
		
34
		RGridb grid(Vec3i(X,Y,Z));
37
		RGridb grid(Vec3i(X,Y,Z));
-
 
38
		cout << "loading " << file << endl;
35
		load_raw(file,grid);
39
		load_raw(file,grid);
36
		
40
		
37
		
41
		
38
		cout << "Polygonizing, iso = " << iso << endl;
42
		cout << "Polygonizing, iso = " << iso << endl;
39
		Manifold mani;
43
		Manifold mani;