Import a movie or image as a textured annotation
A common request at CEI is the desire to include actual video footage of an experiment synchronized with the simulated model. In EnSight, this involves creating a 2D rectangle annotation and texturing it by a video clip. EnSight has had the ability to apply a texture to 2D shape annotations since early in the 8.2 release cycle and the ability to use movie files as textures in more recent releases. The operation is normally performed through the 2D shapes and texture map editors in EnSight. However, there are a relatively large number of options and settings for these operations and while they describe what operations they perform, it is not always obvious that these features might be used to create an animated annotation. This QuickTool simplifies the process, reducing it to a single step and setting all of the various options you need. When the QuickTool button is clicked, EnSight will prompt you for an image/movie file. Once the selected imagery is loaded into memory, the tool creates a new rectangle annotation and sets up the texture mapping. An example image of the result:
Note that if an animation is loaded as an annotation, it is linked to the solution times of the loaded dataset. To cause the animation to play back, you need only play the solution time. One thing to be cautious of, EnSight does load the entire video clip into memory and stores it in a lossless fashion internally. Larger clips, especially with large numbers of frames can use up a great deal of memory. The resulting animated clip and geometry can of course be exported to an EnLiten file as well, including the integrated playback.