LandingLight-flash.xml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?xml version="1.0"?>
  2. <PropertyList>
  3. <path>Light-flash.ac</path>
  4. <animation>
  5. <object-name>flash</object-name>
  6. <attach>world</attach>
  7. <placer>
  8. <type>point</type>
  9. </placer>
  10. </animation>
  11. <effect>
  12. <inherits-from>Effects/model-transparent</inherits-from>
  13. <condition>
  14. <property>/sim/rendering/rembrandt/enabled</property>
  15. </condition>
  16. <object-name>flash</object-name>
  17. </effect>
  18. <animation>
  19. <type>noshadow</type>
  20. <object-name>flash</object-name>
  21. </animation>
  22. <animation>
  23. <type>flash</type>
  24. <object-name>flash</object-name>
  25. <center>
  26. <x-m> 0.000 </x-m>
  27. <y-m> 0.000 </y-m>
  28. <z-m> 0.000 </z-m>
  29. </center>
  30. <axis>
  31. <x> -1.0 </x>
  32. <y> 0.0 </y>
  33. <z> -0.1 </z><!-- make sure to keep this equivalent to the Rembrandt light cone pitch setting! set here tan(pitch) -->
  34. </axis>
  35. <power>15</power>
  36. <factor>0.8</factor>
  37. <offset>0</offset>
  38. <two-sides type="bool">false</two-sides>
  39. <min>0.0</min>
  40. <max>1</max>
  41. </animation>
  42. <animation>
  43. <type>scale</type>
  44. <object-name>flash</object-name>
  45. <property>lightpack/landing-lights-intensity</property>
  46. </animation>
  47. <animation>
  48. <type>material</type>
  49. <object-name>flash</object-name>
  50. <emission>
  51. <red> 1.0 </red>
  52. <green> 1.0 </green>
  53. <blue> 0.75 </blue>
  54. </emission>
  55. </animation>
  56. <animation>
  57. <type>dist-scale</type>
  58. <object-name>flash</object-name>
  59. <interpolation>
  60. <entry>
  61. <ind>0</ind><dep>2</dep>
  62. </entry>
  63. <entry>
  64. <ind>20</ind><dep>2</dep>
  65. </entry>
  66. <entry>
  67. <ind>800</ind><dep>4</dep>
  68. </entry>
  69. </interpolation>
  70. <center> <!-- prevent light model from obscuring the flare on larger distances -->
  71. <x-m>0.3</x-m>
  72. <y-m>0</y-m>
  73. <z-m>0</z-m>
  74. </center>
  75. </animation>
  76. </PropertyList>