Side by Side Movie
One way to make a side by side movie in VisIt is to use movie templates. Movie templates enable you to create a set of viewports and map the contents of various vis windows to those viewports, also incorporating simple movie transitions.
To make a side by side movie, or any other movie configuration, you can use movie templates. Before saving a movie using a movie template, you must set up the plots that you want to make in multiple vis windows.
Create a movie template
To create a movie template, you can open the Save movie wizard as you normally would. Instead of choosing New simple movie, choose New template movie.
When you select a movie template, asks what you would like to do to a movie template. You can use an existing template; VisIt provides a few basic movie templates, or you can edit or create a template. We want to create a new movie template so we select Create new template.
Since we're creating a new movie template, we first must set up the movie viewports. You can create many viewports and the viewports can be adjacent or can overlap (e.g. picture in picture). When viewports overlap, you can make the top viewports semi-transparent, make a background color transparent, or even add drop shadows. There are some existing layouts if you don't want to get fancy. Select the Side by Side layout and VisIt will create 2 viewports next to one another.
After you create movie viewports, you must map sequences of images to the viewports. Sequences are series of images and they can be produced from the plots in your vis windows or transitions such as fades, etc. For a side by side movie, you will want to map the image sequence produced from vis window 1 to movie viewport 1. You will also map the image sequence from vis window 2 to movie viewport 2. If you had more vis windows, you could map more than one vis window to a movie viewport. That has the effect that all images from a particular vis window are used as inputs for the movie viewport and then the next vis window that was mapped to the movie viewport, and so on. It is possible to add transition effects in between sequences or after sequences so that you can include some simple animation effects in your movies.
- Tip: If you wanted to show side by side plots that advance through time and then switch to another plot and do the animation over again, you could set up 4 vis windows and then map 2 vis windows to each movie viewport.
For the time being, we will not save the movie template but simply use it.
- NOTE: VisIt 2.7.1 seems to have a bug currently if you later want to use a movie template that you've created. That is why for now, we are not saving the movie template for later.
Now that we've set up the movie template, the rest of the screens in the Save movie wizard are the normal screens that gather input about which movie formats you would like to save. Note that for a side by side movie, you will want to override the image size so that you do not get a square movie but rather 2 square images next to one another. Put an image size where the width is 2x the height: 1000x500 or some other image size.
Be sure to select the output directory and base movie filename.
The result from this movie template will be a side by side MPEG movie that contains the plots from vis window 1 and vis window 2.