Status: Accepted. Supersedes legacy ADR-0002.
Legacy plugins return Java3D TransformGroups, mix geometry with colouring, duplicate colour logic, are loaded reflectively, and use menu labels as identifiers (legacy ADR-0002, debts D7, D9, D10). Third-party plugin jars were an idea that was never realised and is not required now.
In jmvs-scene:
Scene) made of plain data: sphere instances (centre, radius, atom index), cylinder instances (two ends, radius, atom index — a bond is two half-cylinders), triangle meshes (positions, normals, per-vertex atom index), pick targets (spheres used for picking) and a bounding sphere. No colours are baked into geometry.DisplayMode (id, displayName, Scene build(Structure), supports(ColourScheme)) producing geometry, and ColourScheme (id, displayName, int colourOf(Structure, Atom) as packed RGB) producing one colour per atom. Any scheme can be combined with any mode; a mode may declare schemes it does not support (Ribbons does not support CPK), in which case the first supported scheme is used and the user’s preference is restored on switching back.Registry built in code; jmvs.properties selects the enabled entries, their order and defaults by id.ServiceLoader drop-in jars: useful for third parties; not needed and adds compatibility obligations. Can be added on top of the same interfaces later.jmvs-scene and renderers.