Group, Text 3-D

The final structure to be defined is a group, EG_Text3D, which describes how text should be applied in the 3-D scene. If the text object is a member of the 3-D scene, then there are three different ways it can be displayed:

  • If no EG_Text3D choice is provided, the text will be rendered in a scene coherent manner and will be rendered in perspective inside of the 3D scene as a planar shape inside the 3-D.

  • If CT_Shape3D is provided then the text will be scene coherent and fully 3-D.

  • If CT_FlatText is provided then the text will be drawn as normal 2-D text rendered on top of the 3-D scene.

An EG_Text3D is defined in the following manner:

<xsd:group name="EG_Text3D">
  <xsd:choice oxsd:cname="Text3DChoice" 
    oxsd:cnameMember="text3DChoice">
    <xsd:element name="sp3dtype="CT_Shape3D" minOccurs="1" 
      maxOccurs="1/>
    <xsd:element name="flatTx" type="CT_FlatText" minOccurs="1" 
      maxOccurs="1" />
  </xsd:choice>
</xsd:group>