Viz Artist

Version 3.11.0 | Published January 22, 2018 ©

Lighting

images/download/attachments/27789346/viz_icons_per_object_lighting.png
Adds individual lighting per object.

Note: This plug-in is located in: Built Ins -> Container plug-ins -> Global

This section also contains information on the following topics:

Lighting Properties

images/download/attachments/27789346/plugins_container_lighting_editor.png

  • Type: There are three light source types:

    • Local: The Local light source is a positional light. It is near or within the scene, and the direction of its rays is taken into account in lighting calculations. Local lights have a greater performance cost than directional lights, due to the additional calculations. A real life equivalent to a local light source is a light bulb. The Local light source has properties for color and position.

    • Spot: The Spot light source emits a cone of light. The only objects that are illuminated are those within the cone. The Spot light source has properties for color, position, rotation, and attenuation.

    • Infinite: The Infinite light source is a directional light. It is considered to be an infinite distance away from the objects in the scene. Because of the distance, the rays of light are considered parallel by the time they reach the object. A real life equivalent to an infinite light source is sunlight. The Infinite light source has properties for color, position, and rotation. Infinite is selected by default.

  • Shadow: turn shadows on or off.

  • Smoothness: Value from 1 to 10. Affects how shadows blend. The smoother, the more blended (soft) the shadows will be.

  • Shadow Color: Selects the color and alpha value of the shadow.

  • Color: Sets the light source color.

  • Position: Sets the position of the light source along the X, Y, and Z axis.

  • Rotation: Sets the values for Pan, Tilt, and Twist for Spot or Infinite light sources.

  • Cascaded Shadow Mask: the frustum distances affected by shadows, i.e. the three-dimensional region with shadow effects specified as Near, Middle and Far regions. See also Shadow Maps.

  • Spot: Sets the concentration of the light within the light cone of the Spot light source. When set to zero, the whole light cone has the same intensity. If set greater than zero, the intensity decreases away from the centre.

To Add Light

images/download/attachments/27789346/plugins_container_lighting_scene_example.png

  1. Open the Light Editor, and disable global light settings.

  2. Add a Sphere geometry to the scene tree, and add material and the Lighting plug-in to it.

  3. Duplicate the Sphere container and place it at the same level (root) as the other container.

  4. Open the transformation editor and set Position X to -100.0 for the first container and Position X to 100.0 for the second.

  5. Open the Lighting editors the first container one and set the following parameters:

    • Set Type to Spot.

    • Set Light Color to 0,255,0.

  6. Open the Lighting editors the second container one and set the following parameters:

    • Set Type to Spot.

    • Set Light Color to 0,255,0.

    • Set Position X and Y to 650.0 and -850.0, respectively.

    • Set Rotation X and Y to -650.0 and 850.0, respectively.