<?xml version="1.0" encoding="utf-8"?>
<m3danim length="10">
  <video-clips>
    <random-movie-clip-playlist name="movie0" only-from="movie0" length="10" clip-length="3.33"/>
    <random-movie-clip-playlist name="movie1" only-from="movie1" length="10" clip-length="3.33"/>
    <random-movie-clip-playlist name="movie2" only-from="movie2" length="10" clip-length="3.33"/>

  </video-clips>

  <render-targets>
    <render-target texture="label_movie0" size="256"/>
    <render-target texture="label_movie1" size="256"/>
    <render-target texture="label_movie2" size="256"/>
  </render-targets>

  <viewports>

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

    <viewport name="label_movie0" world="label_movie0">
      <projection-transform>
        <orthogonal/>
      </projection-transform>
    </viewport>
    <viewport name="label_movie1" world="label_movie1">
      <projection-transform>
        <orthogonal/>
      </projection-transform>
    </viewport>
    <viewport name="label_movie2" world="label_movie2">
      <projection-transform>
        <orthogonal/>
      </projection-transform>
    </viewport>

  </viewports>


  <worlds>

    <world name="label_movie0">

      <container>

        <array count="3">
          <array count="3">

            <text text-id="button.movie0" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FF621500">
            </text>
            <transforms>
              <scale x="1" y="1" />
              <translate y="-1" x="-0.009" />
            </transforms>

            <step-transforms>
              <translate x="0.009"/>
            </step-transforms>

          </array>

          <transforms>
            <translate y="-0.009"/>
          </transforms>

          <step-transforms>
            <translate y="0.009"/>
          </step-transforms>

        </array>

      </container>


      <container>
        <text text-id="button.movie0" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FFE7CD87">
        </text>
        <transforms>
          <scale x="1" y="1" />
          <translate y="-1" />
        </transforms>
      </container>
    </world>

    <world name="label_movie1">

      <container>

        <array count="3">
          <array count="3">

            <text text-id="button.movie1" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FF621500">
            </text>
            <transforms>
              <scale x="1" y="1" />
              <translate y="-1" x="-0.009" />
            </transforms>

            <step-transforms>
              <translate x="0.009"/>
            </step-transforms>

          </array>

          <transforms>
            <translate y="-0.009"/>
          </transforms>

          <step-transforms>
            <translate y="0.009"/>
          </step-transforms>

        </array>

      </container>

      <container>

        <text text-id="button.movie1" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FFE7CD87">
        </text>
        <transforms>
          <scale x="1" y="1" />
          <translate y="-1" />
        </transforms>

      </container>
    </world>

    <world name="label_movie2">

      <container>

        <array count="3">
          <array count="3">

            <text text-id="button.movie2" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FF621500">
            </text>
            <transforms>
              <scale x="1" y="1" />
              <translate y="-1" x="-0.009" />
            </transforms>

            <step-transforms>
              <translate x="0.009"/>
            </step-transforms>

          </array>

          <transforms>
            <translate y="-0.009"/>
          </transforms>

          <step-transforms>
            <translate y="0.009"/>
          </step-transforms>

        </array>

      </container>

      <container>
        <text text-id="button.movie2" font-weight="bold" font-name="Arial Bold" font-size="30" align="center" valign="top" font-color="#FFE7CD87">
        </text>
        <transforms>
          <scale x="1" y="1" />
          <translate y="-1" />
        </transforms>
      </container>
    </world>
    
    

    <world name="menu">

      <trianglestrip>
        <xyz>
          1.3203125	-0.1	1.0
          -0.3203125	-0.1	1.0
          1.3203125	1.1		1.0
          -0.3203125	1.1 	1.0
        </xyz>
        <texcoord>
          1.0   	0.0
          0.0		0.0
          1.0   	1.0
          0.0	    1.0
        </texcoord>
        <texture static-src="landkartesmall.png"/>
        <transforms>
        </transforms>
      </trianglestrip>

      <container>
        <if video-clip="movie0">
          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture video-clip="movie0"/>
            <transforms>
              <translate x="0.25" y="0.27"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.55	0.0		0.0
              0.0		0.0		0.0
              0.55	0.63333	0.0
              0.0		0.63333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture static-src="q1.png"/>
            <transforms>
              <translate x="-0.0203125" y="-0.1"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture render-target="label_movie0"/>
            <transforms>
              <translate x="0.24" y="0.64"/>
              <scale y="-1" />
            </transforms>
          </trianglestrip>
          
          
        </if>

        <if video-clip="movie1">
          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture video-clip="movie1"/>
            <transforms>
              <translate x="0.75" y="0.27"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.45	0.0		1.0
              0.0		0.0		1.0
              0.45	0.6		1.0
              0.0		0.6		1.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture static-src="q2.png"/>
            <transforms>
              <translate x="0.5296875" y="-0.1"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture render-target="label_movie1"/>
            <transforms>
              <translate x="0.78" y="0.30"/>
              <scale y="-1" />
            </transforms>
          </trianglestrip>

        </if>

        <if video-clip="movie2">
          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture video-clip="movie2"/>
            <transforms>
              <translate x="0.775" y="0.75"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.45	0.0		1.0
              0.0		0.0		1.0
              0.45	0.6		1.0
              0.0		0.6		1.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture static-src="q3.png"/>
            <transforms>
              <translate x="0.5296875" y="0.5"/>
            </transforms>
          </trianglestrip>

          <trianglestrip>
            <xyz>
              0.16328125		-0.21770833333	0.0
              -0.16328125		-0.21770833333	0.0
              0.16328125		0.21770833333	0.0
              -0.16328125		0.21770833333	0.0
            </xyz>
            <texcoord>
              1.0   0.0
              0.0   0.0
              1.0   1.0
              0.0   1.0
            </texcoord>
            <texture render-target="label_movie2"/>
            <transforms>
              <translate x="0.76" y="0.76"/>
              <scale y="-1" />
            </transforms>
          </trianglestrip>
        </if>
      </container>



      <if bool="prevpage">
        <trianglestrip>
          <xyz>
            0.25	0.0	1.0
            0.0		0.0	1.0
            0.25	0.4	1.0
            0.0		0.4 1.0
          </xyz>
          <texcoord absolute="true">
            160   	0
            0		0
            160   	192
            0	    192
          </texcoord>
          <texture static-src="prevupnext.png"/>
          <transforms>
            <translate x="0.03" y="0.70"/>
            <scale x="0.5" y="0.5"/>
          </transforms>
        </trianglestrip>
      </if>
      <if bool="pageup">
        <trianglestrip>
          <xyz>
            0.25	0.0	1.0
            0.0		0.0	1.0
            0.25	0.4	1.0
            0.0		0.4 1.0
          </xyz>
          <texcoord absolute="true">
            320   	0
            160		0
            320   	192
            160	    192
          </texcoord>
          <texture static-src="prevupnext.png"/>
          <transforms>
            <translate x="0.16" y="0.70"/>
            <scale x="0.5" y="0.5"/>
          </transforms>
        </trianglestrip>
      </if>

      <if bool="nextpage">
        <trianglestrip>
          <xyz>
            0.25	0.0	1.0
            0.0		0.0	1.0
            0.25	0.4	1.0
            0.0		0.4 1.0
          </xyz>
          <texcoord absolute="true">
            480   	0
            320		0
            480   	192
            320	    192
          </texcoord>
          <texture static-src="prevupnext.png"/>
          <transforms>
            <translate x="0.3" y="0.70"/>
            <scale x="0.5" y="0.5"/>
          </transforms>
        </trianglestrip>
      </if>

    </world>
  </worlds>
  <initial-render-instructions>
    <render-to clear-color="#00FFFFFF" texture="label_movie0" viewport="label_movie0"/>
    <render-to clear-color="#00FFFFFF" texture="label_movie1" viewport="label_movie1"/>
    <render-to clear-color="#00FFFFFF" texture="label_movie2" viewport="label_movie2"/>
  </initial-render-instructions>
  <render-instructions>
    <render-to clear-color="#FF000000" buffer="back" viewport="menu"/>
  </render-instructions>
</m3danim>
