Presenting and animating

SAMSON provides a powerful and easy way to create presentations, animations, and movies. Animation capabilities in SAMSON include but are not limited to:

  • animations of molecules: dock structures, assemble structures, create custom paths, play simulation trajectories;
  • camera animations: orbit around structures, add standard paths, create custom paths;
  • various animation effects: entrance, exit, highlight, etc.

MenuAnimation.gif
Presentation: an example

Video tutorial

A video tutorial with introduction into animating with SAMSON: How to create molecular animations in SAMSON (1 h 11 min).

What is a presentation

A Presentation is a node that combines Animation nodes helping you to form a story and show presentations or export them as movies.

Presentation and animation nodes are part of documents and are visible in the document view.

PresentationDocumentView.png

A document might contain multiple presentations, each one of them containing multiple different animations. Presentation and animation nodes are saved with a document, which means that you can easily save, load, and share your presentations and animations. You can check for some shared documents with presentations and animations on SAMSON Connect - Documents where users can share their documents.

Let's see an example - we will try one of the presentations shared on SAMSON Connect - Documents: https://www.samson-connect.net/app/main?key=document&uuid=858bd00b-80f6-4001-8def-eebbf9f09a9b. Copy this link and, in SAMSON, click on Home menu > Download ( Ctrl/ Cmd⌘ + Alt + O):

DownloadSharedDocument.png

And paste the link in the pop-up dialog:

DownloadDocumentDialog.png

In a moment, it will download this shared document into your SAMSON. Double-click on the Presentation node in the document view and it will open the Animator. Now, click Space to start/stop the presentation or use the animator's controls on the top-center of the animator.

Let's first briefly see what the Animator consists off and then we will see how to create presentations.

Animator

The Animator makes it possible to create, edit, and play presentations, and export them as movies.

To open the Animator, go to Interface menu > Animator or press Ctrl/ Cmd⌘+ 8, or if you already have a presentation in the document simply double-click on it.

When no presentation is opened in the Animator, it looks as follows:

Animator-empty.png
The empty animator

If you open a presentation in the Animator you should see the Track view populated with tracks of animations that are part of the presentation. Let's see in detail what the Animator consists off.

AnimatorParts.png
The Animator with an opened presentation

Controls

In the top part of the Animator, you can find its controls (from left to right):

AnimatorControlsWithDescriptions.png
  • grid and angle snapping govern how some animations related to movements operate
  • presentation controls: play mode (Once, Loop, Bounce), go to the beginning, go to the previous frame, play back, the current frame, play forward, go to the next frame, go to the last frame, frame duration in seconds
  • fit in the Track view with animation tracks; zoom in/out on animation tracks
  • the begin and the end frames of the presentation
  • global presentation preferences, see Presentation options

Track view

In the central part of the Animator, you can see the Track view with animation tracks. When a presentation is being edited in the Animator, its animations are visible in the Track view. Each animation corresponds to a track, and may be composed of one or more keyframes (represented as circles on the track), i.e. key events that happen at specific frames of a presentation. Different types of animations have different colors of tracks to make it easier to distinguish between them.

AnimatorAnimationListTrackView.png
The list of animations in the Track view of the Animator

The number of keyframes depends on the animation itself. For example, for some animations, there are only two keyframes showing the first and the last key event of the animation, basically, where the animation starts and ends.

Animation panel

In the right part of the Animator, you can find the Animation panel with a list of available animations which are split into six categories (you can switch between them using buttons in the top part):

  • Motion animations: for docking, assembling, etc.
  • Camera animations: orbit, custom paths, etc.
  • Entrance effects: appearing, showing, etc.
  • Exit effects: disappearing, hiding, etc.
  • Highlighting effects: e.g. pulsing effects
  • Other animations: e.g. to pause and stop a presentation, as well as to change backgrounds and display background images such as presentation slides

AnimationPanel.png
The Animation Panel

The buttons on the bottom of the Animation panel allow you to change the view of the animation list: zoom in, zoom out, switch between the list and image views. You can also search for animations using the search box on the top of the Animation panel.

Preview

The Animator allows you to easily preview the impact of your design decisions by letting you interactively choose the current presentation frame either using the controls in the top part of the Animator or by choosing the frame directly in the Track view.

PresentationChoosingFrame.gif

Adding a presentation

You can access the animation capabilities via the Animation menu, it provides you an access to creating a presentation, saving movies and frames, and adding some animation effects.

MenuAnimation.png
The Animation menu

To add a presentation to the document, go to Animation menu > Add > Presentation or simply double-click in the Animation menu on an animation you want to add to the presentation. This will also open the Animator.

Animator-NewPresentation.png
The animator with an empty presentation

You should see a new presentation node in the document in the document view.

For a newly added presentation, the Animator shows an empty animation track view where you can add animations. By default, the duration of the presentation is set to 180 frames. You can modify the duration of the presentation but the maximum number of frames is limited depending on the Plans.

Adding animations

SAMSON provides a number of animations which are split into six categories:

  • Motion animations: for docking, assembling, etc.
  • Camera animations: orbit, custom paths, etc.
  • Entrance effects: appearing, showing, etc.
  • Exit effects: disappearing, hiding, etc.
  • Highlighting effects: e.g. pulsing effects
  • Other animations: e.g. to pause and stop a presentation, as well as to change backgrounds and display background images such as presentation slides

Different animations act on different objects - some act on cameras, some act on nodes like structural models, visual models, meshes, and labels.

The animations can be found in the Animation panel of the Animator :

AnimationPanel.png
The Animation Panel

The main animations are also shown in the Animation menu:

MenuAnimation.png
The Animation menu

Animations are applied in correspondence with their order in the presentation as seen in the document. This means that if you have, for example, several camera animations at the same frame then they will be applied consecutively and the state of the camera will correspond to the last camera animation applied at that frame. You can always changed the order of animations in a presentation - simply use the drag-and-drop mechanism.

Please see the Animations section for the description of some of the animations available in SAMSON.

Let's now create some animations. If you would like to repeat the steps below, load 1AF6 molecule using the Fetch PDB (you can find this extension in the Apps menu > All or using the Find commands, apps and editors... in the top-left corner of SAMSON) which will download it from RCSB PDB. Then apply a Ribbons (secondary structure) visual model to it.

Let's see, for example, how to add the Orbit camera animation. First, position the camera in the plane in which you want it to be rotated around the object. Note, that the rotation plane will be defined differently whether you have the grid switched on or off. You can later adjust the rotation plane using the animation controllers. Then, click on Animation menu > Orbit camera or double-click on the Orbit camera animation effect in the Animation panel of the Animator.

By default, camera animations are applied to the active camera. How the camera animations behave also depends on whether you have the grid in the viewport or not. Those options can be changed in the Inspector for each camera animation.

PresentationAddOrbitCamera.gif
Adding the orbit camera animation

You can click on play or change the frames in the Track view to see how the presentation would look like.

All the camera animations have specialized camera controllers allowing for fine positioning of the camera: the central point, camera orientations, etc. In the viewport, you can see the associated keyframe numbers shown near the keyframe camera animation controllers. Let's see, for example, how can the Orbit camera positioning be adjusted. Note, if you don't see the camera controllers, you might need to zoom out in the viewport (use the mouse scroll button or press Ctrl/ Cmd⌘ + -).

OrbitCameraAnimationPositionCamera.gif
Orbit camera controllers

While editing camera positions, Thumbnails automatically appear at the bottom of the viewport to help you frame the best shots. Thumbnails are shown for the currently modified keyframe and for the next and previous keyframes (if any) of the currently modified camera animation. Let's see how it looks like with an example of the Move camera animation.

CameraAnimationsFramingShot.gif
Advanced keyframe camera motions

Animations have various options that can be changed in the Inspector. For that, select an animation in the document view and open the Inspector ( Ctrl/ Cmd⌘+ 2 or Interface menu > Inspector).

Let's now make the structural representation of the molecule progressively disappear during the presentation. For that, first, select the structural model in the document view, then click on the Animation menu > Disappear or double-click on the Disappear animation effect in the Animation panel of the Animator.

PresentationAddDisappearAnimation.gif
Adding the Disappear animation

You can move the animation's keyframes in the Track view to alter the animation's behavior. Simply select them and move as shown above.

Let's now make the Ribbons visual model progressively appear during the presentation. For that, first, select the Ribbons visual model in the document view, then click on the Animation menu > Appear or double-click on the Appear animation effect in the Animation panel of the Animator.

PresentationAddAppearAnimation.gif
Adding the Appear animation

Editing a presentation

To view and edit a presentation in the Animator, double-click on the presentation in the document view or press Edit presentation in Animator in its context menu. You can view and edit in the Animator only a single presentation at a time.

Animator-example.png
The Animator with a presentation opened in it

To change the order of animations within a presentation, move them using the drag-and-drop mechanism directly in the document view.

To delete an animation from a presentation, right-click on the animation either in the Animator or in the Document view and, in the context menu, click "Erase".

Setting a watermark

Depending on the Plans, SAMSON provides the possibility to remove the SAMSON watermark and set your own watermark. You can do it in the Presentation options.

You can also change the background and set images as the background in Preferences > Rendering > Background or using the Set background animation if you would like to switch between various backgrounds in the presentation.

Exporting a movie

SAMSON provides the possibility to save the presentation into a movie. To do so, click on the Save movie button in the Animator or in the Animation menu. In the Save as... dialog, choose the movie format (mp4, gif, webm) and where to save it.

The way the movie will be saved might depend on the global Presentation options.

Presentation options

Presentations have a number of global rendering options that can be accessed and modified via Preferences > Rendering > Presentations or by clicking on the settings button in the top-right corner of the Animator.

Preferences-Presentation.png
The presentations settings

Examples

See more examples in What's new in SAMSON 2021.

Some examples of presentations available on SAMSON Connect - Documents:

See also: Visualizing, Colorizing, Visual models, Visual presets