<?xml version="1.0" encoding="utf-8"?>
<m3danim length="10"   frame-rate-num="1" frame-rate-den="100">
  <video-clips>
    <video-clip name="movie0" src="movie0" length="10"/>
    <video-clip name="movie1" src="movie1" length="10"/>
    <video-clip name="movie2" src="movie2" length="10"/>
  </video-clips>

  <viewports>
    <viewport name="menu" world="menu">
      <projection-transform>
        <menu-screen/>
      </projection-transform>
    </viewport>

  </viewports>
  <worlds>


    <world name="menu">
      <container>
        <if video-clip="movie0">
          <trianglestrip>
            <xyz>
              0.05		0.0			1.0
              -0.05		0.0			1.0
              0.05		0.133333	1.0
              -0.05		0.133333	1.0
            </xyz>

            <texcoord>
              1.0 0.0
              0.0 0.0
              1.0 1.0
              0.0 1.0
            </texcoord>
            <texture static-src="arrow.png"/>
          </trianglestrip>
        </if>
        <transforms>
          <translate y="0.60" x="0.225"/>
        </transforms>
      </container>
      <container>
        <if video-clip="movie1">
          <trianglestrip>
            <xyz>
              0.05		0.0			1.0
              -0.05		0.0			1.0
              0.05		0.133333	1.0
              -0.05		0.133333	1.0
            </xyz>

            <texcoord>
              1.0 0.0
              0.0 0.0
              1.0 1.0
              0.0 1.0
            </texcoord>
            <texture static-src="arrow.png"/>
          </trianglestrip>
        </if>
        <transforms>
          <scale x="1" y="1" />
          <translate y="0.60" x="0.5"/>
        </transforms>
      </container>
      <container>
        <if video-clip="movie2">
          <trianglestrip>
            <xyz>
              0.05		0.0			1.0
              -0.05		0.0			1.0
              0.05		0.133333	1.0
              -0.05		0.133333	1.0
            </xyz>

            <texcoord>
              1.0 0.0
              0.0 0.0
              1.0 1.0
              0.0 1.0
            </texcoord>
            <texture static-src="arrow.png"/>
          </trianglestrip>
        </if>
        <transforms>
          <scale x="1" y="1" />
          <translate y="0.60" x="0.775"/>
        </transforms>
      </container>

      <if bool="prevpage">
        <trianglestrip>
          <xyz>
            0.05 	0.0			1.0
            -0.05 	0.0			1.0
            0.05 	0.133333	1.0
            -0.05 	0.133333	1.0
          </xyz>
          <texcoord>
            1.0 0.0
            0.0 0.0
            1.0 1.0
            0.0 1.0
          </texcoord>
          <texture static-src="button_prevnext.png"/>
          <transforms>
            <translate x="0.25" y="0.72"/>
          </transforms>
        </trianglestrip>
      </if>

      <if bool="pageup">
        <trianglestrip>
          <xyz>
            0.05 	0.0			1.0
            -0.05 	0.0			1.0
            0.05 	0.133333	1.0
            -0.05 	0.133333	1.0
          </xyz>
          <texcoord>
            1.0 0.0
            0.0 0.0
            1.0 1.0
            0.0 1.0
          </texcoord>
          <texture static-src="button_up.png"/>
          <transforms>
            <translate x="0.5" y="0.73"/>
          </transforms>
        </trianglestrip>
      </if>

      <if bool="nextpage">
        <trianglestrip>
          <xyz>
            0.05 	0.0			1.0
            -0.05 	0.0			1.0
            0.05 	0.133333	1.0
            -0.05 	0.133333	1.0
          </xyz>
          <texcoord>
            0.0 0.0
            1.0 0.0
            0.0 1.0
            1.0 1.0
          </texcoord>
          <texture static-src="button_prevnext.png"/>
          <transforms>
            <translate x="0.75" y="0.72"/>
          </transforms>
        </trianglestrip>
      </if>


    </world>
  </worlds>

  <render-instructions>
    <render-to clear-color="#00000000" buffer="back" viewport="menu"/>
  </render-instructions>
</m3danim>
