searchlight_SX16.xml 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!-- Eurocopter EC 130 Searchlight SX-16 Nightsun from Spectrolab
  3. This file is part of FlightGear, the free flight simulator
  4. http://www.flightgear.org/
  5. Copyright (C) 2013 Michael Habarta, mhabarta@freenet.de
  6. animations, search light effects
  7. Lightcones are based on the lightcone of the Alphajet
  8. done by BARANGER Emmanuel: email: embaranger@free.fr
  9. aka helijah in the FG world
  10. This program is free software; you can redistribute it and/or
  11. modify it under the terms of the GNU General Public License as
  12. published by the Free Software Foundation; either version 2 of the
  13. License, or (at your option) any later version.
  14. This program is distributed in the hope that it will be useful, but
  15. WITHOUT ANY WARRANTY; without even the implied warranty of
  16. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  17. General Public License for more details.
  18. -->
  19. <PropertyList>
  20. <path>SX16/searchlight.ac</path>
  21. <!-- search light cone, derived from Alpha-Jet -->
  22. <model>
  23. <name>searchlight-cone</name>
  24. <path>Aircraft/ec130/Models/SearchLight/SX16/light-cone.xml</path>
  25. <offsets>
  26. <x-m>-0.160 </x-m>
  27. <y-m> 0.000 </y-m>
  28. <z-m> 0.000 </z-m>
  29. <pitch-deg>0</pitch-deg>
  30. </offsets>
  31. </model>
  32. <model>
  33. <name>searchlight-cone-medium</name>
  34. <path>Aircraft/ec130/Models/SearchLight/SX16/light-cone-medium.xml</path>
  35. <offsets>
  36. <x-m>-0.160 </x-m>
  37. <y-m> 0.000 </y-m>
  38. <z-m> 0.000 </z-m>
  39. <pitch-deg>0</pitch-deg>
  40. </offsets>
  41. </model>
  42. <model>
  43. <name>searchlight-cone-large</name>
  44. <path>Aircraft/ec130/Models/SearchLight/SX16/light-cone-large.xml</path>
  45. <offsets>
  46. <x-m>-0.160 </x-m>
  47. <y-m> 0.000 </y-m>
  48. <z-m> 0.000 </z-m>
  49. <pitch-deg>0</pitch-deg>
  50. </offsets>
  51. </model>
  52. <model>
  53. <name>searchlight-cone-xlarge</name>
  54. <path>Aircraft/ec130/Models/SearchLight/SX16/light-cone-xlarge.xml</path>
  55. <offsets>
  56. <x-m>-0.160 </x-m>
  57. <y-m> 0.000 </y-m>
  58. <z-m> 0.000 </z-m>
  59. <pitch-deg>0</pitch-deg>
  60. </offsets>
  61. </model>
  62. <effect>
  63. <inherits-from>Aircraft/ec130/Models/Effects/ec130reflectglas-uber</inherits-from>
  64. <object-name>slight_filter_glass</object-name>
  65. </effect>
  66. <!-- searchlight grouping, select conditions -->
  67. <animation>
  68. <name>searchlight</name>
  69. <object-name>slight_body</object-name>
  70. <object-name>slight_backside</object-name>
  71. <object-name>slight_service_cover</object-name>
  72. <object-name>slight_glass</object-name>
  73. <object-name>slight_cable1</object-name>
  74. <object-name>slight_cable2</object-name>
  75. <object-name>slight_cable3</object-name>
  76. </animation>
  77. <animation>
  78. <name>searchlight_filter</name>
  79. <object-name>slight_filter</object-name>
  80. <object-name>slight_filter_glass</object-name>
  81. </animation>
  82. <animation>
  83. <name>searchlight-gimbal</name>
  84. <object-name>slight_gimbal</object-name>
  85. <object-name>slight_drive_elevation</object-name>
  86. <object-name>slight_drive_azimuth</object-name>
  87. <object-name>slight_cable4</object-name>
  88. <object-name>slight_cable5</object-name>
  89. <object-name>slight_cable6</object-name>
  90. </animation>
  91. <animation>
  92. <name>slight_cones</name>
  93. <object-name>searchlight-cone</object-name>
  94. <object-name>searchlight-cone-medium</object-name>
  95. <object-name>searchlight-cone-large</object-name>
  96. <object-name>searchlight-cone-xlarge</object-name>
  97. </animation>
  98. <animation>
  99. <type>select</type>
  100. <object-name>searchlight</object-name>
  101. <object-name>searchlight-gimbal</object-name>
  102. <condition>
  103. <property>sim/model/ec130/searchlight</property>
  104. <not-equals>
  105. <property>sim/current-view/name</property>
  106. <value>Searchlight Follow View</value>
  107. </not-equals>
  108. </condition>
  109. </animation>
  110. <animation>
  111. <type>select</type>
  112. <object-name>searchlight_filter</object-name>
  113. <object-name>slight_filter_holdl</object-name>
  114. <object-name>slight_filter_holdr</object-name>
  115. <condition>
  116. <property>sim/model/ec130/searchlight</property>
  117. <property>sim/model/ec130/searchlight_filter</property>
  118. <not-equals>
  119. <property>sim/current-view/name</property>
  120. <value>Searchlight Follow View</value>
  121. </not-equals>
  122. </condition>
  123. </animation>
  124. <animation>
  125. <type>select</type>
  126. <object-name>slight_disk</object-name>
  127. <condition>
  128. <property>sim/model/ec130/searchlight</property>
  129. <property>sim/model/searchlight/active</property>
  130. <property>controls/electric/engine/generator</property>
  131. <not-equals>
  132. <property>sim/current-view/name</property>
  133. <value>Searchlight Follow View</value>
  134. </not-equals>
  135. </condition>
  136. </animation>
  137. <!-- searchlight movements -->
  138. <animation>
  139. <type>rotate</type>
  140. <object-name>searchlight-gimbal</object-name>
  141. <object-name>searchlight</object-name>
  142. <object-name>searchlight_filter</object-name>
  143. <object-name>slight_filter_holdl</object-name>
  144. <object-name>slight_filter_holdr</object-name>
  145. <object-name>slight_disk</object-name>
  146. <object-name>slight_cones</object-name>
  147. <property>sim/model/searchlight/heading-deg</property>
  148. <center>
  149. <x-m> 0 </x-m>
  150. <y-m> 0 </y-m>
  151. <z-m> 0 </z-m>
  152. </center>
  153. <axis>
  154. <x>0</x>
  155. <y>0</y>
  156. <z>1</z>
  157. </axis>
  158. </animation>
  159. <animation>
  160. <type>rotate</type>
  161. <object-name>searchlight</object-name>
  162. <object-name>searchlight_filter</object-name>
  163. <object-name>slight_filter_holdl</object-name>
  164. <object-name>slight_filter_holdr</object-name>
  165. <object-name>slight_disk</object-name>
  166. <object-name>slight_cones</object-name>
  167. <property>sim/model/searchlight/elevation-deg</property>
  168. <center>
  169. <x-m> 0 </x-m>
  170. <y-m> 0 </y-m>
  171. <z-m> 0 </z-m>
  172. </center>
  173. <axis>
  174. <x>0</x>
  175. <y>1</y>
  176. <z>0</z>
  177. </axis>
  178. </animation>
  179. <!-- slight cable animations -->
  180. <animation>
  181. <type>rotate</type>
  182. <object-name>slight_cable1</object-name>
  183. <object-name>slight_cable2</object-name>
  184. <property>sim/model/searchlight/elevation-deg</property>
  185. <factor>0.5</factor>
  186. <center>
  187. <x-m> 0.00 </x-m>
  188. <y-m> 0.10 </y-m>
  189. <z-m> 0.06 </z-m>
  190. </center>
  191. <axis>
  192. <x>1</x>
  193. <y>-0.5</y>
  194. <z>0</z>
  195. </axis>
  196. </animation>
  197. <animation>
  198. <type>rotate</type>
  199. <object-name>slight_cable2</object-name>
  200. <property>sim/model/searchlight/elevation-deg</property>
  201. <factor>-0.2</factor>
  202. <center>
  203. <x-m> 0.24 </x-m>
  204. <y-m> 0.20 </y-m>
  205. <z-m> 0.00 </z-m>
  206. </center>
  207. <axis>
  208. <x>0</x>
  209. <y>0</y>
  210. <z>1</z>
  211. </axis>
  212. </animation>
  213. <animation>
  214. <type>rotate</type>
  215. <object-name>slight_cable3</object-name>
  216. <property>sim/model/searchlight/elevation-deg</property>
  217. <factor>-0.6</factor>
  218. <center>
  219. <x-m> 0.11 </x-m>
  220. <y-m> 0.00 </y-m>
  221. <z-m> 0.10 </z-m>
  222. </center>
  223. <axis>
  224. <x>0</x>
  225. <y>1</y>
  226. <z>0</z>
  227. </axis>
  228. </animation>
  229. <animation>
  230. <type>translate</type>
  231. <object-name>slight_cable3</object-name>
  232. <property>sim/model/searchlight/elevation-deg</property>
  233. <factor>1</factor>
  234. <offset>0</offset>
  235. <interpolation>
  236. <entry><ind> 3.0 </ind><dep> 0.007</dep></entry>
  237. <entry><ind> 0.0 </ind><dep> 0.000</dep></entry>
  238. <entry><ind>-50.0 </ind><dep>-0.035</dep></entry>
  239. </interpolation>
  240. <axis>
  241. <x> 0 </x>
  242. <y> 0 </y>
  243. <z> 1 </z>
  244. </axis>
  245. </animation>
  246. <animation>
  247. <type>translate</type>
  248. <object-name>slight_cable3</object-name>
  249. <property>sim/model/searchlight/elevation-deg</property>
  250. <factor>1</factor>
  251. <offset>0</offset>
  252. <interpolation>
  253. <entry><ind> 3.0 </ind><dep> 0.000</dep></entry>
  254. <entry><ind> 0.0 </ind><dep> 0.000</dep></entry>
  255. <entry><ind>-50.0 </ind><dep> 0.060</dep></entry>
  256. </interpolation>
  257. <axis>
  258. <x> 1 </x>
  259. <y> 0 </y>
  260. <z> 0 </z>
  261. </axis>
  262. </animation>
  263. <animation>
  264. <type>rotate</type>
  265. <object-name>slight_cable4</object-name>
  266. <property>sim/model/searchlight/elevation-deg</property>
  267. <factor>-0.6</factor>
  268. <center>
  269. <x-m> -0.04 </x-m>
  270. <y-m> 0.00 </y-m>
  271. <z-m> 0.30 </z-m>
  272. </center>
  273. <axis>
  274. <x>0</x>
  275. <y>1</y>
  276. <z>0</z>
  277. </axis>
  278. </animation>
  279. <animation>
  280. <type>rotate</type>
  281. <object-name>slight_cable4</object-name>
  282. <property>sim/model/searchlight/elevation-deg</property>
  283. <factor>0.2</factor>
  284. <center>
  285. <x-m> 0.02 </x-m>
  286. <y-m> 0.00 </y-m>
  287. <z-m> 0.16 </z-m>
  288. </center>
  289. <axis>
  290. <x>0</x>
  291. <y>1</y>
  292. <z>0</z>
  293. </axis>
  294. </animation>
  295. <animation>
  296. <type>translate</type>
  297. <object-name>slight_cable4</object-name>
  298. <property>sim/model/searchlight/elevation-deg</property>
  299. <factor>1</factor>
  300. <offset>0</offset>
  301. <interpolation>
  302. <entry><ind> 3.0 </ind><dep> 0.000</dep></entry>
  303. <entry><ind> 0.0 </ind><dep> 0.000</dep></entry>
  304. <entry><ind>-50.0 </ind><dep> 0.020</dep></entry>
  305. </interpolation>
  306. <axis>
  307. <x> 1 </x>
  308. <y> 0 </y>
  309. <z> 0 </z>
  310. </axis>
  311. </animation>
  312. <animation>
  313. <type>translate</type>
  314. <object-name>slight_cable4</object-name>
  315. <property>sim/model/searchlight/elevation-deg</property>
  316. <factor>1</factor>
  317. <offset>0</offset>
  318. <interpolation>
  319. <entry><ind> 3.0 </ind><dep>-0.000</dep></entry>
  320. <entry><ind> 0.0 </ind><dep> 0.000</dep></entry>
  321. <entry><ind>-50.0 </ind><dep> 0.040</dep></entry>
  322. </interpolation>
  323. <axis>
  324. <x> 0 </x>
  325. <y> 0 </y>
  326. <z> 1 </z>
  327. </axis>
  328. </animation>
  329. <animation>
  330. <type>rotate</type>
  331. <object-name>slight_cable5</object-name>
  332. <property>sim/model/searchlight/elevation-deg</property>
  333. <factor>-0.5</factor>
  334. <center>
  335. <x-m> -0.04 </x-m>
  336. <y-m> 0.00 </y-m>
  337. <z-m> 0.30 </z-m>
  338. </center>
  339. <axis>
  340. <x>0</x>
  341. <y>1</y>
  342. <z>0</z>
  343. </axis>
  344. </animation>
  345. <!-- pick animations -->
  346. <!-- toggle searchlight power on/off -->
  347. <animation>
  348. <type>pick</type>
  349. <object-name>slight_body</object-name>
  350. <action>
  351. <button>0</button>
  352. <repeatable>false</repeatable>
  353. <binding>
  354. <condition>
  355. <property>controls/electric/engine/generator</property>
  356. </condition>
  357. <command>nasal</command>
  358. <script>ec130.slight_toggle_power()</script>
  359. </binding>
  360. </action>
  361. <hovered>
  362. <binding>
  363. <command>set-tooltip</command>
  364. <tooltip-id>Searchlight_on_off</tooltip-id>
  365. <label>Power ON/OFF</label>
  366. </binding>
  367. </hovered>
  368. </animation>
  369. <animation>
  370. <type>pick</type>
  371. <object-name>slight_drive_azimuth</object-name>
  372. <action>
  373. <button>0</button>
  374. <repeatable>false</repeatable>
  375. <binding>
  376. <command>nasal</command>
  377. <script>
  378. var h = getprop("sim/model/searchlight/sx16/heading-default-deg");
  379. var p = getprop("sim/model/searchlight/heading-deg") - h;
  380. if ( p &lt; 0 ) { p=p*-1.0 };
  381. <!-- slew rate 18deg/sec -->
  382. var t = p/18.0;
  383. interpolate("sim/model/searchlight/heading-deg", h, t);
  384. </script>
  385. </binding>
  386. </action>
  387. <hovered>
  388. <binding>
  389. <command>set-tooltip</command>
  390. <tooltip-id>Searchlight_reset_az</tooltip-id>
  391. <label>reset azimuth</label>
  392. </binding>
  393. </hovered>
  394. </animation>
  395. <animation>
  396. <type>pick</type>
  397. <object-name>slight_drive_elevation</object-name>
  398. <action>
  399. <button>0</button>
  400. <repeatable>false</repeatable>
  401. <binding>
  402. <command>nasal</command>
  403. <script>
  404. var e = getprop("sim/model/searchlight/sx16/elevation-default-deg");
  405. var p = getprop("sim/model/searchlight/elevation-deg") - e;
  406. if ( p &lt; 0 ) { p=p*-1.0 };
  407. var t = p/18.0;
  408. interpolate("sim/model/searchlight/elevation-deg", e, t);
  409. </script>
  410. </binding>
  411. </action>
  412. <hovered>
  413. <binding>
  414. <command>set-tooltip</command>
  415. <tooltip-id>Searchlight_reset_el</tooltip-id>
  416. <label>reset elevation</label>
  417. </binding>
  418. </hovered>
  419. </animation>
  420. <animation>
  421. <type>pick</type>
  422. <object-name>slight_gimbal</object-name>
  423. <action>
  424. <button>0</button>
  425. <repeatable>false</repeatable>
  426. <binding>
  427. <command>nasal</command>
  428. <script>ec130.slight_reset()</script>
  429. </binding>
  430. </action>
  431. <hovered>
  432. <binding>
  433. <command>set-tooltip</command>
  434. <tooltip-id>Searchlight_reset</tooltip-id>
  435. <label>Searchlight reset</label>
  436. </binding>
  437. </hovered>
  438. </animation>
  439. <!-- cycle searchlight -->
  440. <animation>
  441. <type>pick</type>
  442. <object-name>slight_service_cover</object-name>
  443. <object-name>slight_cones</object-name>
  444. <action>
  445. <button>0</button>
  446. <repeatable>false</repeatable>
  447. <binding>
  448. <condition>
  449. <property>sim/model/searchlight/active</property>
  450. </condition>
  451. <command>nasal</command>
  452. <script>ec130.slight_cycle()</script>
  453. </binding>
  454. </action>
  455. <hovered>
  456. <binding>
  457. <command>set-tooltip</command>
  458. <tooltip-id>Searchlight_focus</tooltip-id>
  459. <label>cycle Focus</label>
  460. </binding>
  461. </hovered>
  462. </animation>
  463. <!-- pause searchlight -->
  464. <animation>
  465. <type>pick</type>
  466. <object-name>slight_backside</object-name>
  467. <action>
  468. <button>0</button>
  469. <repeatable>false</repeatable>
  470. <binding>
  471. <condition>
  472. <property>sim/model/searchlight/active</property>
  473. </condition>
  474. <command>property-toggle</command>
  475. <property>sim/model/searchlight/paused</property>
  476. </binding>
  477. </action>
  478. <hovered>
  479. <binding>
  480. <command>set-tooltip</command>
  481. <tooltip-id>Searchlight_pause</tooltip-id>
  482. <label>pause</label>
  483. </binding>
  484. </hovered>
  485. </animation>
  486. <!-- rotation filter -->
  487. <animation>
  488. <type>rotate</type>
  489. <object-name>searchlight_filter</object-name>
  490. <property>sim/model/searchlight/filter/position-norm</property>
  491. <factor> 92.0 </factor>
  492. <center>
  493. <x-m> -0.059 </x-m>
  494. <y-m> 0.000 </y-m>
  495. <z-m> 0.066 </z-m>
  496. </center>
  497. <axis>
  498. <x>0</x>
  499. <y>1</y>
  500. <z>0</z>
  501. </axis>
  502. </animation>
  503. <animation>
  504. <type>pick</type>
  505. <object-name>searchlight_filter</object-name>
  506. <action>
  507. <button>0</button>
  508. <repeatable>false</repeatable>
  509. <binding>
  510. <command>nasal</command>
  511. <script>
  512. ec130.slight_toggle_cycle_filter();
  513. </script>
  514. </binding>
  515. </action>
  516. <hovered>
  517. <binding>
  518. <command>set-tooltip</command>
  519. <tooltip-id>Searchlight_filter</tooltip-id>
  520. <label>toggle Filter</label>
  521. </binding>
  522. </hovered>
  523. </animation>
  524. <!-- searchlight cone animations -->
  525. <animation>
  526. <type>select</type>
  527. <object-name>searchlight-cone</object-name>
  528. <condition>
  529. <property>sim/model/ec130/searchlight</property>
  530. <property>sim/model/searchlight/active</property>
  531. <property>controls/electric/engine/generator</property>
  532. <not>
  533. <property>sim/model/searchlight/paused</property>
  534. </not>
  535. <equals>
  536. <property>sim/model/searchlight/state</property>
  537. <value>1</value>
  538. </equals>
  539. </condition>
  540. </animation>
  541. <animation>
  542. <type>select</type>
  543. <object-name>searchlight-cone-medium</object-name>
  544. <condition>
  545. <property>sim/model/ec130/searchlight</property>
  546. <property>sim/model/searchlight/active</property>
  547. <property>controls/electric/engine/generator</property>
  548. <not>
  549. <property>sim/model/searchlight/paused</property>
  550. </not>
  551. <equals>
  552. <property>sim/model/searchlight/state</property>
  553. <value>2</value>
  554. </equals>
  555. </condition>
  556. </animation>
  557. <animation>
  558. <type>select</type>
  559. <object-name>searchlight-cone-large</object-name>
  560. <condition>
  561. <property>sim/model/ec130/searchlight</property>
  562. <property>sim/model/searchlight/active</property>
  563. <property>controls/electric/engine/generator</property>
  564. <not>
  565. <property>sim/model/searchlight/paused</property>
  566. </not>
  567. <equals>
  568. <property>sim/model/searchlight/state</property>
  569. <value>3</value>
  570. </equals>
  571. </condition>
  572. </animation>
  573. <animation>
  574. <type>select</type>
  575. <object-name>searchlight-cone-xlarge</object-name>
  576. <condition>
  577. <property>sim/model/ec130/searchlight</property>
  578. <property>sim/model/searchlight/active</property>
  579. <property>controls/electric/engine/generator</property>
  580. <not>
  581. <property>sim/model/searchlight/paused</property>
  582. </not>
  583. <equals>
  584. <property>sim/model/searchlight/state</property>
  585. <value>4</value>
  586. </equals>
  587. </condition>
  588. </animation>
  589. <!-- visibility of light cone -->
  590. <animation>
  591. <type>select</type>
  592. <object-name>cone</object-name>
  593. <condition>
  594. <property>sim/model/searchlight/active</property>
  595. <property>controls/electric/engine/generator</property>
  596. <property>sim/model/searchlight/cone-visibility</property>
  597. <not>
  598. <property>sim/model/searchlight/paused</property>
  599. </not>
  600. </condition>
  601. </animation>
  602. <animation>
  603. <type>material</type>
  604. <object-name>cone</object-name>
  605. <emission>
  606. <red>1.0</red>
  607. <green>1.0</green>
  608. <blue>1.0</blue>
  609. </emission>
  610. <transparency>
  611. <alpha-prop>sim/model/searchlight/cone-visibility</alpha-prop>
  612. <factor>0.03</factor>
  613. <offset>0</offset>
  614. </transparency>
  615. </animation>
  616. <!-- REMBRANDT -->
  617. <!-- select volumes -->
  618. <animation>
  619. <type>select</type>
  620. <object-name>LightVolumeS</object-name>
  621. <condition>
  622. <property>/sim/rendering/rembrandt/enabled</property>
  623. </condition>
  624. </animation>
  625. <!-- REMBRANDT -->
  626. <animation>
  627. <type>light</type>
  628. <light-type>spot</light-type>
  629. <name>searchlight</name>
  630. <object-name>LightVolumeS</object-name>
  631. <condition>
  632. <property>/sim/rendering/rembrandt/enabled</property>
  633. <property>sim/model/ec130/searchlight</property>
  634. <property>sim/model/searchlight/active</property>
  635. <property>controls/electric/engine/generator</property>
  636. <not>
  637. <property>sim/model/searchlight/paused</property>
  638. </not>
  639. </condition>
  640. <position>
  641. <x>-0.160 </x>
  642. <y> 0.000 </y>
  643. <z> 0.000 </z>
  644. </position>
  645. <direction>
  646. <x>-1.0</x>
  647. <y> 0.0</y>
  648. <z> 0.0</z>
  649. </direction>
  650. <diffuse>
  651. <r>1.0</r>
  652. <g>1.0</g>
  653. <b>1.0</b>
  654. <a>1.0</a>
  655. </diffuse>
  656. <specular>
  657. <r>1.0</r>
  658. <g>1.0</g>
  659. <b>1.0</b>
  660. <a>1.0</a>
  661. </specular>
  662. <dim-factor>
  663. <property>/sim/time/sun-angle-rad</property>
  664. <interpolation>
  665. <entry><ind> 0.00 </ind><dep> 0.25 </dep></entry>
  666. <entry><ind> 0.52 </ind><dep> 0.30 </dep></entry>
  667. <entry><ind> 1.04 </ind><dep> 0.35 </dep></entry>
  668. <entry><ind> 1.30 </ind><dep> 0.45 </dep></entry>
  669. <entry><ind> 1.40 </ind><dep> 0.55 </dep></entry>
  670. <entry><ind> 1.48 </ind><dep> 0.75 </dep></entry>
  671. <entry><ind> 1.57 </ind><dep> 1.00 </dep></entry>
  672. <entry><ind> 2.10 </ind><dep> 1.00 </dep></entry>
  673. <entry><ind> 2.62 </ind><dep> 1.00 </dep></entry>
  674. <entry><ind> 3.14 </ind><dep> 1.00 </dep></entry>
  675. </interpolation>
  676. <offset>0</offset>
  677. </dim-factor>
  678. <attenuation>
  679. <c>0.5</c>
  680. <l>0.0002</l>
  681. <q>0.000005</q>
  682. </attenuation>
  683. <exponent>80</exponent>
  684. <near-m>0.0</near-m>
  685. <far-m>1000</far-m>
  686. <cutoff>40</cutoff>
  687. </animation>
  688. </PropertyList>