I am looking for more information on "multi-frame" files.

Are they only used for animations & vibrations?

Do *all* the frames *always* contain the same number of atoms in the same
order?

If so, is the *only* difference between frames the atom position?

If not, what other situations are multi-frame files used for?

Thanks,
Miguel

-------- Mensaje Original --------
Asunto: Re: [Jmol-users] JMol animate commands
De: Hens Borkent <[EMAIL PROTECTED]>
Fecha: Mie, 10 de Septiembre de 2003, 12:03
Para: Miguel <[EMAIL PROTECTED]>

Hello Miguel,

I figured I'd have to contact you on this matter.


> For example, in RasMol/Chime, what happens if I say:
>  select carbon
>  color atoms purple
>
> Does the color purple get applied to all carbons in all frames?
>
Yes, in Chime it works that way. If I apply such a command, eg through a
button, that is what happens.
A requirement for frames is that they all contain the same atoms (in the
same order I guess), and display properties are applied to all frames.

> Is there a way to select a specific frame so that you can apply
> scripting commands to a specific frame?
>

No, not that I know of.
Maybe there is JavaScript construction possible, that monitors the frame
number that Chime returns (my second question) and by an IF statement
sends a command to one or more frames in particular, and a restoring
command to the remaining frames. But I have never needed it.


> But at this point I need basic assistance on what type of
> functionality is needed for multi-frame animations.
>

What I use is the following: next to the Chime animation I change the
text in a text area.
Chime returns the frame value, which I can include in a Javascript to
change the text accordingly.
There are a number of built-in functions in Chime of this type:
AnimFrameCallback, PickCallback (returning the picked atom number and
label), that are essential to our implementation of Chime, and that we
therefore would like to see in JMol.
But I realize that many people have many wishes.......

Greetings,

Hens

--
Dr. J.H. (Hens) Borkent, CMBI, University of Nijmegen
P.O. Box 9010, 6500 GL Nijmegen, The Netherlands
Tel 0031 24 3653388 Fax 0031 24 3652977 http://www.cmbi.kun.nl/
Centre for Molecular and Biomolecular Informatics


--------------------------------------------------
Miguel Howard                   [EMAIL PROTECTED]
c/Pe�a Primera 11-13 esc dcha 6B
37002 Salamanca
Espa�a Spain
--------------------------------------------------
telefono casa 923 27 10 82 movil 650 52 54 58
--------------------------------------------------
To call from the US dial    9:00 am Pacific US   =
home 011 34 923 27 10 82   12:00 noon Eastern US =
cell 011 34 650 52 54 58    6:00 pm Spain
--------------------------------------------------




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to