VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Tue Sep 24 2013 - 11:10:33 CDT
- Next message: Marzieh Dehghan: "VMD script"
- Previous message: Dawid das: "Re: Making a trajectory movie from frames."
- Maybe in reply to: Dawid das: "Re: Making a trajectory movie from frames."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Tue, Sep 24, 2013 at 4:27 PM, Dawid das <addiw7_at_googlemail.com> wrote:
> Dear vmd experts,
>
> I was looking for help on making movies in vmd but I couldn't find anything.
> What I have is 500 frames from my Tinker MD simulation. Now, I want to make
> a movie/get a trajectory of my system. Firstly, is it possible at all to do
> this with those original xyz Tinker files?
> I struggle with loading all these frames. I tried new mol name.* type
> tinker, but it seems that * does not work as usual.
that would probably not be what you want anyway. since typical program
won't concatenate the files into a single data set as you need to
have.
> I read those:
> http://www.ks.uiuc.edu/Training/Tutorials/vmd/tutorial-html/node3.html and
> http://www.ks.uiuc.edu/Training/Tutorials/vmd-ref/imgmv/imgmv-tutorial.pdf
> but like I said I didn't find it helpful.
>
> Thank you for help.
you would need a little Tcl scripting. something like this (untested):
set first 1
foreach f [glob name.*] {
if {$first} {
set first 0
mol new $f type tinker waitfor all
} else {
mol addfile $f type tinker waitfor all
}
}
axel.
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 International Centre for Theoretical Physics, Trieste. Italy.
- Next message: Marzieh Dehghan: "VMD script"
- Previous message: Dawid das: "Re: Making a trajectory movie from frames."
- Maybe in reply to: Dawid das: "Re: Making a trajectory movie from frames."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]