The default implementation of 3D graphic routines (called simple3d) sometimes needs to divide elements into several small pieces in order to create better displays. For instance, a cylinder is actually a number of small rectangles that alltogether make the body. The number of such divisions is controlled by a property of the 3D view element called its Resolution.
Resolutions are objects of the class org.opensourcephysics.display3d.core.Resolution, and can be created either using a double number or three integers. A double number indicates that the system should automatically subdivide the element so that the biggest piece is smaller than the value of the double. Three integers indicate how many times should the element be divided in each of its dimensions. The actual use of these three integers depends on the element type, some elements (for instance, segments) may actually only use the first of these integers.
A simple static resolution (i.e. one that will not change during the execution of the simulation) can be specified in the Resolution property of a 3D view element using one of the following possibilities: