From: Kung, Ryan (rwk929_at_mail.usask.ca)
Date: Sat Mar 02 2024 - 11:35:49 CST


Hi Diego,

I have tried what you suggested. It seems to also fail after only 14 frames. Below is the exact log from the terminal.

vmd > for {set i 0} {$i < 500} {incr i } {
? rotate y by 3.6
? set filename [format "snapshot_%05d.tga" $i]
? render snapshot ${filename}
? }
Info) Rendering current scene to 'snapshot_00000.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00001.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00002.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00003.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00004.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00005.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00006.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00007.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00008.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00009.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00010.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00011.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00012.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00013.tga' ...
Info) Rendering complete.
Info) Rendering current scene to 'snapshot_00014.tga' ...
ERROR) Invalid render method 'snapshot
vmd >


________________________________
From: Diego Gomes <diego.enry_at_gmail.com>
Sent: Thursday, February 29, 2024 5:09 PM
To: Kung, Ryan <rwk929_at_mail.usask.ca>
Cc: vmd-l_at_ks.uiuc.edu <vmd-l_at_ks.uiuc.edu>
Subject: Re: vmd-l: Problems generating movies for vmd 1.9.4a53

CAUTION: External to USask. Verify sender and use caution with links and attachments. Forward suspicious emails to phishing_at_usask.ca

That could be a Windows issue.

Do you mind checking if that also happens if you try rendering using a script?

# Rotates by 360º in 100 frames.
for {set i 0} {$i < 100} {incr i } {
  rotate y by 3.6
  set filename [format "snapshot_%05d.tga" $i]
  render snapshot ${filename}
}


Friendly,
Diego

On Thu, Feb 29, 2024 at 10:33 AM Kung, Ryan <rwk929_at_mail.usask.ca<mailto:rwk929_at_mail.usask.ca>> wrote:
Hello,

I am having some problems with generating movies using vmd on windows. Once I make the representation how I desire, I use the movie maker extension to generate the images over the trajectory. The problem is that vmd crashes in the middle of rendering the frames. I am using the Snapshot render but it also crashes for other renders I have tried. Most of the time, vmd simply closes without warning. It happens on different frames when I repeat the process. The image files are generated up to that point and vmd sometimes closes in the middle of saving a image file, causing it to be unreadable. I most recently got the following error message:

    while executing
"render snapshot $imgfilename"
    (procedure "renderframe" line 25)
    invoked from within
"renderframe $basefilename"
    (procedure "genframes_trajectory" line 34)
    invoked from within
"genframes_trajectory "
    (procedure "::MovieMaker::buildmovie" line 78)
    invoked from within
"::MovieMaker::buildmovie"
    invoked from within
".movie.goabort.gobutton invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tk::ButtonUp" line 24)
    invoked from within
"tk::ButtonUp .movie.goabort.gobutton"
    (command bound to event)

The rendering stopped and would no longer work in snapshot mode. Changing it to internal tachyon renderer made it save a handful of frames (less than 20) before it crashed and closed the program without warning.

Thanks for your help.


--
Diego Enry B. Gomes, PhD
Department of Physics at Auburn University &
NIH Center for Macromolecular Modeling and Visualization
Leach Science Center - Ste. 3182 - Auburn, AL
dgomes_at_auburn.edu<mailto:dgomes_at_auburn.edu>