See http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.11_2014.12.16.zip
JmolVersion="14.3.11_2014.12.15"
new feature: reset LIGHTING
public void resetLighting() {
vwr.setIntProperty("ambientPercent", 45);
vwr.setIntProperty("celShadingPower", 10);
vwr.setIntProperty("diffusePercent", 84);
vwr.setIntProperty("phongExponent", 64);
vwr.setIntProperty("specularExponent", 6); // log2 of phongExponent
vwr.setIntProperty("specularPercent", 22);
vwr.setIntProperty("specularPower", 40);
vwr.setIntProperty("zDepth", 0);
vwr.setIntProperty("zShadePower", 3);
vwr.setIntProperty("zSlab", 50);
vwr.setBooleanProperty("specular", true);
vwr.setBooleanProperty("celShading", false);
vwr.setBooleanProperty("zshade", false);
}
On Tue, Dec 9, 2014 at 8:33 PM, Eric Martz <ema...@microbio.umass.edu>
wrote:
>
> It seems to me that (low priority) a 'reset lighting' would be useful.
> It would set all lighting parameters to their defaults.
>
> Eric
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users