For molecular modelers, accurately perceiving spatial depth within molecular structures can often be a challenge when analyzing complex representations. If you’ve ever felt that molecules on screen appear flat or devoid of depth, there’s a solution that can dramatically change how you visualize your work: ambient occlusion rendering.
Ambient occlusion in SAMSON is designed to improve depth perception by simulating how light interacts with molecules. Regions that are deeper and less accessible to light appear darker, enhancing the realism and spatial clarity of your visualizations. But how does this feature work, and what are its benefits for molecular modeling? Let’s dive in:
Two Types of Ambient Occlusion
SAMSON provides two types of ambient occlusion effects, so you can choose the one that fits your needs:
- Screen-Space Ambient Occlusion (SSAO): This method offers an efficient approximation of ambient occlusion and is particularly useful for quick visualizations. While it’s sensitive to the distance from the camera, it remains a fantastic choice for general work.
- Object-Space Ambient Occlusion: This approach is more realistic as it accurately simulates light interaction at the object level. However, it may require more computational resources and is slower than SSAO. If you need highly realistic visuals for presentations or animations, this is worth the additional rendering time.
How to Enable and Adjust Ambient Occlusion
Enabling ambient occlusion in SAMSON is straightforward. You can activate it and adjust its settings in two convenient ways:
- Quick Presets: Use Visualization > Options for a fast way to toggle ambient occlusion on or off and select preset configurations for your visualizations.
- Detailed Control: Navigate to the Rendering > Ambient occlusion section within the Preferences panel for more advanced adjustments to the effect’s parameters. This section allows you to fine-tune the intensity and quality to match your specific needs.
See the Difference for Yourself
The impact of ambient occlusion becomes clear when you compare images with and without this effect. Below, observe how the Ribbons visual model of the 1AF6 molecule changes:
Without Ambient Occlusion:

With Screen-Space Ambient Occlusion Enabled:

As you can see, ambient occlusion adds subtle shading to the molecular model, making features such as folds, crevices, and overlaps more visually distinct. This improved perception of depth is instrumental in both analysis and presentation, making the models more intuitive and informative at a glance.
Getting Started
Whether you’re creating stunning molecular animations or conducting detailed analyses, ambient occlusion can be a game-changer for your workflow. Experimenting with both screen-space and object-space ambient occlusion will help you determine the ideal settings for your specific tasks and system capabilities.
To learn more about this feature and other rendering options, visit the SAMSON documentation on rendering effects.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. You can get SAMSON for free at samson-connect.net.
