R. Kent Wenger wrote:
> We are in the process of switching from Jmol 10.00 to Jmol 10.2 for > use at BMRB (www.bmrb.wisc.edu). (We are using Jmol embedded > within our own applet.) During the course of this, we've > run into a couple of issues: > > 1. When rotating the molecule, the previous image is not erased, so > that you soon end up with the entire panel filled with atoms. This was fixed in later versions of Jmol, which we call the "prototype" or 11.0 beta or bob200603 branch. > > 2. I haven't been able to find a way to set the selection halo > color. > Scripting: color selectionHalo [color] (I forgot to document this; may be only in the 11.0 beta prototype.) > To elaborate on #1, I was able to "solve" this by setting the background > color. Is that the correct thing to do? (In other words, does the > background default to clear or something like that?) Or is this a bug? > Or should I be working around it in a different way? > It was a bug. > For #2, we had been using the Viewer.setColorSelection() method, but > that no longer exists, and I haven't found a replacement so far. > Is there some other way that I can set the selection halo color? It's Viewer.setSelectionArgb(int argb), which takes a standard rgb integer. If you have a color name as a string, you can use: Viewer.setSelectionArgb(Graphics3D.getArgbFromColorName(colorname)) I would encourage you to use the bob200603 branch, not 10.2. It is the active development branch, and we are getting ready to release it as 11.0 very soon, so all the testing we can get on that now would be appreciated. Bob Hanson > > I'd greatly appeciate any help you can give us... > > --------------------------------------------------------- > R. Kent Wenger, Associate Researcher ([EMAIL PROTECTED]) > > Computer Sciences Department, room 4291 > University of Wisconsin-Madison > 1210 W. Dayton St. > Madison, WI 53706-1685 > 608-262-6627 (office); 608-262-1204 (department) > 608-233-1840 (home) > Web page: http://www.cs.wisc.edu/~wenger/ > --------------------------------------------------------- > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Jmol-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/jmol-developers -- Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107 Professor of Chemistry, St. Olaf College 1520 St. Olaf Ave., Northfield, MN 55057 mailto:[EMAIL PROTECTED] http://www.stolaf.edu/people/hansonr "Imagination is more important than knowledge." - Albert Einstein ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-developers
