public void start(Stage primaryStage) { d3 = new Draw3D(); Scene scene = d3.buildScene(); preambleCommands(); drawingCommands(); d3.setStart(); primaryStage.setScene(scene); primaryStage.setTitle(title); primaryStage.show(); }
void preambleCommands() { d3.setAmbientLight(false); d3.setPointLight(true); d3.setCumulate(false); d3.setSequencingOn(); d3.setVectorRadius(1); d3.setArrowRadius(1); }