<?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>
        <perspective fov="100"/>
      </projection-transform>
	  <view-transform>
		<lookat>
			<eye>0.0 0.0 4.0</eye>
			<at>0.0 0.0 0.0</at>
			<up>0.0 1.0 0.0</up>
		</lookat>
	  </view-transform>
    </viewport>	
  </viewports>
  <worlds>
    <world name="menu">
	 <container>
     <if video-clip="movie1">
        <container>		
          <trianglestrip>
            <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
            <texture static-src="border_mid_hi.png"/>			
          </trianglestrip>          
          <transforms>
		  	<scale x="8" y="8"/>
            <translate z="-1"/>		
          </transforms>
        </container>
      </if>
      <if video-clip="movie0">
        <container>		
          <trianglestrip>
            <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
            <texture static-src="border_hi.png"/>			
          </trianglestrip>          
          <transforms>
		  	<scale x="8" y="8"/>
			<translate z="-1.0" x="-.9"/>
			<translate x="0.5"/>            
		    <rotate-y angle="65"/>			
			<translate x="-0.5"/>
          </transforms>
        </container>
      </if>    
     <if video-clip="movie2">
        <container>		
          <trianglestrip>
            <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
            <texture static-src="border_hi.png"/>			
			<transforms>
				<scale x="-1"/>
			</transforms>
          </trianglestrip>          
          <transforms>
		  	<scale x="8" y="8"/>
            <translate z="-1.0" x=".9"/>
			<translate x="-0.5"/>
			<rotate-y angle="-65"/>
			<translate x="0.5"/>			
          </transforms>
        </container>
      </if>
	   <transforms>
	     <translate y="0.5"/>
	   </transforms>
	  </container>
      
      <if bool="pageup">
        <trianglestrip>
           <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
          <texture static-src="scene_but_m_hi.png"/>
          <transforms>		    
		  	<scale x="5" y="2.5"/>
			<translate y="-2"z="-1"/>  
          </transforms>
        </trianglestrip>
      </if>

      <if bool="nextpage">
        <trianglestrip>
           <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
          <texture static-src="scene_but_r_hi.png"/>
          <transforms>		    
		  	<scale x="5" y="2.5"/>
			<translate x="0.5" y="-2"z="-1"/>
          </transforms>
        </trianglestrip>
      </if>

      <if bool="prevpage">
        <trianglestrip>
           <xyz>
              0.5   -0.5  0.0
              -0.5  -0.5  0.0
              0.5   0.5   0.0
              -0.5  0.5   0.0
            </xyz>
            <texcoord>
			1.0   1.0
			0     1.0
			1.0   0
			0     0
			</texcoord>
          <texture static-src="scene_but_l_hi.png"/>
          <transforms>		    
		  	<scale x="5" y="2.5"/>
			<translate x="-0.5" y="-2"z="-1"/>           
          </transforms>
        </trianglestrip>
      </if>
    </world>
  </worlds>
  <render-instructions>
    <render-to buffer="back" clear-depth="1" clear-color="#FF000000" viewport="menu"/>
  </render-instructions>
</m3danim>
