Subversion Repositories gelsvn

Rev

Rev 336 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 336 Rev 356
Line 53... Line 53...
53
	}
53
	}
54
	avg_length /= m.no_halfedges();
54
	avg_length /= m.no_halfedges();
55
	
55
	
56
	cout << "Perform quadric based simplification ... " << endl;
56
	cout << "Perform quadric based simplification ... " << endl;
57
	if(argc>2)
57
	if(argc>2)
58
		quadric_simplify(m,atoi(argv[2]));
58
		quadric_simplify(m,atoi(argv[2]),0.05, true);
59
	else
59
	else
60
		quadric_simplify(m,10000);
60
		quadric_simplify(m,10000);
61
	
61
	
62
	cout << "Removing caps and needles ... " << endl;
62
	cout << "Removing caps and needles ... " << endl;
63
	remove_caps_from_trimesh(m, static_cast<float>(M_PI) * 0.85f);
63
	remove_caps_from_trimesh(m, static_cast<float>(M_PI) * 0.85f);