From: Diego Gomes (diego.enry_at_gmail.com)
Date: Mon Mar 04 2024 - 13:23:46 CST

Hello Ryan,
I confirm your issue rendering images using Windows, we'll look into the
issue.
Right now, I recommend you to use VMD 1.9.3 for Windows or the 1.9.4a57 for
Linux/MacOS.

# For the Developer @ vmd-l
I'm running Windows 11 Education version 21H2, Build 22000.2713 with
Experience Pack 1000.22001.1000.0
* The issue manifests when rendering multiple frames such as in the example
below.
* VMD 1.9.3 works normally.
* VMD 1.9.4a53 *is affected*.
* VMD 1.9.4a55 works normally under *W*indows *S*ubsystem for *L*inux (WSL)
* I have confirmed it for render modes: snapshot ; TachyonInternal

# Required files
https://urldefense.com/v3/__https://files.rcsb.org/download/8EUU.pdb__;!!DZ3fjg!4I7QShGOs706sLLIviCym_ZjIZNPvyViQJo97eY0JkILApT6Tcx3xQrdfKdCajD1gzncgJjbs5n_TImK0_-x$

# Script
mol new 8EUU.pdb
mol modstyle 0 0 NewCartoon 0.300000 10.000000 4.100000 0
mol modcolor 0 0 Structure

axes location off
display projection Orthographic
display resize 800 800
display resetview
scale by 1.5

for {set i 0} {$i < 360} {incr i 1} {
set filename [format snapshot_%03d.bmp $i]
render snapshot $filename
#render TachyonInternal $filename
rotate z by 1
}

Friendly,
Diego.

On Sat, Mar 2, 2024 at 11:35 AM Kung, Ryan <rwk929_at_mail.usask.ca> wrote:

>
> 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> 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
>

-- 
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