Multi-Volume Isosurfaces
Load several volumetric datasets into one scene, render isosurfaces from each simultaneously,
and color any surface by sampling another volume's scalar field at its vertices (e.g. an
electron-density surface colored by electrostatic potential). Drop multiple .cube/CHGCAR-family files onto the viewer at once β files describing the same cell
are appended as extra volumes rather than replacing the scene.
Mix your own (same-cell files append as extra volumes)
CHGCAR CUBE ELFCAR LOCPOT
CHGCAR
Al slab Ο
LOCPOT
Al slab
CUBE
Benzene Ο
CUBE
Caffeine HOMO
CUBE
Caffeine LUMO
CUBE
Methane ESP
CHGCAR
Fe BCC spin
CUBE
Glycine Ο
CUBE
Glycine ESP
CUBE
Water
CHGCAR
hBN hex
ELFCAR
hBN ELF
CHGCAR
Large grid (perf)
LOCPOT
Large LOCPOT (perf)
CHGCAR
FeβOβ (real)
CHGCAR
NiO SOC (real)
ELFCAR
ELF (real)
CHGCAR
Si diamond
No structure provided
What this demonstrates
- Multi-volume registration β several cube/CHGCAR files coexist as independent volumes in one scene
- Simultaneous surfaces β every volume can show isosurfaces at once; switching the edited volume hides nothing
- Cross-volume coloring β each surface can sample any loaded volume for per-vertex colors with a configurable colormap and value range
- Hidden color sources β a volume with no surfaces of its own still colors other surfaces
- Grid compatibility checks β strictly matching grids sample exactly; mismatched grids resample in shared coordinates with a β diagnostic
- Periodic continuity β colors wrap seamlessly across cell boundaries and supercell tiles
- Fractional display ranges β VESTA-style non-integer supercells repeat surfaces periodically and clip them exactly at fractional bounds
- Fast recolor β changing colormap or range remaps cached vertex scalars without rerunning marching cubes
- Multi-file import β drop several files at once; same-cell files append, new systems replace