jmvs

04 Solution strategy

Goal Approach ADR
Render 3D without raw OpenGL Java3D retained-mode scene graph 0001
Swappable display modes JMVSPlugin interface, classes named in jmvs.properties, loaded reflectively 0002
Match RasMol results Port RasMol bonding rules, radii, CPK table 0003
Read modern structure files Hand-written line-based mmCIF reader dispatching by reflection 0004
Config without code changes Classpath .properties (plugins, colours, elements) 0005
Desktop UI AWT frame + menu bar hosting a Canvas3D 0006
Run on Apple Silicon Vendored third-party jars 0007
Mode/paint switching Rebuild the whole scene graph 0008

Layering: gui → render (+ appearance plugins) → model; io produces model. Rendering plugins consume the domain model directly and emit Java3D TransformGroups — the domain model is Java3D-free, the plugins are not.