Set of 3 functions to generate a movie sequence: CamSeqUpdate, CamSeqGen, and CamSeqPlay.
From a 3D scene in the current windows, the user specifies a series of views by moving the camera with the camera toolbox (CamSeqUpdate). The list of views are then used to generate a continuous sequence by interpolating between the defined views (CamSeqGen). Once a sequence has been generated, it can be payed as a movie and saved in a AVI-file (CamSeqPlay).
usage:
1. [cam] = CamSeqUpdate([]); to initialize the strucure with the current view
2. using the camera toolbar, position the camera for the next view
3. [cam] = CamSeqUpdate(cam,3); add the current view 3 secondes after the previous one in the structure
4. repeat 2./3. until all the views are defined.
5. use CamSeqGen to generate a sequence from the list of views
6. use CamSeqPlay to play the sequence and/or generate an .avi file
The file example shows all the process. See help of each file for more options.
The gui CamSeqGUI streamlines the sequence creation with 4 buttons that call the different functions with default parameters. |