Movie sequence
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.
引用格式
Olivier Salvado (2024). Movie sequence (https://www.mathworks.com/matlabcentral/fileexchange/5897-movie-sequence), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
平台兼容性
Windows macOS Linux类别
- MATLAB > Graphics > 2-D and 3-D Plots > Animation > Movie >
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |