Revision: 20469 http://sourceforge.net/p/jmol/code/20469 Author: hansonr Date: 2015-04-30 16:35:55 +0000 (Thu, 30 Apr 2015) Log Message: ----------- Jmol.___JmolVersion="14.3.13_2015.04.30b"
bug fix: Jmol.jar was requiring Java 1.7 bug fix: POV-Ray fixed for perspective and orthographic cameras using new z-depth formula. Modified Paths: -------------- trunk/Jmol/src/org/jmol/export/_PovrayExporter.java trunk/Jmol/src/org/jmol/g3d/TriangleRenderer.java trunk/Jmol/src/org/jmol/viewer/Jmol.properties Modified: trunk/Jmol/src/org/jmol/export/_PovrayExporter.java =================================================================== --- trunk/Jmol/src/org/jmol/export/_PovrayExporter.java 2015-04-30 13:39:29 UTC (rev 20468) +++ trunk/Jmol/src/org/jmol/export/_PovrayExporter.java 2015-04-30 16:35:55 UTC (rev 20469) @@ -104,7 +104,8 @@ offsetX = vwr.tm.getTranslationXPercent() / 100 * screenWidth; offsetY = vwr.tm.getTranslationYPercent() / 100 * screenHeight; // factor for 50% depth -- not quite right around the edges, perhaps - f = 1f/vwr.tm.getPerspectiveFactor((vwr.tm.getCameraDepth() + 0.5f) * vwr.getScreenDim()); + f = 1f/vwr.tm.getPerspectiveFactor((vwr.tm.getCameraDepth() - 0.5f) * vwr.getScreenDim()); +// f = 1f/vwr.tm.getPerspectiveFactor(2500); output(" perspective\n"); output(" angle " + aperatureAngle + "\n"); output(" right < " + screenWidth + ", 0, 0>\n"); Modified: trunk/Jmol/src/org/jmol/g3d/TriangleRenderer.java =================================================================== --- trunk/Jmol/src/org/jmol/g3d/TriangleRenderer.java 2015-04-30 13:39:29 UTC (rev 20468) +++ trunk/Jmol/src/org/jmol/g3d/TriangleRenderer.java 2015-04-30 16:35:55 UTC (rev 20469) @@ -387,8 +387,6 @@ pixelCount = 1; xW--; } - if (nLines == pass2Row + 1) - System.out.println("testing TR"); if (pixelCount > 0) g3d.plotPixelsUnclippedRasterBits(pixelCount, xW, yMin, azW[i], azE[i], null, null, aa[i], bb[i]); } Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties =================================================================== --- trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-04-30 13:39:29 UTC (rev 20468) +++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties 2015-04-30 16:35:55 UTC (rev 20469) @@ -14,8 +14,9 @@ TODO: remove HTML5 dependency on synchronous file loading (check SCRIPT command for problems) -Jmol.___JmolVersion="14.3.13_2015.04.30" +Jmol.___JmolVersion="14.3.13_2015.04.30b" +bug fix: Jmol.jar was requiring Java 1.7 bug fix: POV-Ray fixed for perspective and orthographic cameras using new z-depth formula. JmolVersion="14.3.13_2015.04.29" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Jmol-commits mailing list Jmol-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-commits