VMD-L Mailing List
From: Justin Gullingsrud (justinrocks_at_gmail.com)
Date: Thu Aug 02 2007 - 19:13:55 CDT
- Next message: Shulin Zhuang: "How to calculate the C alpha RMSD from NAMD trajectory"
- Previous message: Justin Gullingsrud: "Re: question about measure contacts"
- In reply to: Paula Marcela Petrone: "ViewMaster and rendering"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi,
Here's a little Tcl script to render all the views that ViewMaster
knows about. I don't have an easy way to turn this into a movie, but
at least you'll have the snapshots.
Cheers,
Justin
foreach key [array names ViewMaster::states] {
foreach { index type } [split $key ,] {}
if { $type == "mols" } {
ViewMaster::do_restore $index
display update
render snapshot "view$index.tga"
}
}
On 8/1/07, Paula Marcela Petrone <ppetrone_at_stanford.edu> wrote:
> Hi everybody,
>
> I was wondering if there is a quick and easy way to render views from
> View Master automatically. That is, I have many many views that I
> selected, and now I would like to have them all rendered to make a
> movie.
>
> Your help will be really appreciated,
>
>
> Paula.
>
-- I speak of certain afternoons in early fall, waterfalls of immaterial gold, the transformation of the world, when everything loses its body, everything is held in suspense, and the light thinks, and each one of us feels himself thought by that reflective light, and for one long moment time dissolves, we are air once more... -- Octavio Paz, "I speak of the city"
- Next message: Shulin Zhuang: "How to calculate the C alpha RMSD from NAMD trajectory"
- Previous message: Justin Gullingsrud: "Re: question about measure contacts"
- In reply to: Paula Marcela Petrone: "ViewMaster and rendering"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]