Graphics and display

General graphics settings

The 'Translucent layers' slider affects visualisation of any non-opaque surfaces or reslices. Anything above zero will correctly display that number of overlapping translucent layers, counting from front to back from each display pixel, as well as any opaque surfaces. Setting this to zero (or on displays not supporting it) will default to a fake translucency which simply displays back surfaces in increasing order of opaqueness, then front surfaces in the reverse order. This was the default before version 7.0.

The 'focus range' and 'focus depth' sliders enable simulation of lens focus (depth-of-field) in the 3D window. If the focus range is set to 'large' (all the way to the left), then the entire data is in focus: this is the default setting. However, more realistic visualisations can be created by using a slightly reduced focus range (slider more towards the right), although this will naturally also reduce the sharpness of some features in the window. In this case, the focus depth sets the position at which the lens is focussed, i.e. the sharpest visualistion is created. This simulation is only ever used if a surface or volume rendering is visible, but when it is used, it applies to all features in the 3D window.

The 'Background' option allows you to define what colour you wish to use for the background (non-data) parts of any of the data windows. The default is dark grey, but this can be set to any other colour. If the 'uniform' box is not ticked, the background in the 3D window will be appropriately shaded given the amount and direction of the ambient and radiant light, and the viewing perspective. This makes the background match the shaded surfaces better. However, if you want to print screenshots of any of the windows, it may be better to set the background to 'white' and tick the 'uniform' box. The background must also be uniform if you want to grab 3D images including transparency.

The 'Graphics shader' selection changes the way that surfaces are displayed in the 3D window. The following shaders are available so long as your display drivers at least support OpenGL 3.0:

Diffuse Gouraud
The simplest (and fastest) shader, which just supports diffuse reflection from a standard material. This does not allow ambient occlusion nor shadowing.
Standard Phong
A slightly more realistic shader which also supports different material types (roughness, how metallic the material is and anisotropy).
Cook Torrance
A more accurate reflection model than the standard phong, also supporting different material types, but may also be slower.
Clear Phong
A non-realistic shader in which front and back surfaces are more transparent, which allows hidden surfaces to be more easily seen.

The 'Graphics font' selection allows you to change both the font used in the graphics windows, and also the size of some graphics objects, for instance the dots at contour points and landmarks and the widths of contour lines.

Note that the perspective in the 3D window can also be altered by using the zoom tool or mouse scroll wheel with the shift key held down.

Display and saving settings

The 'Icon size' selection allows you to select the size of all the icons. If set to 'auto', then the icon size will be determined by the size of the screen.

All these settings are saved in your personal configuration file ('stradview.ini') so there is no need to reset them every time you launch Stradview.

Lighting

The 'Ambient' slider controls how much ambient light there is in the 3D window, with a value of less than 10 percent usually being more realistic. However values of up to 100 percent can generate useful effects with the 'Clear Phong' shader. The radiant light is decreased proportionally as this value is increased. The 'Balance' slider sets the proportion of that radiant light coming from the front or the other (side, or variable position) light. Since shadows (if enabled) only appear from the other (side) light, this also controls the depth of the shadows.

The 'Occlusion' slider enables (if the value is greater than zero) a reduction of ambient light in locally concave regions of a surface or between different surfaces. The effect is most easily seen by temporarily increasing the level of ambient light. The range over which this is calculated depends on the slider value. This is also only enabled for OpenGL 3.0 or above. For volume rendering, this controls the spread of the shadow from the front light.

The following 'Rotation', 'Position' and 'Distance' sliders affect where the other (side) light is actually located. The left-right rotation controls the full rotation from front (slider in the centre) to directly from the side (slider half way to either extreme) to behind the data with the light shining towards the viewer (slider either full left or full right). The up-down location adjusts the location from straight down to straight up (when the left-right slider is in the centre) or from top-left to bottom-left (when the left-right slider as half way to the left, and hence the light is shining from the side). The far-near distance controls how close to the data set the light is, with 'far' (slider full right) using a directional light (i.e. a light at infinite distance) and 'near' (slider full left) positioning the light just past the edge of the data set.

It is also possible to fix the other (side) light at a particular location in the data. Just define a landmark anywhere in the data set, and then select that landmark from the 'Fix light at' list. In this case, the 'Distance' slider affects how far the light will penetrate into the data set from the fixed location. Subsequently moving the landmark in any window will automatically move the light location as well.

All the lighting controls affect both the display of surfaces and volume rendering. In the latter case, locating the light behind the data and shining forwards can effectively highlight more transparent sections, and using a point light can draw attention to particular features.

The 'Brightness' slider increases the brightness for radiant (not ambient) light only for volume rendering, and only when the surface is being displayed with radiant shadows enabled. This is designed to compensate for the decrease in light levels due to the attenuation of surrounding (but not necessarily visible) regions.

If 'radiant shadowing' is checked then shadows will be displayed due to the radiant (fixed direction) lighting. These shadows are only cast by the side light, and are affected by object translucency and colour. Again, only for OpenGL 3.0 or above. This control affects both the display of surfaces and volume rendering.