Visualization Guide
Visualization Guide
Visualization Guide

Surface Material Definitions

You can assign material definitions — attributes related to color, texture, transparency, and finish — to surfaces. Definitions may be assigned on a level/color basis, or attached as an attribute to an element, or to an individual face of a SmartSolid. Material definitions attached as attributes to elements/surfaces take precedence over assignments by level/color.

Many sample material definitions are supplied. If you do not plan to create your own material definitions, but want to apply existing material definitions to elements, see To assign materials to elements.

Material settings

When defining materials for your models, settings in the Material Editor dialog box let you define how the surfaces react with light in the scene. In order to use correctly the various material settings, it is important to understand how they affect the interaction of light rays with objects in your models. The diagram below shows the various possibilties when a light ray strikes an object.

Legend:

In reality, all objects absorb some amount of light. That is, not all the light that strikes an object is reflected or transmitted. Similarly, when you define materials in your models, they should not be greater than 100% efficient. This is important, in particular, for materials that are to be used in photo-realistic images. For these materials, the following formula should be used:

Efficiency = Diffuse + Translucency + Specular + Transparency <= 100

Using the Efficiency lock, in the Material Editor's advanced mode, you can select an Efficiency value, which is maintained as you modify the above settings. That is, if you modify a setting for Diffuse, Translucency, Specular, or Transparency, changes are made also to the remaining three settings to maintain the Efficiency setting.

Pattern maps

For increased realism, a pattern map can be included in a material definition. Pattern maps are raster images (patterns) that are “mapped” to selected surfaces in the design file, as determined by the material assignments.

You can map an image of a carpet, for example, to a shape in the design file that denotes the floor. When rendered, the shape takes on the appearance of the carpet.

Bump maps

(Phong shading, Ray Tracing, Radiosity and Particle Tracing only) Material definitions can include a bump map, which can be any image (even the same image as that used for a pattern map). Brighter portions of the image are interpreted as high points, or bumps, and darker areas are interpreted as depressions or dents (this can be inverted in the bump map settings.)

Bump maps can be used with pattern maps to simulate realistic surfaces. For example, a material definition can use a bricks and mortar pattern map, along with the equivalent bump map, to produce realistic bricks and mortar.

From left to right: Element with no material definition, with pattern map, with bump map, with both pattern and bump map.

  

Material lighting effects

Rendering relies on the reflection of light off surfaces in the design file. Material definitions include settings for various properties that affect the way that lighting is treated. Using the Material Editor dialog box, you can specify the various settings that determine the appearance of materials in your rendered images, including applying pattern maps and bump maps.

Many settings are available that affect the appearance of materials. If you hover the pointer over these settings, in the Material Editor dialog box, a tool tip displays a description of the setting.

Efficiency

When you are defining materials for photorealism, a primary consideration is the efficiency setting for the material. This should never exceed 100%. Typical materials in the real world generally range in efficiency from 30% to 70%. When you turn on efficiency (Basic Mode) or lock it (Advanced Mode) it will remain at the selected value. As you adjust a material setting that affects the efficiency, then automatic adjustments will be made to the other settings to maintain the selected efficiency.

Diffuse

(Dark/Bright setting in Basic Mode) the intensity of the material's diffuse color — can range from Dark (no diffuse color) to Bright (100% diffuse color).

How the diffuse color is defined depends on the color setting. Click the color menu to see the following options:

By mixing the diffuse color with a pattern map, the need for many different pattern maps is reduced. For example, both blue and pink marble materials could be created by mixing different base colors with a single marble pattern map.

Translucency

Translucency controls the amount of light that illuminates the side of the surface opposite the light source. That is, the percentage of incoming light that is transmitted through the material and scattered in all directions as it exits the material.

Specular, Finish, and Reflect

(Dull/Shiny control and Reflective toggle in Basic Mode) These three settings affect materials as follows:

The Finish and Specular settings interact to produce specular highlights, or lighting “hot spots,” for a material.

Transparency and Refract

(Opaque/Clear setting in Basic Mode) Sets a material's transparency and refractive index.

Transparency values range from 0 (opaque) to 1 (fully transparent).

Sphere with transmit set to 0 (left) and 0.6 (right).

  

Refract sets the index of refraction for the material. The index of refraction is the ratio of the speed of light in a solid material to the speed of light in air. The index defines how much light bends as it enters a material.

Values for Refract range from 0.10 to 3.00, but refract values for commonly used materials are available from the drop-down menu, which is opened by clicking the arrow icon.

Sphere with Refract set to 1.000 (left) and 1.400 (right).

  

It is not uncommon to use surfaces, rather than solids, to model panes of glass in windows. This can cause rendering inaccuracies where refraction is concerned because the light is bent only as it enters the surface. In real-life glass has thickness and the light is bent in one direction as it enters the glass, and again (in the opposite direction) as it exits the glass. In these situations, you can use the Thickness setting to specify that the material has a thickness. Thickness is defined in master units.

Thickness

This setting can be used to modify the refraction through a surface. For example, it is not uncommon to use surfaces, rather than solids, to model panes of glass in windows. This can cause rendering inaccuracies where refraction is concerned because the light is bent only as it enters the surface. In real-life glass has thickness and the light is bent in one direction as it enters the glass, and again (in the opposite direction) as it exits the glass. In these situations, you can use the Thickness setting to specify that the material has a thickness.

When applied to a solid, then a non-zero thickness would make the solid appear hollow.

Thickness is defined in master units.

Ambient

The material's ambient reflectance — that is, the degree to which the overall ambient lighting is reflected by the surface — values can range from None (0) to Full (100).

A combination of the overall Ambient light setting, together with the material's ambient light, determines the surface's appearance in the rendered image.

You can produce a material that appears to “glow” by keying in a value greater than 1 for Ambient.

Casts Shadows

If on, the material can cast shadows. If off, the material will not cast shadows (the light will shine through it).

Left: Cast shadows on for all materials. Right: Cylinder's material has Cast Shadow turned off.

  

Global Illumination

Used in conjunction with the Material Receives Light and Material Reflects Light settings in the Materials & Lighting section of the Radiosity dialog box and the Particles section of the Particle Tracing dialog box. Determine how the material receives and transmits radiosity illumination or particles. In either case:

Using wildcards in material assignments

When you enter level/color assignements for materials via the Material Editor, or the Material Assignments dialog boxes, you can use wildcards in the assignment. Level/color assignments are specified as LevelRange : ColorRange. Currently, the only wildcard character supported is the asterisk “*”.

Color wildcards

You can specify colors individually, separated by commas, or as a range separated with a hyphen. For colors, the wildcard character matches all colors. For colors, wildcard and non-wildcard characters cannot be combined, the wildcard takes precedence.

Examples:

Level name wildcards

You can specify levels individually, separated by commas, or as a range separated with a hyphen. For levels, the wildcard character “*” matches zero or more characters, as shown in the following examples:

Multiple wildcards can be entered on the same line, such as:

Wildcard conflicts

Where conflicting assignments occur, more qualified assignments override less qualified assignments. For example: