Movie sequence

Build a movie sequence and generate a avi file
2.7K Downloads
Updated 23 Sep 2004

View License

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.

Cite As

Olivier Salvado (2024). Movie sequence (https://www.mathworks.com/matlabcentral/fileexchange/5897-movie-sequence), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Movie in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0