Revision: 18309 http://sourceforge.net/p/jmol/code/18309 Author: hansonr Date: 2013-06-07 20:31:44 +0000 (Fri, 07 Jun 2013) Log Message: ----------- ___version=13.0.17_dev_2013.07.06
bug fix: ellipsoid rendering problems Modified Paths: -------------- branches/v13_0/Jmol/src/org/jmol/g3d/Sphere3D.java branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties Modified: branches/v13_0/Jmol/src/org/jmol/g3d/Sphere3D.java =================================================================== --- branches/v13_0/Jmol/src/org/jmol/g3d/Sphere3D.java 2013-06-07 20:30:25 UTC (rev 18308) +++ branches/v13_0/Jmol/src/org/jmol/g3d/Sphere3D.java 2013-06-07 20:31:44 UTC (rev 18309) @@ -524,11 +524,11 @@ if (zPixel == 0) zPixel = z; mode = 2; + z0 = zPixel; if (checkOctant) { ptTemp.set(xCurrent - x, yCurrent - y, zPixel - z); mat.transform(ptTemp); int thisOctant = Quadric.getOctant(ptTemp); - z0 = zPixel; if (thisOctant == selectedOctant) { iShade = getPlaneShade(xCurrent, yCurrent, zroot); zPixel = (int) zroot[0]; @@ -542,9 +542,9 @@ z0 = zPixel = slab; mode = 0; } - if (zPixel < slab || zPixel > depth || zbuf[offset] <= z0) - continue; } + if (zPixel < slab || zPixel > depth || zbuf[offset] <= z0) + continue; } else { int zOffset = (int)Math.sqrt(s2 - j2); zPixel = z + (z < slab ? zOffset : -zOffset); Modified: branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties 2013-06-07 20:30:25 UTC (rev 18308) +++ branches/v13_0/Jmol/src/org/jmol/viewer/Jmol.properties 2013-06-07 20:31:44 UTC (rev 18309) @@ -9,8 +9,10 @@ # Don't use ___ in your text, as that is the key for stripping out # the information saved in the JAR version of this file. -___version=13.0.17 +___version=13.0.17_dev_2013.07.06 +bug fix: ellipsoid rendering problems + ============================================================================= version=13.0.16 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits