
<demo name="animated gif" width="640" height="480" bpp="32" fullscreen="0" showfps="0" >

	<loadplugin file="fx/fx_main.dll"/>
	<loadplugin file="fx/fx_rawhed.dll"/>

	<add type="clear" name="clear"/>
	<clear color="0xff000000"/>

	<camera mode="create" name="bob" speed="1.0" viewport="0.25,0.25,0.50,0.50" pos="0,0,-150"></camera>
	<camera name="bob" mode="keyframe">
		<key t="0.0" pos="0,0,2" rot="0,0,0" viewport="0.25,0.25,0.5,0.5"></key>
		<key t="100.0" pos="0.1,0,0.5" rot="10,0,20" viewport="0.5,0.25,0.5,0.5"></key>
		<key t="1000.0" pos="1.0,0,0.2" rot="90,0,90" viewport="0.5,0.25,0.5,0.5"></key>
	</camera>

	<camera mode="create" name="bob2" speed="1.0" viewport="0.25,0.25,0.50,0.50" pos="0,0,2" loopMode="1" loopstart="0" loopend="700"></camera>
	<camera name="bob2" mode="keyframe">
		<key t="0.0"   pos="0.0,0.0,0.0"></key>
		<key t="50.0" pos="0.0,0.0,2.0"></key>
		<key t="75.0" pos="0.5,0.5,2.0"></key>
		<key t="100.0" pos="0.1,0.0,2.0"></key>
		<key t="200.0" pos="0.7,0.0,2.0"></key>
		<key t="300.0" pos="-0.7,0.0,2.0"></key>
		<key t="400.0" pos="0.0,-0.5,2.0"></key>
		<key t="500.0" pos="-0.5,-0.5,2.0"></key>
		<key t="600.0" pos="-0.5,0.5,2.0"></key>
		<key t="700.0" pos="0.0,0.0,2.0"></key>
	</camera>

	<camera mode="create" name="raver" speed="0.5" fov="45" viewport="0.0,0.0,1.0,1.0" pos="0,0,-150"></camera>
	<camera name="raver" mode="keyframe">
		<key t="0.0" pos="0,0,1" rot="0,0,0"></key>
		<key t="100.0" pos="0,0,1" rot="0,0,180"></key>
		<key t="200.0" pos="0,0,1" rot="0,0,0"></key>
		<key t="300.0" pos="0,0,1" rot="0,0,-180"></key>
		<key t="400.0" pos="0,0,1" rot="0,0,0"></key>
	</camera>

	<add type="gifplay" name="plasma" />
	<plasma filename="plasma.gif" speed="0.4">
	<gl>
		<depth	active="1"
			test="0"
			write="0">
		</depth>
		<alpha	active="1"
			blend="1"
			blendsrc="4"
			blenddst="5"
			mask="1"
			maskvalue="0.5">
		</alpha>
	</gl>
	</plasma>

	<add type="gifplay" name="go" />
	<go filename="explode.gif" speed="0.4">
	<gl>
		<depth	active="1"
			test="0"
			write="0">
		</depth>
		<alpha	active="1"
			blend="1"
			blendsrc="1"
			blenddst="1"
			mask="1"
			maskvalue="0.5">
		</alpha>
	</gl>
	</go>

	<add type="gifplay" name="moo" />
	<moo filename="scissors.gif" camera="bob" speed="0.1">
	<gl>
		<depth	active="1"
			test="0"
			write="0">
		</depth>
		<alpha	active="1"
			blend="1"
			blendsrc="4"
			blenddst="5"
			mask="1"
			maskvalue="0.5">
		</alpha>
	</gl>
	</moo>

	<add type="gifplay" name="boo" />
	<boo filename="animcow.gif" camera="bob2" speed="0.035">
	<gl>
		<depth	active="1"
			test="0"
			write="0">
		</depth>
		<alpha	active="1"
			blend="1"
			blendsrc="4"
			blenddst="5"
			mask="1"
			maskvalue="0.5">
		</alpha>
	</gl>
	</boo>
	<draworder effect="clear" effect="plasma" effect="moo" effect="boo"  effect="go"/>

	<load/>
	<run/>
</demo>