Skip to content

PhotoRender Settings

(Available in TurboCAD Pro)

The Photo Realistic Render Settings dialog box controls general rendering values. To access the Photo Realistic Render Settings dialog box, click the Render Settings tool from the Photo Render toolset.

img

General Settings

img

Raytrace Max Reflections

The Raytrace Max Reflections value controls the maximum number of “bounces” a ray will be allowed to make. Once a ray has reached this limit, no further color calculations will occur for that ray. The images of a mirror-walled room below demonstrate the effect of changes in the Raytrace Max Reflections value.

img

(a) Reflections = 4 (b) Reflections = 8

Max Reflections

Raytrace Over-Sample Cutoff

The Raytrace Over-Sample Cutoff value controls the threshold for adaptive image over-sampling. The image will be sampled until adjacent color samples differ in the largest of their red, green, and blue components by an amount not exceeding the Raytrace Over-Sample Cutoff value. The valid range is from 0.0 to 1.0. The default value is 0.1.

img

Use Anti-Alias Feature Following

The Use Anti-Alias Feature Following (AAFF) checkbox controls the application of AAFF. If checked, a second pass will be made over an image that brings out small geometric feature details that may have been lost due to ray sample aliasing.

Use Transparency Shadows

The Use Transparency Shadows checkbox controls the behavior of shadow generation for transparent objects. If checked, the shadow cast through a transparent object uses the object color. If not checked, the transparent object will cast an opaque shadow.

img

(a) On (b) Off

Use Progressive Rendering

Progressive Rendering provides immediate feedback of a final image with a fast preview of the lighting and materials in a scene; it provides users with a way to get a desired image with less iteration.

Render Curves, Text, and Dimensions

This option enables photorealistic rendering of curves, text, and dimension entities. Use this feature to add annotations to a final rendered image.

Use View Clip Distances

The Use View Clip Distances checkbox and the Near and Far values control the near and far clipping plane behavior. The near and far clipping planes are normal to the view vector and are at the specified distance from the eye point. Any objects (or portions of objects) that lie aft of the far clipping plane and forward of the near clipping plane are ignored for the image. As implied, an object can be “sliced” if it is intersected by a clipping plane.

If Use View Clip Distances is checked, the Near and Far distance values are used for the clipping plane distances. If Use View Clip Distances is unchecked, the near and far clipping planes will be automatically set to the near and far view extents of the model (all objects are rendered for the image). Unless you are trying to achieve a particular result, Use View Clip Distances should normally be left unchecked.

img

0.5 Intensity 2.0 Intensity

Shadow Quality

Increases the quality of shadows at the cost of rendering time.

img

1 Shadow Quality 8 Shadow Quality

Shadow Softness

Determines how soft the boundaries of shadows appear.

img

1 Shadow Softness 4 Shadow Softness

Shadow Tolerance

img

0 Tolerance 0/4 Tolerance

Modifies the shadow map sampling distance. It is used to deal with self-shadowing artifacts that can be apparent with low resolution, high softness shadows. They usually appear as either grid-like patterns of smudges or moire patterns. A value of 0.0 specifies no effect, a value of 1.0 causes no shadows. Values around 0.1 to 0.2 are usually sufficient to deal with most artifacts. The value of this parameter should be as small as possible, because large values can cause shadows to disappear from objects close to the object casting the shadow. A value of 1.0 will cause all shadows to vanish.

Edit Foreground

The Edit Foreground menu option displays a dialog box that allows editing of the foreground used in the Render commands. You can access the Foreground Shader Settings from the Render Setting dialog or from the right-click menu.

img

The dialog box has the same familiar interface of the Advanced Material editor which consists of Shader Types, Attributes, and Attribute values.

img

Foreground Edit Dialog

Below is a list of the Foreground shader types and associated descriptions.

depthcue

A foreground shader that adds a background color specified by parameter “background color” according to the distance of the surface from the viewer. At distances less than that given as “near”, no background color is added. At distances greater than “far”, the full background color is returned. Between the two distances, the output is linearly interpolated between the surface and background colors. The effect is that depth information in the geometry is enhanced in the final image.

fog

A foreground shader that implements atmospheric absorption to create a ‘fog’ effect. The contribution made by the fog whose color is given by “fog color”, is attenuated asymptotically using the formulation: 1 - e^{-d} where d is the distance of the shading point divided by the reference distance supplied as “distance”. .

The density of the fog is clamped to a maximum value specified by parameter “max density”. By default this value is 1.0. Values between 0.0 and 1.0 are sensible – values less than zero will be interpreted as zero and values greater than one will be interpreted as one.

The fog effect can be enabled or disabled for background pixels using “ignore background”. By default this is set to TRUE, i.e., there is no fog effect applied to background pixels.

foglight

Atmospheric scattering from point and spot light sources. A constant distribution of particles in the atmosphere is assumed.

The light fall-off used in the scattering computations is 1/d^2, so light sources tend to look saturated near their center. Light sources should therefore also use a 1/d^2 type fall-off for consistency between atmospheric and surface shading.

Also note that spot lights should have an almost constant angular intensity distribution (i.e., a hard-edged illumination cone). Volumetric shadows are not implemented by this shader.

grndfog

This shader is used to create more subtle fog like effects than the standard “fog” shader. With this shader the fog density decreases exponentially along a user specified axis. The parameter “fog height” sets the rate of decrease (if this is set to zero or a negative value, the effect is the same as with the standard “fog” shader).

The parameters “ground point” and “ground normal” define the place where the fog lies. It is assumed to be the plane z=0 by default.

Note that fog does not exist at all below the ground plane, so in the default case there is only fog in the z>0 halfspace.

The density of the fog is clamped to a maximum value specified by parameter “max density”. By default this value is 1.0. Values between 0.0 and 1.0 are sensible – values less than zero will be interpreted as zero and values greater than one will be interpreted as one.

The fog effect can be enabled or disabled for background pixels using “ignore background”. By default this is set to TRUE, i.e., there is no fog effect applied to background pixels.

noneforeground

No foreground. Pixel values are output unmodified.

scatteringmedium This shader enables simulation of a full range of effects occurring in a participating medium, including:attenuation within medium light filtration through colored medium first order light scattering inside medium with volumetric shadows

The light scattering effects are modeled for all light shaders except “ambient”, “eye” and “sky” (though are available in “area sky” shader). The “first order scattering” mentioned above means that the shader visualizes direct effect of scattering in medium – scattered light coming to observer but does not consider secondary effects – multiple bounces of light within the medium or illumination of surfaces by scattered light.

The shader performs attenuation of original surface color according to given medium attenuation coefficient and medium color. As one could expect, the longer distance from shaded point the dimmer and more colored by medium it becomes. In addition to attenuation it is also possible to specify medium ambient light scattering which gives overall veiling effect. Finally the shader models scattered light from all the supported light sources if “scattering” parameter of the source is set to TRUE.

Edit Background

The Edit Background menu option displays a dialog box that allows editing of the background used in the Render commands. You can access the Foreground Shader Settings from the Render Setting dialog or from the right-click menu.

img

img

The dialog box has the same familiar interface of the Advanced Material editor which consists of Shader Types, Attributes, and Attribute values

Below is a list of the Background shader types and associated descriptions.

cloudsbackground

A background giving a cloudy appearance. The color of the clouds and the background (sky) may be specified in arguments “clouds color” and “background color”, respectively. The detail or complexity of the texturemay be controlled by means of the “detail” argument. A value of 1 will give a simple outline of the clouds, while a larger value such as 5 or 6 will give fine detail on the cloud outlines. An overall scaling factor is provided in argument “scale”; increasing this value will make the clouds appear larger.

envmapbackground

When this background shader is used, the current global environment map is sampled at background pixels.

The “intensity” argument allows the ‘brilliance’ of the reflection to be altered†– the color value calculated for each pixel of background is multiplied by the intensity value.

The “angle” specifies the angle, in radians, over which the environment map is sampled for each pixel of background. This allows the environment map to be “blurred” slightly. By default, the value is 0.0, meaning that the color of each pixel is established from a single point sample taken through the center of the pixel.

graduated

A background providing a graduation from the top of the image tothe bottom of the two colors specified as arguments “top color” and “bottom color”, respectively.

horizon

the horizon is shader providers a simple horizon with a graduatedsky and ground colors.

image

A background shader that maps an image.

The name of the file containing the image data may be provided as a string to parameter “file name”, which can be in any format for which the appropriate image driver is installed.

mixed

A background shader which mixes the results of two other background shaders (“base shader” and “mixed shader”) according to the ratio given as parameter “mixing ratio”.

nonebackground

No background. Regions of the image not covered by any surface will appear black.

plainbackground

A plain background with a single, uniform color. The color issupplied in argument “color”.

raycube

A problem with ordinary background shaders is that they don’t handle reflections or refractions. This is because all pixels at which the background is deemed to be visible are shaded in the same way, using a background whichis located only in image space, rather than in real 3D space.

Thus, for example, a mirror, which should reflect the background behind the viewer, in fact shows the background exactly as it would be if the mirror were not there (i.e. all the mirrors become transparent). This would even be the case if the mirror has geometry behind it, so the effect becomes one of a holes in the geometry.

This shader allows two other background shaders to be used, one for the areas of background directly visible to the viewer, and another for reflections.

Thus the “primary shader” is used for primary rays which do not intersect any geometry, and the “secondary shader” for reflection rays which do not intersect any further geometry (i.e., reach the background).

“Reflected shader” or “refracted shader” allow background shaders to be specified for reflected and refracted rays. If either is defined then it will be used in preference to any “secondary shader” that is specified. The “refracted shader” also applies to any rays that have passed through a transparent medium. If either of the shaders is not defined, then black is used as the default background color.

A situation where this shader is very useful for rendering images where the directly visible background is supposed to be replaced in post-production. The environment background would be used for reflections, and the plain background for the directly visible background, which can then be replaced by an image.

scaledimage

A background of an image read from a file, and scaled to fit into the viewport.

The image may also be rotated.

twoplanes

This shader allows two background images to be located in world space (one in front of the observer and one behind). These images can then be ‘reflected’ in any mirrors, thus producing the correct effect