gear.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. <?xml version="1.0"?>
  2. <!-- Gear Position Indicator -->
  3. <PropertyList>
  4. <path>gear.ac</path>
  5. <animation>
  6. <type>material</type>
  7. <object-name>srew5</object-name>
  8. <object-name>face</object-name>
  9. </animation>
  10. <animation>
  11. <condition>
  12. <greater-than>
  13. <property>gear/gear[0]/position-norm</property>
  14. <value>0.5</value>
  15. </greater-than>
  16. </condition>
  17. <type>material</type>
  18. <object-name>stbd-green-1</object-name>
  19. <object-name>port-green-1</object-name>
  20. <object-name>port-green-2</object-name>
  21. <object-name>nose-green-1</object-name>
  22. <object-name>nose-green-2</object-name>
  23. <object-name>stbd-green-2</object-name>
  24. <emission>
  25. <factor-prop>gear/gear[0]/position-norm</factor-prop>
  26. <red>0.0</red>
  27. <green>1.0</green>
  28. <blue>0.0</blue>
  29. </emission>
  30. <ambient>
  31. <factor-prop>gear/gear[0]/position-norm</factor-prop>
  32. <red>0.0</red>
  33. <green>1.0</green>
  34. <blue>0.0</blue>
  35. </ambient>
  36. </animation>
  37. <animation>
  38. <object-name>nose-red</object-name>
  39. <object-name>port-red</object-name>
  40. <object-name>stbd-red</object-name>
  41. <type>material</type>
  42. <condition>
  43. <less-than>
  44. <property>gear/gear[0]/position-norm</property>
  45. <value>0.5</value>
  46. </less-than>
  47. </condition>
  48. <emission>
  49. <red>1.0</red>
  50. <green>0.0</green>
  51. <blue>0.0</blue>
  52. </emission>
  53. <ambient>
  54. <red>1.0</red>
  55. <green>0.0</green>
  56. <blue>0.0</blue>
  57. </ambient>
  58. </animation>
  59. <!-- *** LoD *** -->
  60. <animation>
  61. <type>range</type>
  62. <min-m>0</min-m>
  63. <max-m>5</max-m>
  64. </animation>
  65. </PropertyList>