<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>
	<path>SVMITorre.ac</path>

<!-- El siguiente codigo ilumina las VENTANAS y las apaga durante el dia -->
<animation>
	<type>material</type> 
	<object-name>Ventana</object-name>
	<condition>		
		<greater-than>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</greater-than>
	</condition>
	<emission>	
		<red>0.5</red>	
		<green>0.5</green>	
		<blue>0.6</blue>
	</emission>
</animation>
<animation>
	<type>material</type> 
	<object-name>Ventana</object-name>
	<condition>		
		<less-than-equals>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</less-than-equals>
	</condition>
	<emission>	
		<red>0</red>	
		<green>0</green>	
		<blue>0</blue>
	</emission>
</animation>

<!-- Enciende el Edificio -->
<animation>
	<type>material</type> 
	<object-name>posterior</object-name>
	<object-name>der</object-name>
	<condition>		
		<greater-than>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</greater-than>
	</condition>
	<emission>	
		<red>1</red>	
		<green>1</green>	
		<blue>1</blue>
	</emission>
</animation>
<animation>
	<type>material</type> 
	<object-name>posterior</object-name>
	<object-name>der</object-name>
	<condition>		
		<less-than-equals>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</less-than-equals>
	</condition>
	<emission>	
		<red>0</red>	
		<green>0</green>	
		<blue>0</blue>
	</emission>
</animation>
<animation>
   <type>textranslate</type> 
   <object-name>posterior</object-name>
   <object-name>der</object-name>
   <property>/sim/time/sun-angle-rad</property>
   <step> 1.57 </step>
   <factor>0.318471338</factor>
   <center>
     <x-m>0</x-m>
     <y-m>0</y-m>
     <z-m>0</z-m>
   </center>
   <axis> 
     <x>0</x> 
     <y>-1</y> 
     <z>0</z> 
   </axis> 
 </animation>

<!-- El siguiente codigo Enciende la LUZ ROJA durante la noche, y la apaga durante el dia -->
<animation>
	<type>material</type> 
	<object-name>LuzRoja</object-name>
	<condition>		
		<greater-than>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</greater-than>
	</condition>
	<emission>	
		<red>1</red>	
		<green>0</green>	
		<blue>0</blue>
	</emission>
</animation>
<animation>
	<type>material</type> 
	<object-name>LuzRoja</object-name>
	<condition>		
		<less-than-equals>		
		<property>/sim/time/sun-angle-rad</property>
		<value>1.57</value>
		</less-than-equals>
	</condition>
	<emission>	
		<red>0</red>	
		<green>0</green>	
		<blue>0</blue>
	</emission>
</animation>


</PropertyList>
