at 5.36p EDT on 2004 February 25 Wednesday Oliver StÃker said:
> Hi Miguel,
>
> Miguel Howard wrote:
> > Q: How do the scripting commands affect animations?
>
> I'm not sure what you mean. Do you have something special in mind?
>
> After you have started the animation, you can send other script
> commands, which are performed without stopping the animation.
>
> > Q: When you apply commands like 'wireframe 0.1' does it affect all the
> > atoms in all frames?
>
> Yes.
>
but you do have fairly fine control over this effect in a pseudo-NMR file;
e.g.,
select model=1
wireframe 0.1
> > Q: Is there a way to selectively address individual frames (or perhaps
> > better said, the atoms of individual frames) of an animation?
>
> No.
>
again, maybe not for the XYZ format, but you can in a pseduo-NMR file. since
each 'frame' is essentially a separate structure, use the model syntax as
above:
select model=3 and nitrogen
color blue
so this might be the basic start of a pseudo-NMR 'animation':
restrict model=1
color red
wireframe 0.3
delay 0.5
restrict model=2
color green
wireframe 0.3
delay 0.5
restrict model=3
color blue
wireframe 0.3
delay 0.1
loop
I use the term 'animation' loosely here; it is nothing like the move command,
which interpolates positions between start and end and performs a smooth
transition. this is more like the old style cel-based cartoons ;-)
> (At least I haven't found a way to do so. ;-) On the other hand even the
> "select"-command is missing in the current Chime-documentation. :-( )
>
> >>and the following commands are available as Chime embed tags:
> >>
> >>animfps=###
> >>animmode={loop|once|palindrome|ping|pong}
> >>startanim={false|no|true|yes}
> >>AnimFrameCallback={JSFunctionName}
> >
AFAIK, anim params do not apply to pseudo-NMR files. instead, you can use
'loop' to set up a repeating loop of an animation. and you can use 'delay'
to (somewhat roughly) control the frame rate. but it is kludgy, I admit.
I've managed to produce several hundred 'animations' using psuedo-NMR files
and it takes a great deal of customization to make it work well.
AFAIK (again), xyz files are generally useful for small molecules but not for
larger macromolecules. but maybe that's not quite accurate?
regards,
:tim
--
timothy driscoll
molvisions - molecular graphics & visualization
<http://www.molvisions.com/>
usa:north carolina:wake forest
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users