From: Osmany Guirola Cruz (
Date: Fri Oct 29 2004 - 16:20:05 CDT

I need a script for my web server....
the idea is that a user give me a pdb file and then in the server i should
give him(her) a animated gift of the pdb rotating around and axes..
i create a tcl script that do the following
mol load pdb 1oan.pdb
set frame 0
for {set i 0} {$i < 360} {incr i 20} {
   set filename snap.[format "%04d" $frame].rgb
   render snapshot $filename
   incr frame
   rotate y by 20

then i do in the shell
%vmd -dispdev none -e commands.tcl
and all the snap.*.rgb have 0 sizes :-( but when i do all this via
tkcon works perfect......
how should i do this ...