Home About Description Documentation Download News Register  
XCrySDen --
(X-Window)
                          CRYstalline Structures and DENsities

[Figure]
Animations HOWTO (MPEG and animated-GIF movies)

XCrySDen can display several snapshots of crystal (or molecular) structures as animation. See here how to specify multiple structures in a single animated XSF file.

To create an MPEG or animated-GIF movie, XCrySDen needs external MPEG and GIF encoders. Currently, the mpeg_encode and whirlgif encoders are used for the MPEG and GIF encoding, respectively. The two encoders can be downloaded from:

IMPORTANT: the creation of MPEG or GIF movies is possible only when MPEG and/or GIF encoders are defined in the $HOME/.xcrysden/custom-definitions file (read more).

To make a movie, use the Modify-->Animation Controls menu. The following window will appear:

Animation Window
The [Animated GIF/MPEG >>] button is enabled only when the GIF and/or MPEG encoders are defined in the the $HOME/.xcrysden/custom-definitions file. By pressing this button, the following new information will appear on the window aimed at creating animated-GIF and MPEG movies (the description of check- and radio-buttons is hopefully self-explanatory):
Full Animation Window

How to record a movie

Here is a short recipe of how to make an MPEG/GIF movie:
  1. set all the parameters in the Animation Control Center window accordingly
  2. press the Start Recording Animated-GIF/MPEG button; the button will appear red-colored to indicate the record mode is on: Animation Window in record mode
  3. use the animation buttons to animate the structure forth and back ...
  4. press the red [Stop Recording and Save] and specify the filename to save into
  5. if the [Edit flag/parameter-file before encoding] checkbutton was checked-on, a text-editor with the content of the encoding script will appear; edit the script-file if needed

Home | About | Description | Documentation | Download | News | Register
Webmaster: Tone Kokalj
This document was last modified on Tue May 31 10:23:32 CEST 2005