<?xml version="1.0"?>
<!-- project: /home/maggse/software/3d/spirit/spirit_refuel_light -->
<!-- cursor: 0.000000000000 0.000000062464 -0.077239751816 -->

<PropertyList>
	<path>spirit_refuel_light.ac</path>

	<animation>
		<type>range</type>
		<min-m>0</min-m>
		<max-m>10000</max-m>
	</animation>

	<refuel_lightXparams>
		<light-near>0.4</light-near>
		<light-med>0.8</light-med>
		<light-far>10</light-far>
	</refuel_lightXparams>

	<animation>
		<name>refuel_lightXGroup</name>
		<object-name>refuel_lightX0</object-name>
		<object-name>refuel_lightX1</object-name>
		<object-name>refuel_lightX2</object-name>
		<object-name>refuel_lightX3</object-name>
		<object-name>refuel_lightX4</object-name>
		<object-name>refuel_lightX5</object-name>
	</animation>

	<animation>
		<type>select</type>
		<name>refuel_lightXGroupNight</name>
		<object-name>refuel_lightXGroup</object-name>	
		<condition>
			<and>
			<greater-than>
				<property>/sim/time/sun-angle-rad</property>
				<value>1.57</value>
			</greater-than>

			<equals>
				<property>sim/model/doors/fuelhatch/position-norm</property>
				<value>1</value>
			</equals>
			</and>
		</condition>
	
	</animation>

	<animation>
		<type>alpha-test</type>
		<object-name>refuel_lightXGroup</object-name>
		<alpha-factor>0.001</alpha-factor>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX0</object-name>
		<offset-m>6.512691</offset-m>
		<axis>
			<x>-6.274593</x>
			<y>0.000748</y>
			<z>1.744885</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX1</object-name>
		<offset-m>4.476315</offset-m>
		<axis>
			<x>-4.044652</x>
			<y>0.004678</y>
			<z>1.917853</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX2</object-name>
		<offset-m>5.832378</offset-m>
		<axis>
			<x>-5.517888</x>
			<y>0.004797</y>
			<z>1.889319</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX3</object-name>
		<offset-m>3.494751</offset-m>
		<axis>
			<x>-0.988331</x>
			<y>-3.154063</y>
			<z>1.135064</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX4</object-name>
		<offset-m>3.50455</offset-m>
		<axis>
			<x>-0.965687</x>
			<y>3.171891</y>
			<z>1.135088</z>
		</axis>
	</animation>

	<animation>
		<type>translate</type>
		<object-name>refuel_lightX5</object-name>
		<offset-m>2.051621</offset-m>
		<axis>
			<x>-1.017486</x>
			<y>0.003678</y>
			<z>1.781532</z>
		</axis>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX0</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX1</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX2</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX3</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX4</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>billboard</type>
		<object-name>refuel_lightX5</object-name>
		<spherical type="bool">true</spherical>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX0</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX1</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX2</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX3</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX4</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

	<animation>
		<type>dist-scale</type>
		<object-name>refuel_lightX5</object-name>
		<interpolation>
			<entry>
				<ind>0</ind>
				<dep alias="../../../../refuel_lightXparams/light-near"/>
			</entry>
			<entry>
				<ind>500</ind>
				<dep alias="../../../../refuel_lightXparams/light-med"/>
			</entry>
			<entry>
				<ind>16000</ind>
				<dep alias="../../../../refuel_lightXparams/light-far"/>
			</entry>
		</interpolation>
	</animation>

</PropertyList>
