.. | .. |
---|
7 | 7 | |
---|
8 | 8 | class BoundaryRep implements java.io.Serializable |
---|
9 | 9 | { |
---|
10 | | - static final long serialVersionUID = -4852664309425035321L; |
---|
| 10 | + static final long serialVersionUID = // VERY old 2008 -5762968998168738314L; |
---|
| 11 | + -4852664309425035321L; |
---|
11 | 12 | |
---|
12 | 13 | transient int displaylist = 0; |
---|
13 | 14 | |
---|
.. | .. |
---|
530 | 531 | static Vertex vertextemp = new Vertex(true); |
---|
531 | 532 | static Vertex vertextemp2 = new Vertex(true); |
---|
532 | 533 | |
---|
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; |
---|
534 | 535 | |
---|
535 | 536 | // Compute weight of point w/r to this |
---|
536 | 537 | float ComputeWeight(Vertex v, double[][] toRoot, int k) |
---|
.. | .. |
---|
2003 | 2004 | |
---|
2004 | 2005 | // Warning: faster but dangerous |
---|
2005 | 2006 | if (v.weights != null && v.weights[j] |
---|
2006 | | - // == 0) |
---|
2007 | | - < 0.0001 * v.totalweight) |
---|
| 2007 | + == 0) |
---|
| 2008 | + //< 0.001 * v.totalweight) |
---|
2008 | 2009 | { |
---|
2009 | 2010 | //testweight += v.weights[j-1]; |
---|
2010 | 2011 | continue; |
---|
.. | .. |
---|
3774 | 3775 | |
---|
3775 | 3776 | //tempRep.Unstripify(); |
---|
3776 | 3777 | |
---|
3777 | | - tempRep.GenerateNormals2(crease); |
---|
| 3778 | + tempRep.GenerateNormals(crease); |
---|
3778 | 3779 | |
---|
3779 | 3780 | boolean keepnormal = Vertex.normalmode; |
---|
3780 | 3781 | boolean epsequal = Grafreed.epsequal; |
---|