Skip to content

Plugin POV Ray Export

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

Plugin: POV-Ray Export

POV-Ray Export exports molecular structures directly as Persistence of Vision Raytracer (POV-Ray) .pov scene files for professional, publication-quality ray-traced rendering.

Repository Bundled in moleditpy-plugins (plugins/POV-Ray_Export)
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 File ▸ Export ▸ Export to POV-Ray Scene...
Extra dependencies None for scene export (uses RDKit, NumPy, PySide6 from MoleditPy). POV-Ray is required only to render the resulting .pov file.

See Official Plugins for the full catalogue.


1. Key features

  • Camera & viewport synchronization: Reads current 3D viewport camera position, look-at focus point, up vector, field of view (FOV), and perspective/orthographic projection settings from MoleditPy's VTK plotter.
  • Rendering style parity: Faithfully translates MoleditPy's current rendering style (ball_and_stick, stick, wireframe), bond radii, multi-bond offsets, atom radii, and background color into POV-Ray primitives (spheres, cylinders, smooth cylinders).
  • Physical materials and lighting: Generates realistic finishes with diffuse reflection, specular highlights, Phong shading, ambient occlusion, and multi-source balanced studio lighting.
  • Double/triple bond planar alignment: Automatically calculates bond normal directions using neighboring atom positions to arrange double and triple bonds coplanarly.
  • Every bond is exported: dative (coordination) bonds read from MOL/SDF files, and zero-order or hydrogen bonds, are written as single cylinders, as MoleditPy's 3D view draws them.
  • High-resolution ready: Automatically outputs command-line rendering suggestions with antialiasing flags tailored to your screen resolution.

2. Rendering a scene file

After exporting the .pov file from MoleditPy, render it using POV-Ray GUI or the command line:

# Recommended command-line high-quality antialiased render
povray +W1920 +H1080 +A0.01 +AM2 +R3 molecule.pov

Command-line flags explained:

  • +W / +H: Output image width and height in pixels.
  • +A0.01: Antialiasing threshold (lower = higher quality).
  • +AM2: Adaptive sampling method 2 (supersampling).
  • +R3: Recursive subdivision depth for antialiasing.

3. See also


This page documents POV-Ray Export v2026.11.20, and was last updated on 2026-11-26. See REGISTRY/plugins.json for the current version.

Clone this wiki locally