<?xml version="1.0"?>
<scene>

<material name="red">
	<color r="1" g="0.2" b="0.2" a="1"/>
	<mirror_color r=".8" g=".8" b=".5" a="1"/>
	<specular_reflect fval="64"/>
	<kreflect fval="0.8"></kreflect> 
</material>

<material name="orange">
	<color r="1" g="0.6" b="0.1" a=".5"/>
	<mirror_color r=".8" g="0.5" b="0.2" a="1"/>
	<specular_reflect fval="32"/>
	<kreflect fval="0.8"></kreflect> 
</material>

<material name="darkgreen">
	<color r="0" g="0.4" b="0" a="1"/>
	<mirror_color r="1" g="1" b="1" a="1"/>
	<specular_reflect fval="8"/>
</material>

<material name="lightpurple">
	<color r="0.6" g="0.4" b="1" a="1"/>
	<mirror_color r="1" g="1" b="1" a="1"/>
	<specular_reflect fval="28"/>
</material>

<light name="lamp1">
	<color r="1" g="1" b="1" a="1"/>
	<from x="0" y="-10" z="0"/>
	<power fval="0.5"/>
	<type sval="pointlight"/>
</light>

<light3 name="lamp2">
	<color r="1" g="1" b="1" a="1"/>
	<from x="-0.3" y="0.7" z="-10"/>
	<power fval="0.2"/>
	<type sval="pointlight"/>
</light3>

<light name="lamp3">
	<color r="1" g="1" b="1" a="1"/>
	<from x="0" y="0" z="-10"/>
	<power fval="0.25"/>
	<type sval="pointlight"/>
</light>
<light name="lamp4">
	<color r="1" g="1" b="1" a="1"/>
	<from x="2" y="-3" z="0"/>
	<power fval="0.6"/>
	<type sval="pointlight"/>
</light>

<light name="lamp5">
	<color r="1" g="1" b="1" a="1"/>
	<from x="8" y="-2" z="-5"/>
	<power fval="0.5"/>
	<type sval="pointlight"/>
</light>

<light1 name="lamp6">
	<color r="1" g="1" b="1" a="1"/>
	<from x="0" y="-5" z="0"/>
	<power fval="1.0"/>
	<type sval="arealight"/>
	<vector1 val="1 0 0"/>
	<vector2 val="0 0 1"/>
	<samples ival="16"/>
	<width val="3"/>
</light1>

<options>
	<supersampling toogle="false" adaptive="false" samples="16" 	threshold="0.1" minrays="4">
</supersampling>
	<jittering toogle="false" perturb="0.8"/>
	<shading kambient="0.15f" reflections="true"></shading>
</options>


<camera name="cam">
	<from x="2" y="0" z="-10"/>
	<to x="0" y="0" z="0"/>
	<up x="0" y="1" z="0"/>
	<fovy angle="45"/>
	<height ival="100"/>
	<width ival="120"/>
</camera>

<node name="sabz">
	<mesh file="torus.obj" material="green"/>
	<sphere1 radius="1" position="0 -4 0" material="white"/>
</node>
<node name="abi">
	<translation1 v="3 -1.0 0"/>
	<scale1 v="1.2 1.2 1.2"/>
	<instance name="sabz" material="blue"/>
</node>
<node name="cow">
	<mesh1 file="cow.obj" material="red"/>
</node>

<node name="root">
	<node name="test">
	    <translation v="-1 0 0"/>	
	    <rotz1 angle="-20"/>
	    <rotx1 angle="-30"/>
	    <roty1 angle="10"/>
	    <scale1 v="0.5 0.5 1.0"/>
	    <sphere radius="7" position="0 9 0" material="lightpurple"/>
	    <instance name="abi" material = "darkgreen">
	    	<rotx angle="30"/>
	    </instance>
	    <node name="cube">
	    	<translation v="3 0 3"/>
	    	<scale v="4 4 0.5"/>
	    	<roty angle="35"/>
	    	<rotx angle="20"/>
	    	<cube size="1" material="red"/>
	    </node>
	</node>
</node>

<render output="nosupersampling.png">
	<cameraName sval="cam"/>
</render>

</scene>
