Normand Briere
2019-09-18 f9325048496d7cdbcad233f8a6b84c88e79adcc2
BoundaryRep.java
....@@ -7,7 +7,8 @@
77
88 class BoundaryRep implements java.io.Serializable
99 {
10
- static final long serialVersionUID = -4852664309425035321L;
10
+ static final long serialVersionUID = // VERY old 2008 -5762968998168738314L;
11
+ -4852664309425035321L;
1112
1213 transient int displaylist = 0;
1314
....@@ -530,7 +531,7 @@
530531 static Vertex vertextemp = new Vertex(true);
531532 static Vertex vertextemp2 = new Vertex(true);
532533
533
- static double SEUIL = 0.05f; // 0.1 for rag doll; 0.07;
534
+ static double SEUIL = 0.025f; // 0.1 for rag doll; 0.07;
534535
535536 // Compute weight of point w/r to this
536537 float ComputeWeight(Vertex v, double[][] toRoot, int k)
....@@ -2003,8 +2004,8 @@
20032004
20042005 // Warning: faster but dangerous
20052006 if (v.weights != null && v.weights[j]
2006
- // == 0)
2007
- < 0.0001 * v.totalweight)
2007
+ == 0)
2008
+ //< 0.001 * v.totalweight)
20082009 {
20092010 //testweight += v.weights[j-1];
20102011 continue;
....@@ -3774,7 +3775,7 @@
37743775
37753776 //tempRep.Unstripify();
37763777
3777
- tempRep.GenerateNormals2(crease);
3778
+ tempRep.GenerateNormals(crease);
37783779
37793780 boolean keepnormal = Vertex.normalmode;
37803781 boolean epsequal = Grafreed.epsequal;