<?xml version="1.0" encoding="utf-8"?>
<m3danim length="10">
  <video-clips>
    <random-movie-clip-playlist name="clips1" length="10" clip-length="3.33"/>
    <random-movie-clip-playlist name="clips2" length="10" clip-length="3.33"/>
    <random-movie-clip-playlist name="clips3" length="10" clip-length="3.33"/>
  </video-clips>
  <render-targets>
    <render-target texture="text" size="1024"/>
  </render-targets>
  <viewports>
    <viewport name="text" world="text">
      <projection-transform>
        <orthogonal/>
      </projection-transform>
    </viewport>
    <viewport name="menu" world="menu">
      <projection-transform>
        <menu-screen/>
      </projection-transform>
    </viewport>
  </viewports>
  <worlds>

	<world name="text">
		<container>
			<text text-id="disc.title" font-weight="bold" font-name="Arial Bold" font-size="45" align="center" valign="top" font-color="#FFFFFFFF">
				Dies ist ein sehr langer Titel 
			</text>
			<transforms>
				<translate y="-0.29166666666"/>
			</transforms>
		</container>
		
		<container>
			<text text-id="button.play" font-weight="bold" font-name="Arial Bold" font-size="45" align="center" valign="top" font-color="#FFFFFFFF">
				Play
			</text>
			<transforms>
				<translate x="-0.28" y="0.233"/>
			</transforms>
		</container>		
		
		<container>
			<text text-id="button.scenes" font-weight="bold" font-name="Arial Bold" font-size="45" align="center" valign="top" font-color="#FFFFFFFF">
				Scenes
			</text>
			<transforms>
				<translate x="0.28" y="0.233"/>
			</transforms>
		</container>		
		
	</world>
		
    <world name="menu">

		
		<trianglestrip>
			<xyz>
				0.75	0.0	0.0
				0.0		0.0	0.0
				0.75	1.0	0.0
				0.0		1.0	0.0
			</xyz>
			
			<texcoord absolute="false">
				1.0   	0.0
				0.0		0.0
				1.0   	1.0
				0.0	    1.0
			</texcoord>		
			<texture video-clip="clips1"/>
			<transforms>
				<translate x="0.134375" y="0.310417"/>
				<scale x="0.3375" y="0.3375"/>
			</transforms>
		</trianglestrip>
		
		<trianglestrip>
			<xyz>
				0.75	0.0	0.0
				0.0		0.0	0.0
				0.75	1.0	0.0
				0.0		1.0	0.0
			</xyz>
			
			<texcoord absolute="false">
				1.0   	0.0
				0.0		0.0
				1.0   	1.0
				0.0	    1.0
			</texcoord>		
			<texture video-clip="clips2"/>
			<transforms>
				<translate x="0.392" y="0.310417"/>
				<scale x="0.3375" y="0.3375"/>
			</transforms>
		</trianglestrip>
		
		<trianglestrip>
			<xyz>
				0.75	0.0	0.0
				0.0		0.0	0.0
				0.75	1.0	0.0
				0.0		1.0	0.0
			</xyz>
			
			<texcoord absolute="false">
				1.0   	0.0
				0.0		0.0
				1.0   	1.0
				0.0	    1.0
			</texcoord>		
			<texture video-clip="clips3"/>
			<transforms>
				<translate x="0.63" y="0.310417"/>
				<scale x="0.3375" y="0.3375"/>
			</transforms>
		</trianglestrip>	

		<trianglestrip>
			<xyz>
				1.3203125	-0.1	0.0
				-0.3203125	-0.1	0.0
				1.3203125	1.1		0.0
				-0.3203125	1.1 	0.0
			</xyz>
			
			<texcoord absolute="true">
				1050   	0
				0		0
				1050   	576
				0	    576
			</texcoord>		
			<texture static-src="main_bg.png"/>
			<transforms>
			</transforms>
		</trianglestrip>
		
		<trianglestrip>
			<xyz>
				1.3   	1.5666666666 1.0
				-0.3	1.5666666666 1.0
				1.3   	-0.566666666 1.0
				-0.3	-0.566666666 1.0
			</xyz>
			
			<texcoord absolute="false">
				1.0   	0.0
				0.0		0.0
				1.0   	1.0
				0.0	    1.0
			</texcoord>		
			<texture render-target="text"/>
			<transforms>

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