GreenLight-remb.xml 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <PropertyList>
  3. <path>HalfSphere.ac</path>
  4. <animation>
  5. <type>select</type>
  6. <object-name>Sphere</object-name>
  7. <condition>
  8. <and>
  9. <property>/sim/rendering/rembrandt/enabled</property>
  10. <greater-than>
  11. <property>/sim/rendering/shaders/lights</property>
  12. <value>1</value>
  13. </greater-than>
  14. </and>
  15. </condition>
  16. </animation>
  17. <animation>
  18. <type>light</type>
  19. <light-type>spot</light-type>
  20. <name>GreenLightR</name>
  21. <object-name>Sphere</object-name>
  22. <nopreview/>
  23. <position>
  24. <x>0.0</x>
  25. <y>0.0</y>
  26. <z>0.0</z>
  27. </position>
  28. <direction>
  29. <x>0.0</x>
  30. <y>0.0</y>
  31. <z>1.0</z>
  32. </direction>
  33. <ambient>
  34. <r>0.01</r>
  35. <g>0.03</g>
  36. <b>0.01</b>
  37. <a>1.0</a>
  38. </ambient>
  39. <diffuse>
  40. <r>0.20</r>
  41. <g>0.80</g>
  42. <b>0.20</b>
  43. <a>1.0</a>
  44. </diffuse>
  45. <specular>
  46. <r>0.30</r>
  47. <g>1.00</g>
  48. <b>0.30</b>
  49. <a>1.0</a>
  50. </specular>
  51. <dim-factor>
  52. <expression>
  53. <product>
  54. <property>lightpack/nav-lights-intensity</property>
  55. <value>-0.35</value>
  56. <sum>
  57. <product>
  58. <max>
  59. <pow>
  60. <cos><property>/sim/time/sun-angle-rad</property></cos>
  61. <value>0.3</value>
  62. </pow>
  63. <value>0</value>
  64. </max>
  65. <value>1.2</value>
  66. </product>
  67. <value>-1</value>
  68. </sum>
  69. </product>
  70. </expression>
  71. </dim-factor>
  72. <attenuation>
  73. <c>1.0</c>
  74. <l>0.05</l>
  75. <q>0.01</q>
  76. </attenuation>
  77. <exponent>0.65</exponent>
  78. <cutoff>90</cutoff>
  79. <near-m>0.001</near-m>
  80. <far-m>30</far-m>
  81. </animation>
  82. </PropertyList>