<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE X3D PUBLIC "ISO//Web3D//DTD X3D 3.0//EN" "https://www.web3d.org/specifications/x3d-3.0.dtd">
<X3D profile='Interchange' version='3.0' xmlns:xsd='http://www.w3.org/2001/XMLSchema-instance' xsd:noNamespaceSchemaLocation='https://www.web3d.org/specifications/x3d-3.0.xsd'>
  <head>
    <meta content='GolfRange.x3d' name='title'/>
    <meta content='Display two practice ranges for golf' name='description'/>
    <meta content='Ms Ng, Hwee Ping' name='creator'/>
    <meta content='6 September 2004' name='created'/>
    <meta content='20 October 2019' name='modified'/>
    <meta content='https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/GolfRange.x3d' name='identifier'/>
    <meta content='X3D-Edit 3.2, https://www.web3d.org/x3d/tools/X3D-Edit' name='generator'/>
    <meta content='../../license.html' name='license'/>
  </head>
  <Scene>
    <WorldInfo title='GolfRange.x3d'/>
    <Group DEF='Range'>
      <Transform translation='0 0 -10'>
        <Shape>
          <Box size='10 0.1 8'/>
          <Appearance>
            <Material diffuseColor='0.6 0 0' transparency='0.1'/>
            <ImageTexture url='"grass_1.jpg" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grass_1.jpg"'/>
          </Appearance>
        </Shape>
      </Transform>
      <Transform translation='0 3 -6'>
        <Group DEF='Golf_Gate_Breadth'>
          <Shape>
            <Appearance>
              <!-- no material, use emissive texturing. Not really a video, just a .jpg image. -->
              <ImageTexture DEF='Grill_Material' url='"grill.png" "https://www.web3d.org/x3d/content/examples/Savage/Buildings/ZenCondominium/grill.png"'/>
              <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/>
            </Appearance>
            <IndexedFaceSet coordIndex='0 1 2 3' solid='false' texCoordIndex='0 1 2 3'>
              <Coordinate point='-5 -3 0.1 5 -3 0.1 5 3 0.1 -5 3 0.1'/>
              <TextureCoordinate point='0 0 1 0 1 1 0 1'/>
            </IndexedFaceSet>
          </Shape>
          <Shape DEF='Post'>
            <Cylinder height='6' radius='0.1'/>
          </Shape>
          <Transform translation='-5 0 0'>
            <Shape USE='Post'/>
          </Transform>
          <Transform translation='5 0 0'>
            <Shape USE='Post'/>
          </Transform>
        </Group>
      </Transform>
      <Transform translation='0 3 -14'>
        <Group USE='Golf_Gate_Breadth'/>
      </Transform>
      <Transform rotation='0 1 0 -1.57' translation='-5 3 -10'>
        <Group DEF='Golf_Gate_Length'>
          <Shape>
            <Appearance>
              <!-- no material, use emissive texturing. Not really a video, just a .jpg image. -->
              <ImageTexture USE='Grill_Material'/>
              <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/>
            </Appearance>
            <IndexedFaceSet DEF='Screen' coordIndex='0 1 2 3' solid='false' texCoordIndex='0 1 2 3'>
              <Coordinate point='-4 -3 0.1 4 -3 0.1 4 3 0.1 -4 3 0.1'/>
              <TextureCoordinate point='0 0 1 0 1 1 0 1'/>
            </IndexedFaceSet>
          </Shape>
          <Transform translation='-4 0 0'>
            <Shape USE='Post'/>
          </Transform>
          <Transform translation='4 0 0'>
            <Shape USE='Post'/>
          </Transform>
          <Transform translation='-2.5 0 0'>
            <Shape USE='Post'/>
          </Transform>
          <Transform translation='2.5 0 0'>
            <Shape USE='Post'/>
          </Transform>
        </Group>
      </Transform>
      <Transform rotation='1 0 0 1.57' translation='0 6 -10'>
        <Group DEF='Golf_Gate_Top'>
          <Shape>
            <Appearance>
              <!-- no material, use emissive texturing. Not really a video, just a .jpg image. -->
              <ImageTexture USE='Grill_Material'/>
              <TextureTransform center='0.5 0.5' rotation='0.785' scale='32 8'/>
            </Appearance>
            <IndexedFaceSet coordIndex='0 1 2 3' solid='false' texCoordIndex='0 1 2 3'>
              <Coordinate point='-5 -4 0.1 5 -4 0.1 5 4 0.1 -5 4 0.1'/>
              <TextureCoordinate point='0 0 1 0 1 1 0 1'/>
            </IndexedFaceSet>
          </Shape>
        </Group>
      </Transform>
    </Group>
    <Transform translation='0 0 7'>
      <Group USE='Range'/>
    </Transform>
    <Viewpoint description='Mini Golf Range' orientation='-0.154 0.966 0.207 1.9863' position='29.3 15.4 -16.6'/>
  </Scene>
</X3D>