It was just something I was playing with. I'm not happy with it -- it seems
to slow down rendering immensely. Once again shows how Miguel's careful
attention to shading in Jmol makes it the success it is.

I've fixed it:

 http://chemapps.stolaf.edu/jmol/jsmol.zip

but to do this right, I need to create a transparent background for an
off-screen canvas, draw the atom to that once, and then copy that to a
specific location on the main canvas in HTML5. Right now it is
recalculating the shades each time the atom is drawn.

Bob



On Wed, Apr 3, 2013 at 5:46 AM, Angel Herráez <angel.herr...@uah.es> wrote:

> I've played a little with the Lite version, and updated documentation
> in the wiki to cover it. See "Lightweight version" in
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object
> http://wiki.jmol.org/index.php/Jmol_JavaScript_Object/Info
>
> Question:
> Is the "Info.shadeAtoms" parameter deprecated? I saw it in the source
> though not in Bob's announcement email-post.
>
> I am finding that it does work initially, but when a new model is
> loaded the shading effect is lost for all except hydrogens.
> (tested on Firefox WinXP)
>
>
>
> ------------------------------------------------------------------------------
> Minimize network downtime and maximize team effectiveness.
> Reduce network management and security costs.Learn how to hire
> the most talented Cisco Certified professionals. Visit the
> Employer Resources Portal
> http://www.cisco.com/web/learning/employer_resources/index.html
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>



-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
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
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to