Huygens Movie Maker
Table of contents
Introduction
The Movie Maker is a tool that allows you to easily create sophisticated animations of multi-channel 3D images using the powerful Huygens Visualization renderers.
Animations from the Fast Mip renderer, the Surface Renderer, or the Sfp Renderer can be combined in a single movie.
The Movie Maker assists the user in creating the key frames that define the main scenes, and the smooth transitions between them. Interactive manipulation of the scenes is possible using the interfaces of the renderers or by dragging nodes in the timeline plot.
The movies can be exported to AVI files or to TIFF series that can be combined with other software. Movie projects can be saved for later editing or for usage with other 3D datasets.
An introductory tutorial can be found in the Help menu (top right). This interactive tutorial guides the user step by step through the process of creating a simple movie.
An overview of the GUI
An overview of the Movie Maker user interface.
- The storyboard. This filmstrip shows the main elements of the movie, which are the keyframes and the transitions between them.
- The preview area. This mini movie player quickly creates a low-resolution version of the movie.
- The timeline. This interactive plot shows how render parameters change over time. Use the menu-button below this timeline to select the parameter to be visualized. Green nodes, representing render parameters at each keyframe, can be dragged vertically.
Creating and adjusting keyframes
About keyframes
A keyframe defines a control point within a transition. This can be either a start point, end point, or an intermediate point in time. The appearance of the 3D rendered image is 'fixed' in these frames. In between keyframes, the Huygens Movie Maker calculates a smooth or linear transition (a technique called tweening).Inserting new keyframes
To add the first keyframe to the storyboard, one of the renderers should be launched from the Movie Maker window by pressing the corresponding button (
,
, or
). In the renderer a scene can be defined using the available controls. See the wiki pages of the Fast Mip renderer, the Surface Renderer, and the Sfp Renderer for more information on these windows. Once you are satisfied with the looks of the first frame, press the 'add keyframe' button (
) to capture this configuration to a new keyframe on the storyboard. All render parameters are captured and can most of them be smoothly animated.Because a movie needs at least two keyframes (the start and end point of a transition), the same renderer should be used to define a second configuration. Once you are satisfied with the looks of the second frame, press the 'add keyframe' button (
) again. The storyboard will now show two keyframes with an arrow in between. This arrow indicates transition from one keyframe to another.The Huygens Movie Maker allows the user to mix keyframes from different renderers, but transitions can only be made between keyframes from the same renderer .
The Movie Maker's storyboard showing two surface renderer keyframes, followed by two MIP renderer keyframes.
Editing keyframes
To edit an existing keyframe, double click it or select the frame and choose 'Edit → Edit keyframe' from the menu. This will load the keyframe's settings in the corresponding renderer. The renderer's controls can now be used to change the appearance of the 3D image. To submit the changes to the Movie Maker, press the 'add keyframe' button (
) again. Because the keyframe is still selected, the Movie Maker will ask if that 'old' frame should be replaced.Using the storyboard
Rearranging keyframes
The storyboard allows the user to copy, delete, and rearrange keyframes. The 'cut' (
), 'copy' (
), 'delete' (
), and 'edit' (
) buttons are activated whenever a keyframe is selected. When there is no keyframe selected, the 'paste' button (
) will append the copied or cut keyframe to the last frame in the storyboard. If one of the keyframes is selected, the Movie Maker will ask where the frame should be inserted. All these operations can be undone by clicking the 'undo' button (
).Changing transitions
Transitions can be changed by double clicking the arrow that joins two keyframes. This will pop-up a window in which the duration of transition (in frames or seconds) can be changed, as well as the transition type of the parameters that are animated. For most parameters, the Huygens Movie Maker can calculate linear or smooth transitions. An exception to this is the twist, which also requires a direction of rotation (clockwise or counter clockwise) and a number of rotations.
The transition settings dialog is shown by double clicking a transition arrow in the storyboard.
Making movies
Playing a preview movie
To preview the movie, just press the 'play' button (
) in the preview area. The Movie Maker quickly creates a low-resolution movie and displays it in the preview area. If 'loop mode' (
) is on, the movie will be repeated until the stop button (
) is pressed.
The preview area.
To change the animation settings (aspect ratio, size, frame rate, etc.), press the 'render settings' button (
) in the preview area. The 'high quality' setting and the 'AVI quality' are not reflected in the movie preview, but only noticeable in the final result.
The animation settings dialog is shown by pressing the most right 'render settings' button in the preview area.
Export to AVI or Tiff series
If you are satisfied with the result, press the red 'record' button (
) to render the final movie and export it to AVI or a Tiff series. Before the save dialog appears, the Huygens Movie Maker will show the animation settings dialog, where e.g. the AVI quality can be set. Note that large movies will take several minutes to render.Once the movie has been exported to AVI, it can be opened in a movie player like QuickTime or Windows Movie Player. To quickly open the last saved movie in the operating system's default movie player, press the button labeled 'Open AVI in external movie player' (
).Working with movie projects
Saving projects
The collection of keyframes, transitions, and animation settings is called a 'project'. The image itself does not belong to the project. To save the current project to disk, press the 'save' button (
) or choose 'File → Save project' in the menu. The Movie Maker project files have the extension '.hgsa' (Huygens animation template).The Movie Maker will ask if the project should be saved when one attempts to close the Movie Maker while there are unsaved changes to the project.
Reloading and appending projects
If a saved project is reloaded in a Movie Maker that has the same image attached, then the final movie will be exactly the same. However, the Movie Maker allows the user to apply saved projects to different images or append saved projects to the current storyboard. To load or append a project from disk, select 'File → Open project...' or 'File → Append project...' from the menu respectively.Besides projects from disk, the Movie Maker has some 'presets' that can be appended to the movie. These can be found in the 'Presets' menu.
Using the timeline
Visual feedback
The timeline is an interactive plot which shows the frame number on the horizontal axis and the value of a render parameter on the vertical axis. It gives a more detailed visual feedback on values of each of the animated parameters. A mouse click somewhere in the timeline area will select the corresponding frame and display a preview of the frame in the preview area. The left and right arrow keys can be used to navigate through the frames.
The timeline area gives a detailed visual feedback on the animated parameters.
To zoom in on the timeline, click near the frame of interest and use the scrollwheel or the 'magnifying glass' buttons below the timeline (
) to change the zoom level.Changing render parameters
The keyframes are displayed in green and can be dragged vertically to adapt the value of the parameter. The (interpolated) transition frames are displayed as smaller red dots. If a render parameter has been changed, the Movie Maker will recalculate the transitions, update the thumbnails in the storyboard, and update the still of this frame in the preview area.To select the render parameter which value should be shown in the graph, open the drop-down menu below the timeline and choose the preferred parameter. Because the amount of parameters that can be animated is huge, the menu only lists the ones that change during the movie. If 'Other render parameter...' is selected, a dialog window will pop up that shows a list of all available parameters.
The timeline plot showing the twist angle. The object rotates twice around its the vertical axis.
In order to change one of the parameters in a frame which is not a keyframe, the frame can be converted into a keyframe. To do this, select the frame in the timeline and choose 'Edit → Convert to keyframe' from the menu.
Advanced topics
Stretching movie length
The number of frames in a transition can be changed by double clicking the transition arrow. However, if a movie gets complex it is easier to use the 'stretch' tool to e.g. double the number of frames in all transitions. This tool can be found in the menu 'Tools → Stretch movie'.
The stretch dialog helps increasing or decreasing the number of frames in a complex movie.
The stretch tool shows the frame rate, the number of frames, and the duration in seconds. The two sliders can be used to change the frame rate and the number of frames; changing these will affect the duration of the movie. The stretch tool tries to redistribute the total number of frames over the whole movie in such a way that the relative length of each transition does not change.
Synchronizing transitions in time and slice plane transitions
Most render parameters, like the 'tilt', 'twist', and 'zoom', can be set to non-integer values. The 'time frame' (in case of a time series), and the 'slicer z-position', however, are fixed to integer values. When the transition of such a parameter is not linear, or when the change in value does not match the number of frames, then this parameter is 'out of sync'. In that case the Movie Maker will show a yellow 'warning' symbol on the transition arrow. In the final result, these asynchronous transitions may show irregularities.
A transition in which the 'time frame' parameter is out of sync with the number of frames. In this example, the transition counts 27 frames, while the 'time frame' parameter increases linearly from 0 to 30. Note the irregular change of this parameter in the plot. The Movie Maker warns the user by showing a yellow 'warning' symbol on the transition arrow.
To restore the synchronization, right click on the transition arrow and choose 'Synchronize time frames...' from the pop-up menu. The Movie Maker will set the transition type to linear and add or remove some frames from the transition to achieve a 1:1, 2:1, 1:2, etc. synchronization.
The same transition as in the previous image, but now the number of frames in the transition is synchronized with the 'time frame' parameter.
Creating loopable and bouncing movies
In two simple steps, a movie can be made loopable, i.e. it can be played seamlessly in repeat mode:- Copy the keyfirst frame and paste it to the end.
- Right-click on the final keyframe that has just been pasted, and click 'Skip this frame' in the pop-up menu.
To create a 'bouncing' animation, i.e. an animation that is played in reverse when the last frame is reached, mark the 'bounce' option in the animation settings dialog. Doing so will not insert extra keyframes on the storyboard, but the frames are appended in reverse to the final AVI file or Tiff series.
About movie quality
In the Huygens Movie Maker, two types of 'quality' can be set:- The 'high quality' check box determines if the quality of the renderers should be set to the highest possible setting when rendering the final movie.
- The 'AVI quality' scale bar determines the compression level of the AVI file. Set to 100%, the quality is the best, but then the file size will be large.