From: Fernando Vallejos-Burgos (nandobike_at_gmail.com)
Date: Tue Jun 28 2016 - 23:16:54 CDT

Hi Kevin,

I use a very simple TCL script for rendering animations remotely.
It goes something like this, for example, for 1000 frames rendering in TachyonOptiX after you set the viewpoint:

        display shadows on
        display resize 1280 720
        display ambientocclusion on
        display aoambient 0.80
        display aodirect 0.50
        for {set i 0} {$i < 1000} {incr i 1} {
                display update
                animate goto $i
                set filename ./snap_[format "%04d" [expr $i]].tga
                render aasamples TachyonLOptiXInternal 256
                render TachyonLOptiXInternal $filename
        }

then I just source the TCL file and call this procedure.
For me, it runs quite fast in GPU.

Hope this can help!

Fernando

-------
Dr. Fernando Vallejos-Burgos
Researcher at Center for Energy and Environmental Science
Shinshu University, Wakasato, Nagano 380-8553, Japan
Personal web: http://www.vallejos.cl <http://www.vallejos.cl/>
Labo web: http://www.shinshu-u.ac.jp/faculty/engineering/kaneko-group/ <http://www.shinshu-u.ac.jp/faculty/engineering/kaneko-group/>

> On Jun 29, 2016, at 12:14 PM, Kevin C Chan <cchan2242-c_at_my.cityu.edu.hk> wrote:
>
> ​Thanks for your reply. ​I am wondering what pseudo code would it be like.
> Simply
>
> source visualization state
> tachyon_binary ...
>
> ? As I used to do it through GUI, I have to
> 1) tune the visual angle
> 2) turn on AO
> 3) render > tachyon/tachyon_internal > type BMP as extension
>
> How could all these be done using a script?
>
> Thanks,
> Kevin
>
> On Wed, Jun 29, 2016 at 12:34 AM, John Stone <johns_at_ks.uiuc.edu> wrote:
>
>> Hi,
>> Hi, sorry for the slow reply, I just returned from international travel