> Hi, Miguel > I am documenting Jmol default colors, based on Jmol- > HEAD/src/org/jmol/viewer/JmolConstants.java > > Can you clarify the meaning/differences among these? > > public final static int[] argbsChainAtom (line 1429) > > public final static int[] argbsChainHetero (line1463)
These are the tables that are currently in use. They represent the 'pastel' colors for the chains. A chain with the same letter is always colored the same. As I recall, this differs from RasMol in three ways: 1. chain with the same letter is always colored the same 2. the actual colors are different 3. the available color palette is larger, so more colors are used Atoms are colored out of the 'atom' table. HETATM out of the hetero table. The table has 27 entries. The null entry is for the ' ' (space) chain and for non alpha-numeric chain identifiers. Upper & lower case chain letters get mapped to the same chain color. (Note that this is independent of the 'set chainCaseSensitive on|off' command which controls expression evaluation behavior) > public final static int[] argbsChainAtom (line 1498) > > public final static int[] argbsChainHetero (line 1533) These were commented out using /* ... */ They are no longer in use. I will remove them from the code. Miguel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

