Hi,

When I do animations with tachyon, I use the tachyon object interface
(i.e. Tachyon()).  With this you can control everything.

-Marshall Hampton

On Jan 20, 11:28 am, Sébastien Labbé <sla...@gmail.com> wrote:
> Hi,
>
> I managed to make a 3D animation with Sage using Tachyon images.
> Result is here :
>
> http://vimeo.com/35348052
>
> The code is available here [2]. At first, I was thinking to play with
> the arguments given to tachyon, i.e.  camera "center", "viewdir" and
> "updir". But, no matter the object, these arguments are hardcoded to
> the following values :
>
> sage: print cube((10,10,10)).tachyon()
> ...
>             center  2.3 2.4 2.0
>             viewdir  -2.3 -2.4 -2.0
>             updir  0.0 0.0 1.0
> ...
>
> Images are translated/rescaled so that the Tachyon camera placed at
> (2.3, 2.4, 2.0) always sees something... So, it was simpler to rotate
> incrementally the object instead. Doing so, the camera seems to move a
> little bit due to the rescaling that depends on the viewed object...
> But, it's not so bad.
>
> Sébastien, Montréal
>
> [2]http://www.thales.math.uqam.ca/~labbes/blogue/2012/01/faire-une-anima...

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to