The macros in the vis
directory aid in visualization of simulations.
You can load one of these macros with:
/control/execute vis/macro.mac
This starts an OpenGL session in the Qt interface using 'stored' or 'retained' mode (the graphics buffers are filled and then control is handed over to OpenGL, allowing optimal performance).
This starts an OpenGL session in the Qt interface using 'immediate' mode (the graphics buffers are shared between the simulation and OpenGL, allowing instant updates).
This starts an OpenGL session in the X11 interface using 'immediate' mode (the graphics buffers are shared between the simulation and OpenGL, allowing instant updates).
This starts the OpenInventor interface, if support is present in your geant4 installation.
This sets up some useful colors and visualization options.
This sets up a vertical (Y) cutaway plane along the experiment's axis (Z).