From: Frédéric <fre...@gb...> - 2008-04-17 15:10:19
|
Le 17/4/2008, "Lorenzo Isella" <lor...@gm...> a écrit: >I see. So I think I am back to one of the old suggestions I was given, >namely to use the povray plugin. Now, I think this is quite advanced for me. >I got hold of the script corresponding to: >http://www.gbiloba.org/download/SNP-definitif-640x480.avi >Which also was recommended to me a long time ago. >It is quite advanced and I cannot run it on my machine (again, I >installed pymad but the system [and myself] cannot find some missing >modules). >However, maybe I would need something simpler to start from. >I installed povray for Debian, but now what I would need is really some >simple way to invoke it from Python to save (and then convert) a visual >Python scene. I wrote the script for a student, a few years ago. I admit there are a lot of stuff in it, not directly related to your problem (the annoying thing is to program the different trajectories and camera positions with a good timing to get a smooth movie). In fact, you only need to use povexport() function to export a VPython scene to a pov script, then run povray on it. If you do this for several pictures, then you just display them at 15-20 fps, and you have your movie ;) I will try to extract a little example from the big script... |