Skip to content

v2.4.1.547

Choose a tag to compare

@github-actions github-actions released this 24 Oct 08:38
· 402 commits to develop since this release

CueMol 2.4.1 (build 547)

This release is about speed and large structures. In CueMol3, MD trajectory
and morph playback of tube, ribbon, cartoon and nucleic-acid renderers is
several times faster, and on Windows much faster still. Building a
cartoon of a large structure takes seconds instead of half a minute (4V6X:
32 s -> 1 s), surface coloring is faster, and several crashes on very large
structures (4V6X, 3J3Q) are fixed.

The Windows builds of both apps are now compiled with clang-cl, and
tritium_cli can be installed from npm.


Faster playback of tube / ribbon / cartoon / nucleic acid (CueMol3)

  • These renderers now keep their mesh on the GPU. When atoms move (MD
    trajectory, morphing) or the coloring changes, the mesh is rewritten in place
    instead of being rebuilt, and the work is split across CPU cores.
  • On 4V6X (human 80S ribosome), the per-frame update of a ribbon went from
    about 120 ms to about 12 ms, and of a cartoon from about 90 ms to 26 ms.
    Small molecules no longer wake the worker threads, which saves CPU.
  • Tube and ribbon share vertices between neighboring rings, so much less data
    is sent to the GPU every frame.
  • Windows: updated vertex buffers are now uploaded the way Direct3D 11
    expects, and normals use a format it supports natively. 4V6X ribbon morphing
    went from 8 to 46 updates per second (RTX 4070).
  • The nucleic-acid renderer (nucl) now follows morphs and repaints in place,
    in every mode.
  • The image is unchanged: in-place updates were checked to be pixel-identical
    to a full rebuild.

Faster cartoon build (CueMol3 and CueMol2)

  • The cartoon's smoothing splines are computed with a new linear-time
    algorithm. show cartoon on 4V6X takes about 1 s instead of 32 s.
  • The result is pixel-identical to the previous version.

Surfaces (CueMol3 and CueMol2)

  • Faster coloring by atom for molecular surfaces (molsurf), direct surfaces
    (dsurface) and map isosurfaces: up to about 5x faster on large surfaces.
  • dsurface ignores alternate conformations (only atoms with no alternate
    location or location A are used, as molsurf already did). Structures with
    alternate conformations build faster and without extra fragments.
  • molsurf no longer keeps a large cache for the whole life of the surface
    (about 700 MB on 4V6X).

Fixes

  • Molecular surfaces (molsurf, and dsurface with the MeshMS algorithm) no
    longer crash on 4V6X.
  • A cartoon too large to draw (e.g. HIV-1 capsid 3J3Q, 2.4 M atoms) no longer
    stops CueMol3: it is left undrawn and a message is logged. The 3J3Q ribbon
    and tube are drawn.
  • Tube, ribbon and nucleic-acid renderers no longer log coeff not found for
    very short chain segments (every frame during playback).

Windows build (CueMol3 and CueMol2)

  • Both apps are now built with clang-cl instead of MSVC. Rendering with the
    ray tracer (umbreon) is about 6-8% faster; images are unchanged.

tritium_cli on npm

  • npm install -g @cuemol/tritium-cli installs the console CLI on its own.
    It finds an installed CueMol3 (or CUEMOL3_APP) and starts it; without one,
    it prints the download URL.
  • The interactive banner shows the app icon, and the CLI warns when its
    protocol version differs from the running app's.

Known incompatibilities and limitations

  • A tube / ribbon / cartoon whose mesh would exceed about 2 GB is not drawn
    (it used to crash). Drawing it at lower detail is not implemented yet.
  • dsurface now leaves out a residue that has only B / C conformers and no
    A (as molsurf does).
  • molsurf now starts the molecule's own coloring scheme, as other renderers
    do. With a stateful scheme (e.g. rainbow) set on the molecule, molsurf colors
    may change to match the other renderers.
  • Regenerating a molsurf with only a new density takes longer on very large
    structures (4V6X: 1.5 s -> 2.8 s), since the cache is gone.
  • Ball & stick ring plates are no longer picked (a plate stands for no single
    atom).
  • tritium_cli from npm has been tested against an installed app on macOS
    only.

Downloads

  • CueMol3 -- CueMol3-2.4.1.547-macOS-arm64-Installer.dmg (macOS Apple silicon),
    CueMol3-2.4.1.547-Windows-x64-Setup.exe (Windows),
    CueMol3-2.4.1.547-Linux-x64.AppImage and CueMol3-2.4.1.547-Linux-x64.deb
  • CueMol2 -- cuemol2_2.4.1.547_macOS_ARM64.tar.bz2,
    ..._macOS_ARM64_py312.tar.bz2, ..._macOS_X64.tar.bz2,
    ..._Windows_X64.tar.bz2

On macOS (Apple silicon), CueMol3 2.4.0 can update itself to this release
(Check for Updates in the app menu).

These builds are not signed for distribution. See
tritium/packaging/README.md
for how to get past macOS quarantine and Windows SmartScreen.