From: Eduard Schreiner (eduard.schreiner_at_theochem.ruhr-uni-bochum.de)
Date: Thu Jun 16 2005 - 01:41:30 CDT

Yalini wrote:
> Hi,
>
> I'm using the Tcl script rotation_movie.tcl which, at the moment, renders
> images as bmps (i.e. as snapshots). I'd like to change this to rendering to
> tga with the Tachyon internal option in VMD. I've tried different approaches
> to change the Tcl script but still can't get the output files to be in tga
> format. I'm getting error messages each time, e.g. "invalid render method
> 'TachyonInternal"
>
> Using the original rotation_movie.tcl, which is:
>
> proc make_rotation_movie_files {} {
> 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
> }
> }
>
> I've changed lines 4 and 5 to render in tga (using the Tachyon Internal
> option in VMD): But this doesn't work..
>
> proc make_rotation_movie_files {} {
> set frame 0
> for {set i 0} {$i < 360} {incr i 10} {
> set filename snap.[format "%04d" $frame].tga
> render TachyonInternal $filename
> incr frame
> rotate y by 10
> }
> }
>
> Please can anyone help? Many thanks in advance,
> Yalini.
>
>
>
>
Hey Yalini,
I am also using Tachyon for rendering movies.
Might be this will help You

proc tych_rend {molec} {

set nr_steps [molinfo $molec get numframes ]
puts "number of steps: $nr_steps"
set file [molinfo $molec get name]

for {set t 0} {$t < $nr_steps} {incr t } {
animate goto $t
puts "rendering frame: $t"
render Tachyon $molec$t tachyon -aasamples 4 -trans_vmd -mediumshade %s
-format TARGA -o %s.tga

}
}

Eddi

-- 
--
=======================================================================
Eduard Schreiner                        e-mail: eduard.schreiner_at_rub.de
Lehrstuhl fuer Theoretische Chemie          Phone: ++49 (0)234/32-22121
Ruhr-Universitaet Bochum - NC 03/52         Fax:   ++49 (0)234/32-14045
D-44780 Bochum                               http://www.theochem.rub.de
=======================================================================