123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <?xml version="1.0" encoding="UTF-8"?>
- <PropertyList>
- <model>
- <name>RedLightFlare</name>
- <path>Flares/RedLight-flare.xml</path>
- </model>
- <model>
- <name>RedLightRemb</name>
- <path>Rembrandt/RedLight-remb.xml</path>
- </model>
- <animation>
- <type>select</type>
- <object-name>RedLightFlare</object-name>
- <object-name>RedLightRemb</object-name>
- <condition>
- <and>
- <property>lightpack/nav-lights-intensity</property>
- <not><property>sim/crashed</property></not>
- </and>
- </condition>
- </animation>
-
-
- <!-- Coompositor lights -->
-
- <light>
- <name>red1</name>
- <type>spot</type>
- <position>
- <x-m>0.0</x-m>
- <y-m>0.0</y-m>
- <z-m>0</z-m>
- </position>
- <direction>
- <x>0.0</x>
- <y>0.0</y>
- <z>1.0</z>
- </direction>
- <ambient>
- <r>1</r>
- <g>0.03</g>
- <b>0.03</b>
- <a>1</a>
- </ambient>
- <diffuse>
- <r>0.95</r>
- <g>0.9</g>
- <b>0.9</b>
- <a>1</a>
- </diffuse>
- <specular>
- <r>0.95</r>
- <g>0.9</g>
- <b>0.9</b>
- <a>1</a>
- </specular>
- <color>
- <r>1.00</r>
- <g>0.0</g>
- <b>0.0</b>
- <a>1.0</a>
- </color>
- <dim-factor>
- <expression>
- <product>
- <property>lightpack/nav-lights-intensity</property>
- <value>-0.35</value>
- <sum>
- <product>
- <max>
- <pow>
- <cos><property>/sim/time/sun-angle-rad</property></cos>
- <value>0.3</value>
- </pow>
- <value>0</value>
- </max>
- <value>1.2</value>
- </product>
- <value>-1</value>
- </sum>
- </product>
- </expression>
- </dim-factor>
- <attenuation>
- <c>1.0</c>
- <l>0.05</l>
- <q>0.01</q>
- </attenuation>
- <spot-exponent>5</spot-exponent>
- <spot-cutoff>60</spot-cutoff>
- <range-m>50</range-m>
- <intensity>500</intensity>
-
- </light>
- </PropertyList>
|