Lighting Inspector

Lighting and shadows do not carry over from SketchUp. Lights can be added in Inspector, in the Vizard script, or both. By default a head light is enabled that illuminates whatever is in front of the viewpoint. Directional, Spot, and Point Lights can be added and positioned anywhere in the scene. Additional processing power is required for each light added to the scene and there is a limit of 8 custom lights (7 if the head light is enabled). Lighting calculations are different depending on whether 'Effects' are enabled or disabled.

Effects Enabled:

  • Per pixel lighting is calculated on the model
  • Shadows can optionally be enabled.
  • Ambient light can be added to the scene
  • Requires more processing power

Effects Disabled

  • Per vertex lighting is calculated on the model
  • Shadows and Ambient light not supported
  • Requires less processing power


Change lighting for viewing in Inspector Only

There are different ways of lighting the model in Inspector without actually changing the model. Go to View > Lighting and try out the Off , Sky, and Head options.

  • Off: Often used when adding ambient or custom lights
  • Sky: Similar to adding a directional light that points downwards
  • Head: A head light that illuminates whatever is in front. This is the same as the default lighting in Vizard

Before going on to the next section set the lighting mode to Off.


Custom Lights

Custom lights are added through the Create > Light menu. Go ahead and add a directional light. Next enable translate or rotate mode to set the light's position and orientation. The position of a directional light does not affect its output, but can be used to move the node's icon to a more convenient location for visualizing it in Inspector:

The light color can be changed and shadows can be enabled for the light in the in the properties window:

In order to access this light and change it's position/orientation in the Vizard script the light should have a name. In the scenegraph, right click on the light transform and rename it to 'Sun':

Ambient Light

Enable Effects in the bottom right corner to see how ambient light will affect the model.

To change the ambient light level:

  • Select the "Scene" root node in the scene graph window
  • In the properties window, click on the bar next to 'Ambient Light'.
  • Drag the cursor in the color box

See the affect on the model of changing the amient color. To store the ambient level within the file check "Save Scene Settings" within the properties panel:

Go to File > Save to save the model with lights.


Back: Model Scale

Next: Lighting: Vizard