<scene>
	<env textures=".\res\textures\" geometry=".\res\geometry\" debug="true"></env>
	<device id="0" device="1" xres="1024" yres="768" windowed="true" specular="true"></device>
	<inputdevice id="0" name="Mouse" type="mouse"></inputdevice>
	<inputdevice id="1" name="Keyboard" type="keyboard"></inputdevice>
	<inputhandler id="0" device="0">
		<op action="mousex" axis="y" op="rot" step="0.01"></op>
		<op action="mousey" axis="x" op="rot" step="0.01"></op>
	</inputhandler>
	<inputhandler id="1" device="1">
		<op action="uparrow" axis="z" op="trans" step="0.1" repeat="true"></op>
		<op action="dnarrow" axis="z" op="trans" step="-0.1" repeat="true"></op>
		<op action="lfarrow" axis="x" op="trans" step="-0.1" repeat="true"></op>
		<op action="rtarrow" axis="x" op="trans" step="0.1" repeat="true"></op>
		<op action="esc" op="exit"></op>
	</inputhandler>
	<inputhandler id="2" device="1">
	   <op action="d" axis="y" op="rot" step="0.01" repeat="true"></op>
	   <op action="a" axis="y" op="rot" step="-0.01" repeat="true"></op>
	</inputhandler>
   <inputhandler id="3" device="1">
	   <op action="w" axis="z" op="trans" step="0.1" repeat="true"></op>
	   <op action="s" axis="z" op="trans" step="-0.1" repeat="true"></op>
	</inputhandler>
	<camera id="0" fovh="40" fovw="60" znear="1" zfar="20">
		<eye x="0" y="0" z="-10"></eye>
		<up x="0" y="1" z="0"></up>
	</camera>
	<camera id="1" fovh="40" fovw="60" znear="1" zfar="100" frustum="false">
		<eye x="0" y="0" z="-30"></eye>
		<up x="0" y="1" z="0"></up>
	</camera>
	<light id="0" type="point" x="-2" y="2" z="-10">
		<ambient r="1.0" g="1.0" b="1.0" a="0"></ambient>
		<diffuse r="1.0" g="1.0" b="1.0" a="0"></diffuse>
		<specular r="1.0" g="1.0" b="1.0" a="0"></specular>
		<attenuation linear="0.1"></attenuation>
	</light>
	<material id="0">
		<ambient r="0.5" g="0" b="0" a="0.5"></ambient>
		<diffuse r="0.5" g="0" b="0" a="0.5"></diffuse>
		<specular r="1.0" g="1.0" b="1.0" a="0.5" power="10"></specular>
		<emissive r="0" g="0" b="0" a="0"></emissive>
	</material>
	<material id="1">
		<ambient r="0.0" g="0" b="0.5" a="0.5"></ambient>
		<diffuse r="0.0" g="0" b="0.5" a="0.5"></diffuse>
		<specular r="1.0" g="1.0" b="1.0" a="0.5" power="10"></specular>
		<emissive r="0" g="0" b="0" a="0"></emissive>
	</material>
	<scenegraph id="0">
	
		<rotate axis="y" rad="3.14">
			<geometry file="cube.x"></geometry>
		</rotate>
		
		<rotate axis="x" rad="1.6">
			<translate x="-4" y="2" z="0">
				<geometry primitive="teapot" material="0"></geometry>
			</translate>
		</rotate>
		
		<translate x="3" y="2" z="-1">
			<geometry primitive="cube" material="1"></geometry>
		</translate>
		
		<inputhandler id="2">
		   <inputhandler id="3">
		      <camera id="0"></camera>
		   </inputhandler>
		</inputhandler>
		
		<inputhandler id="0">
			<inputhandler id="1">
				<camera id="1"></camera>
			</inputhandler>
		</inputhandler>
		
	</scenegraph>
   <view id="0" scenegraph="0" camera="1" device="0" x="0" y="0" width="1.0" height="1.0"></view>
	<view id="1" scenegraph="0" camera="0" device="0" x="0" y="0" width="0.25" height="0.25"></view>
</scene>
