Light

The complex type, CT_LightRig, defines the lighting of the scene. A light rig consists of a preset direction, preset rig type, and a rotation that serves as an override for the direction. The complex type is defined as:

<xsd:complexType name="CT_LightRig">
  <xsd:sequence>
    <xsd:element name="rot" type="CT_SphereCoords" minOccurs="0"
      maxOccurs="1" />
  </xsd:sequence>
  <xsd:attribute name="rig" type="ST_LightRigType" use="required" />
  <xsd:attribute name="dir" type="ST_LightRigDirection" use="required"}
    />
</xsd:complexType> 

Just as with the camera, the complex type, <CT_SphereCoords>, is defined elsewhere in the DrawingML. This element, however, serves as an override for the default light right direction. Figure 2 below shows some of the different preset lights applied to a shape.

Figure 8: Some preset lights applied to a shape.

The types of available light rigs are:

legacyFlat1<>legacyFlat2<>legacyFlat3<>legacyFlat4<>legacyNormal1

legacyNormal2<>legacyNormal3<>legacyNormal4<>legacyHarsh1<>legacyHarsh2

legacyHarsh3<>legacyHarsh4<>threePoint<>balanced<>soft

harsh<>flood<>contrasting<>morning<>sunrise

sunset<>chilly<>freezing<>flat<>twoPoint<>glow<>brightRoom

The types of available present directions are:

<tl> – top left<t> – top <tr> – top right<l> – left

<r> – right <bl> – bottom left<b> – bottom <br> – bottom right