
<demo name="avi writer" width="640" height="480" bpp="32" fullscreen="0">

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

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

	<add type="aviwriter" name="avi"/>
	<avi filename="out.avi"/>

	<add type="mayaplay" name="bong"/>
	<bong filename="tree.zen" speed="1">
	<gl restore="1">
		<render	active="1"
			flat="0"
			wire="0"
			envmap="0"
			linewidth="1"
			color="1,1,1,1"></render>
		<depth	active="1"
			test="1"
			write="1">
		</depth>
		<cull	active="1"
			cull="0"
			mode="0">
		</cull>
		<alpha	active="0"
			blend="0"
			blendsrc="1"
			blenddst="2"
			mask="0"
			maskvalue="0.5">
		</alpha>
		<proj	active="1"
			fov="95"
			near="0.02"
			far="800">
		</proj>
		<fog	active="0"
			on="1"
			mode="0"
			density="0.0"
			zstart="-100.0"
			zend="120.0"
			color="0xffa64c0c">
		</fog>
	</gl>
	</bong>
	
	<draworder effect="clear" effect="bong" effect="avi"/>

	<load/>

	<bong camera="cameraShape1" frame="0" play="1" loopmin="0" loopmax="400"/>

	<run/>

</demo>