Beacon-remb.xml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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>BeaconR</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.03</r>
  35. <g>0.01</g>
  36. <b>0.01</b>
  37. <a>1.0</a>
  38. </ambient>
  39. <diffuse>
  40. <r>0.80</r>
  41. <g>0.10</g>
  42. <b>0.10</b>
  43. <a>1.0</a>
  44. </diffuse>
  45. <specular>
  46. <r>1.00</r>
  47. <g>0.20</g>
  48. <b>0.20</b>
  49. <a>1.0</a>
  50. </specular>
  51. <dim-factor>
  52. <expression>
  53. <product>
  54. <value>-1</value>
  55. <sum>
  56. <product>
  57. <max>
  58. <pow>
  59. <cos><property>/sim/time/sun-angle-rad</property></cos>
  60. <value>0.3</value>
  61. </pow>
  62. <value>0</value>
  63. </max>
  64. <value>0.6</value>
  65. </product>
  66. <value>-1</value>
  67. </sum>
  68. </product>
  69. </expression>
  70. </dim-factor>
  71. <attenuation>
  72. <c>1.0</c>
  73. <l>0.05</l>
  74. <q>0.1</q>
  75. </attenuation>
  76. <exponent>0.5</exponent>
  77. <cutoff>90</cutoff>
  78. <near-m>0.001</near-m>
  79. <far-m>30</far-m>
  80. </animation>
  81. </PropertyList>