VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_gmail.com)
Date: Mon Jun 06 2011 - 09:25:14 CDT
- Next message: Ajasja LjubetiÄ: "Re: Tachyon post-render commands under Win-XP"
- Previous message: Daniel Holloway: "Tachyon post-render commands under Win-XP"
- In reply to: Daniel Holloway: "Tachyon post-render commands under Win-XP"
- Next in thread: Ajasja LjubetiÄ: "Re: Tachyon post-render commands under Win-XP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Mon, Jun 6, 2011 at 9:50 AM, Daniel Holloway <deholloway_at_gmx.com> wrote:
> Hi all,
>
> I'm running VMD under Win-XP and have been using Tachyon to render some
> figures for publication. Things work fine from the 'File Render Controls'
> box with a post-render command like this:
>
> "C:\Program Files\University of Illinois\VMD\tachyon_WIN32.exe" -aasamples
> 12 %s -format BMP -res 1500 1200 -o %s.bmp
>
> I'd like to be able to do the same from within a .vmd script file but I'm
> getting errors.
>
> With the command:
>
> render Tachyon scene.dat "C:\Program Files\University of
> Illinois\VMD\tachyon_WIN32.exe" -aasamples 12 %s -format BMP -res 1500 1200
> -o %s.bmp
>
> I get:
>
> Info) Rendering current scene to 'scene.dat' ...
> Info) Tachyon file generation finished
> Info) Executing post-render cmd 'C:Program FilesUniversity of IllinoisVMD
> achyon_WIN32.exe -aasamples 12 scene.dat -format BMP -res 1500 1200 -o
> scene.dat
> .bmp' ...
> 'C:Program' is not recognized as an internal or external command,
> operable program or batch file.
> Info) Rendering complete.
> Info) render Tachyon scene.dat C:Program FilesUniversity of IllinoisVMD
> achyon_W
> IN32.exe -aasamples 12 %s -format BMP -res 1500 1200 -o %s.bmp
>
> As it looked like a syntax problem with the backslashes I tried:
>
> render Tachyon scene.dat "C:\\Program Files\\University of
> Illinois\\VMD\\tachyon_WIN32.exe" -aasamples 12 %s -format BMP -res 1500
> 1200 -o %s.bmp
>
> but still got an error:
>
> Info) Rendering current scene to 'scene.dat' ...
> Info) Tachyon file generation finished
> Info) Executing post-render cmd 'C:\Program Files\University of
> Illinois\VMD\tac
> hyon_WIN32.exe -aasamples 12 scene.dat -format BMP -res 1500 1200 -o
> scene.dat.b
> mp' ...
> 'C:\Program' is not recognized as an internal or external command,
> operable program or batch file.
try to double up the backslashes one more time. looks like a
case of the "falling toothpick syndrome". ;)
> Info) Rendering complete.
> Info) render Tachyon scene.dat C:\Program Files\University of
> Illinois\VMD\tachy
> on_WIN32.exe -aasamples 12 %s -format BMP -res 1500 1200 -o %s.bmp
>
> It now looks like a problem with the spaces in the directory names. Apart
> from substituting underscores everwhere, how do I put this right? Any
> suggestions would be gratefully received!
the alternative would be to simply copy the tachyon_WIN32.exe
to directory elsewhere, where there are no spaces in the path
and then use that copy to render.
cheers,
axel.
> Many thanks,
>
> Dan Holloway
>
>
-- Dr. Axel Kohlmeyer akohlmey_at_gmail.com http://goo.gl/1wk0 Institute for Computational Molecular Science Temple University, Philadelphia PA, USA.
- Next message: Ajasja LjubetiÄ: "Re: Tachyon post-render commands under Win-XP"
- Previous message: Daniel Holloway: "Tachyon post-render commands under Win-XP"
- In reply to: Daniel Holloway: "Tachyon post-render commands under Win-XP"
- Next in thread: Ajasja LjubetiÄ: "Re: Tachyon post-render commands under Win-XP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]