yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #01852
Re: YADE Playback function
Now there are 2 options to create video from simulations:
1) examples/buldozer.py with
utils.encodeVideoFromFrames(snapshooter['savedSnapshots'],out='/tmp/buldozer.ogg',fps=30)
It creates video from the current view
2) examples/buldozerVTK.py (added in r1770) uses VTK-recorder. Creates
periodically snapshots in VTK-files. Then you can use the Paraview to render
the video or any other VTK software.
But you should understand, that it is only the video. No other parameters.
Anton Gladkyy
2009/10/5 Kendai <mythkendai@xxxxxxxxxxxx>
> Hi Janek,
>
>
>
> We have a problem of playback function. While we finished our simulation in
> generator, and then play it on controller, it was all fine. The result was
> saved as a .xml file. Somehow we opened the player function then try to
> reload the .xml file, there was only the last result slice, no playback
> function, those buttons were faded and could not play. So here is my
> question:
>
>
>
> 1. How to play a simulated result in YADE player?
>
>
>
> 2. If I want to save my simulation as a movie clip or sequent frameshots,
> any idea or hint?
>
>
>
> Thx for your help.
>
>
>
> Ken
>
> ___________________________________________________
> 您的生活即時通 - 溝通、娛樂、生活、工作一次搞定!
> http://messenger.yahoo.com.tw/
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> Post to : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users<https://launchpad.net/%7Eyade-users>
> More help : https://help.launchpad.net/ListHelp
>
>
Follow ups
References