Hi all!
Nice to see the export dialog working!
unrelated: wouldn't a small 'antialias' checkbox under 'Display' be
nice for those that are not so command-line-oriented.
Suggestion for povray output:
For any object that should be matte instead of glossy (e.g.
isosurfaces), one should add
finish {finishMatte}
Diff:
Index: src/org/jmol/export/_PovrayExporter.java
===================================================================
--- src/org/jmol/export/_PovrayExporter.java (revision 8535)
+++ src/org/jmol/export/_PovrayExporter.java (working copy)
@@ -98,6 +98,12 @@
output("#declare minScreenDimension = " + minScreenDimension + ";\n");
output("#declare showAtoms = true;\n");
output("#declare showBonds = true;\n");
+ output("#declare finishMatte = finish {\n" + " ambient "
+ + (float) Graphics3D.getAmbientPercent() / 100f + "\n" + " diffuse "
+ + (float) Graphics3D.getDiffusePercent() / 100f + "\n" + " specular "
+ + (float) Graphics3D.getSpecularPercent() / 100f + "\n"
+ + " roughness .00001\n metallic 0\n phong 0.0\n phong_size 0\n}"
+ + "\n\n");
output("camera{\n");
output(" orthographic\n");
output(" location < " + screenWidth / 2f + ", " + screenHeight / 2f
@@ -401,6 +407,7 @@
if (colixes == null) {
output("pigment{rgbt<" + color4(colix) + ">}\n");
}
+ output(" finish {finishMatte}\n");
output(" clip()\n");
output("}\n");
--
Greetings, Pim
http://www.molmod.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers