Skip to content

Plugin Cube File Viewer Advanced

Hiromichi Yokoyama edited this page Nov 26, 2026 · 7 revisions

Plugin: Cube File Viewer Advanced

Cube File Viewer Advanced enhances volumetric Gaussian Cube file visualization with advanced post-processing effects, including Physically Based Rendering (PBR), Screen Space Ambient Occlusion (SSAO), depth peeling for transparent isosurfaces, and tone mapping.

Repository Bundled in moleditpy-plugins (plugins/Cube_File_Viewer_Advanced)
Author HiroYokoyama
Supported OS Windows, macOS, Linux, WSL
Supported Python >=3.9, <3.15
Supported MoleditPy >=5.0.0, <6.0.0
First-party plugin license LGPL-3.0-or-later
Menu location Associated with .cube and .cub files
Extra dependencies None (uses RDKit, PyVista, NumPy, PySide6 from the MoleditPy environment)

See Official Plugins for the full catalogue.


1. Advanced post-processing pipeline

While the standard Cube File Viewer focuses on basic geometric isosurfaces, the Advanced viewer routes rendering through the modern PyVista / VTK graphics pipeline:

  • Screen Space Ambient Occlusion (SSAO): Generates soft contact shadows in recessed grooves, cavities, and intersecting lobes of molecular orbitals, dramatically improving 3D depth perception.
  • Physically Based Rendering (PBR): Realistic specular highlights, roughness, and metallic material properties on isosurfaces.
  • Depth Peeling: Solves order-dependent transparency sorting artifacts when viewing multiple overlapping transparent isosurfaces.
  • Tone Mapping & Anti-Aliasing: High-dynamic-range tone mapping with Multi-Sample Anti-Aliasing (MSAA).

2. Controls and options

  • Interactive Shading Controls: Sliders for ambient occlusion radius, bias, and blur.
  • Material parameters: Custom roughness, metallic luster, and specular intensity.
  • Publication-quality exports: Direct high-resolution figure generation with ambient occlusion shadows preserved.

Usage notes

Cube files support up to 256 MiB and 2,000,000 grid points. The header supplies units and grid geometry. Loading requires complete atom and field data, finite coordinates and independent grid axes. \nOpening a new cube closes the viewer that is already open, also when the new one comes from another plugin or a script (for example through the MCP Server), so an earlier viewer no longer removes the new viewer's isosurfaces.


3. See also


This page documents Cube File Viewer Advanced v2026.11.21, and was last updated on 2026-11-26. See REGISTRY/plugins.json for the current version.

Clone this wiki locally