Visualization Guide
Visualization Guide
Visualization Guide

Controlling Image Quality and Processing Time

In most cases, higher image quality is achieved at the expense of longer processing time — with a little effort you can learn how to get adequate quality in a reasonable amount of time.

Adjusting rendering settings

You can define all settings for rendering from the Rendering Setup dialog box (Settings > Rendering > Setup), which also lets you save your rendering setup parameters for use in other designs. This is useful for creating setups for different levels of accuracy/finish.

These same settings can be defined in their individual dialog boxes, such as the following:

Any settings that you change in the Rendering Setup dialog box, and apply to the view(s), are reflected in the individual dialog boxes, and vice-versa. Using the Rendering Setup dialog box simplifies the setting up process because all settings are readily accessible from the one dialog box.

General Procedure — To adjust rendering settings
  1. Open the Rendering Setup dialog box by selecting Settings > Rendering > Setup.

  2. From the View option menu, select the view to which the settings are to apply.

  3. Select the tab relating to the settings that you want to adjust.

  4. Make adjustments.

  5. Repeat steps 3 and 4 as required.

  6. If the Apply button is enabled, click it to make the adjustments to the selected view. The Apply button remains inactive (dimmed) unless a change is made that has to be applied (for example, changes to View Attributes have to be applied to the view).

Controlling shadow quality in Phong rendering

Shadow settings for Phong rendering are controlled in the Rendering Settings dialog box (Settings menu > Rendering > General), or the General tab of the Rendering Setup dialog box.

If the shadow tolerance is too large, objects may not cast shadows on other objects that are too close. If it is too small, the objects might shadow themselves, causing a rippled appearance across the surface.

Decreasing processing time

Even on fast systems, high-resolution ray traced images take some time to generate. The following options in the Ray Tracing dialog box help reduce the time required to produce photo-realistic ray traced images:

Ray Tracing dialog box

  

Multiple images can be ray traced sequentially without user intervention. See General Procedure for Rendering Multiple Images.

As a general rule, to save time, test renderings should be done in small views or fences. Large views, or images saved to disk, should only be rendered after you are satisfied with the initial results.

Ray Tracing setting key-in

There is a key-in that can be used by advanced Visualization users to improve ray tracing performance in certain situations.

This key-in, RAYTRACE SET CONTRIBUTION <value>, sets the minimum contribution a reflected or transmitted ray needs to have before that ray will be computed.

In ray tracing calculations, the contribution of a ray is cumulative from the eye. Take, for example, a ray from the eye that sees an object having a reflective value of 0.6. The contribution of the ray reflected from this object would be 0.6. If that reflected ray now sees an object that has a transparent value of 0.3, the contribution of the ray transmitted from the new object would be 0.6 * 0.3 = 0.18. If the minimum contribution was set to 0.2, this transmitted ray would not be computed, since it would be considered insignificant.

Values that may be used for this key-in range from 0.0 to 1.0. A value of 0.0 (the default) indicates that all rays are significant and will be computed, while values near 1.0 indicate that almost no reflected or transmitted rays are significant, and most would be ignored. Typical non-zero values would range between 0.1 and 0.001. Submitting this key-in without a value will display the current value in the status bar.

Shading Type

When rendering a view, you can choose from Normal, Antialias and Stereo shading types.

Normal

The view is shaded normally.

Antialias

Reduces the jagged edges (jaggies) that are particularly noticeable on low-resolution displays. The additional time required for antialiasing is especially worthwhile when saving images for presentation, publication, or animated sequences.

Antialiased (left) compared to not antialiased (right).

  

Magnified view of top edge when antialiased (left) and not antialiased (right).

  

Antialiasing quality

An option menu, in the Rendering Settings dialog box, lets you set the value of Antialiasing Quality. This same setting is present also in the Ray Tracing dialog box's Antialiasing Settings section. Choosing from any of the preset options — Very Low, Low, Medium, High, Very High — automatically sets the values for Antialiasing Grid Size. Choosing Custom lets you manually edit the Antialiasing settings.

Antialiasing grid size

Antialiasing with standard rendering modes is done by rendering the model several times and combining the images into one image. Antialiasing quality is determined by the Antialiasing Grid Size setting, which can be set automatically with the Antialiasing Quality settings of Very Low, Low, Medium, High, Very High. Alternatively, you can input the value manually if you choose Custom.

Ray tracing and antialiasing

MicroStation's Ray Tracing render mode uses an adaptive antialiasing technique that samples each pixel. The number of samples taken is determined by the Quality setting, which sets the minimum and maximum samples. Antialiasing for Ray Tracing is performed as follows:

  1. A small number of initial samples is taken in a pixel. The number of initial samples is determined by the Samples Min setting in the Ray Tracing dialog box (Antialiasing Settings).

  2. The degree that the samples vary from each other is determined.

  3. If the variance exceeds the Contrast Threshold, another sample is taken and the variance is re-evaluated.

  4. This procedure is repeated until the variance between the samples is acceptable, or until the maximum number of samples is reached. The maximum number of samples is determined by the Samples Max setting in the Ray Tracing dialog box (Antialiasing Settings).

  5. When done, all the samples are combined into a final pixel value.

You can set the minimum and maximum samples manually, by setting Quality to Custom in the Antialiasing Settings area of the Ray Tracing dialog box. Generally, selecting one of the preset Quality settings, which presets the minimum and maximum samples settings, will cover most situations.

Stereo

Renders a view with a stereo effect that is visible when viewed with 3D (Red/Blue) glasses. Stereo shading takes twice as long as Normal because two images, one each from the perspective of the right and left eyes, are rendered and combined into one “color coded” image.