<?xml version="1.0" encoding="UTF-8" ?>

<PropertyList>
	<path>bsvmi.ac</path>

<!-- 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>

<!-- El siguiente codigo es la iluminacion nocturna -->
<animation>
	<type>material</type> 
	<object-name>ventana</object-name>
	<object-name>bomberos</object-name>
	<object-name>suelo</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.5</blue>
	</emission>
</animation>
<animation>
	<type>material</type> 
	<object-name>ventana</object-name>
	<object-name>bomberos</object-name>
	<object-name>suelo</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>bomberos</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>
</PropertyList>
