Thanks for sharing -- that is cool! I've also found the tachyon interface to give much better control over positioning objects/camera, but indeed the interface between sage and tachyon could be improved.
The starting point for this is the "tachyon_repr" method [1], or maybe "_prepare_for_tachyon" [2]. Both of these return a *string*, which is the input for the tachyon ray tracer. There should be a way to convert these into tachyon objects which you can tweak a little more before rendering, but I'm afraid I don't know exactly how to do that yet. Probably the easiest way to do this is to improve the existing functions. It would be nice to see an optional argument for the "tachyon" method which returns a complete tachyon object. -Niles p.s. Since you're already using ffmpeg, it's relatively easy to add music using the "map" option! [3] [1]: http://www.sagemath.org/doc/reference/sage/plot/plot3d/shapes2.html#sage.plot.plot3d.shapes2.Line.tachyon_repr [2]: http://ask.sagemath.org/question/20/the-tachyon-object-used-for-rendering-plots [3]: http://howto-pages.org/ffmpeg/#map On Jan 20, 4:52 pm, Sébastien Labbé <sla...@gmail.com> wrote: > > When I do animations with tachyon, I use the tachyon object interface > > (i.e. Tachyon()). With this you can control everything. > > Great! Thank you, I did not know about this. > > And do you have a suggestion to transform a (sum of many) Sage 3D > graphic object into the Tachyon object interface? I saw that the > tachyon object interface allows to create primitives like spheres and > triangles... > > I still believe the interface for doing this kind of thing in Sage > could be improved... > > Sébastien -- 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