Subversion Repositories gelsvn

Rev

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

Rev 157 Rev 169
Line 38... Line 38...
38
		load_raw(file,grid);
38
		load_raw(file,grid);
39
		
39
		
40
		
40
		
41
		cout << "Polygonizing, iso = " << iso << endl;
41
		cout << "Polygonizing, iso = " << iso << endl;
42
		Manifold mani;
42
		Manifold mani;
43
		fair_polygonize(grid, mani, iso);
43
		cuberille_polygonize(grid, mani, iso, false, true, true);
44
 
-
 
45
		cout << "Removing caps and needles ... " << endl;
-
 
46
		remove_caps_from_trimesh(mani, M_PI * 0.85);
-
 
47
		remove_needles_from_trimesh(mani, 1e-2);
-
 
48
		
44
		
49
		cout << "Saving" << endl;
45
		cout << "Saving" << endl;
50
		obj_save("../../data/isosurf.obj", mani);
46
		x3d_save("isosurf.x3d", mani);
51
}
47
}