jmvs

0001 Use Java3D scene graph for rendering

Status: Accepted (retrospective); primary modernisation target

Superseded by ADR 0004.

Context

The project (1998/99) set out to build a RasMol-like viewer in Java. README: “Java3D had just come about which abstracted low level OpenGL to a more abstract Scene Graph approach, though lower level primitives were possible.”

Decision

Render with Java3D 1.x: SimpleUniverse + Canvas3D, a scene graph of BranchGroup/TransformGroup/Switch, lights, Material/Appearance, mouse behaviours (RenderScene, plugins, interaction).

Consequences

Rationale: stated in README (abstraction level); the lock-in consequences are [Inferred].