Keep a moving molecular region in frame without chasing it by hand

When a molecular system moves, a carefully framed view can quickly become a view of empty space. The camera stays where it was while the atoms of interest travel away, forcing you to interrupt the animation to reposition the view. That makes it harder to follow a trajectory—and harder for someone watching to understand what changed.

SAMSON’s Follow atoms animation addresses this by moving the camera along with a selected group of atoms. The camera target follows the group’s geometric center, while the camera position moves with it so the camera-to-target vector stays constant. In practical terms, the tracked region remains framed from the same relative camera position as it moves.

Set up the view before adding the effect

  1. Select the atoms you want to track. Make the selection before creating the animation: Follow atoms uses the atoms that are selected when the effect is created.
  2. Position the camera. Orient the view to establish the perspective you want to keep. The current camera position is used at the animation’s start.
  3. Choose a start frame. In the Animator’s Track view, move to the frame where camera following should begin.
  4. Add Follow atoms. In the Animator’s Animation panel, double-click the Follow atoms effect.
  5. Set an end frame. Extend the effect over the part of the trajectory you want to show. You can move the start and end frames later if the timing needs adjustment.

This order helps avoid a common framing problem: adding the effect before deciding which region matters or before establishing the desired view. The selected atoms determine what the camera tracks; the initial camera placement determines how the tracked region is viewed.

What the camera follows—and what it preserves

The target point moves with the geometric center of the selected atoms. This is useful when the selected region translates through space, because the camera follows its overall position rather than remaining fixed at the original center. The camera position also moves, preserving the vector between the camera and its target. The animation therefore maintains the established relative camera placement instead of continually changing the distance to the tracked region.

Because the target is based on a geometric center, think about the selection as a whole. If your scientific question concerns one component, select the atoms that represent that component rather than a much larger system whose center may not describe the motion you want to show. This is a framing choice, not a change to the molecular trajectory.

Follow atoms is especially useful for presenting movement across a longer trajectory, where keeping the subject visible matters more than keeping the camera fixed in the laboratory frame. If you want the camera to look toward selected atoms without having it follow their movement, SAMSON also provides a separate Look at atoms animation.

Check camera behavior and refine the framing

By default, camera animations apply to the active camera. If you need a different behavior, inspect the animation and review Apply to active camera. The animation’s target point is defined using the active camera’s current target position, which is essentially the center of the current view.

Grid visibility can also affect how camera positions are defined. If the camera behaves differently than expected with the grid on or off, inspect Keep camera upwards. When this option is checked, the behavior depends on whether the grid is enabled.

You can adjust camera positions with the animation controllers. Keep in mind that the target remains at the geometric center of the selected atoms, so camera-position adjustments do not move that target away from the tracked center. Review the start and end frames and the resulting view together to make sure the camera follows the intended portion of the trajectory for the intended duration.

For the full procedure and property details, see the Follow atoms documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.