Environment.def
上传用户:gmtled
上传日期:2022-07-26
资源大小:468k
文件大小:3k
源码类别:

3D图形编程

开发平台:

Visual C++

  1. GLOBAL_ENVIRONMENT
  2. {
  3. DATE = 04/06/2004; /* mm/dd/yyyy */
  4. TIME = 13:30; /* hh:mm (24-hour clock)*/
  5. EPHEMERIS_ENABLE = TRUE;
  6. ATMOSPHERE_MODEL_ENABLE = FALSE;
  7. SUN_ENABLE = TRUE;
  8. MOON_ENABLE = TRUE;
  9. STARFIELD_ENABLE = TRUE;
  10. STARFIELD_INTENSITY = 100; // percent
  11. BAROMETRIC_PRESSURE = 20; // millibars
  12. HUMIDITY = 50; /* 0 to 100 % */
  13. TEMPERATURE = 40; /* degrees Celsius */
  14. VISIBILITY = 30000.0; /* meters */
  15. HORIZONTAL_WINDSPEED = 10.5; // m/s
  16. VERTICAL_WINDSPEED = 0.5; // m/s
  17. WIND_DIRECTION = 30; // degrees from North
  18. COMPONENT
  19. {
  20. NAME        = "Celestial Sphere Component 1";
  21. COMPONENT_CLASS = CELESTIAL_SPHERE;
  22. ID          = 4000;
  23. INSTANCE_ID = -1;
  24. DEF_STATE   = 0;
  25. STATE
  26. {
  27. NAME  = "Off";
  28. VALUE = 0;
  29. }
  30. STATE
  31. {
  32. NAME  = "On";
  33. VALUE = 1;
  34. }
  35. }
  36. COMPONENT
  37. {
  38. NAME        = "Atmosphere Component 1";
  39. COMPONENT_CLASS = ATMOSPHERE;
  40. ID          = 4000;
  41. INSTANCE_ID = -1;
  42. DEF_STATE   = 0;
  43. STATE
  44. {
  45. NAME  = "Off";
  46. VALUE = 0;
  47. }
  48. STATE
  49. {
  50. NAME  = "On";
  51. VALUE = 1;
  52. }
  53. }
  54. WEATHER_LAYER
  55. {
  56. ID = 1;
  57. NAME = "Cloud Layer 1";
  58. ENABLE = TRUE;
  59. SCUD_ENABLE = FALSE;
  60. RANDOM_WIND_ENABLE = TRUE;
  61. RANDOM_LIGHTNING_ENABLE = TRUE;
  62. CLOUD_TYPE = 1; // See ICD for assignments
  63. SEVERITY = 3; // 1 - 5
  64. SCUD_FREQUENCY = 20; // percent
  65. COVERAGE = 65; // percent
  66. BASE_ELEVATION = 5000; // meters
  67. THICKNESS = 2000; // meters
  68. TRANSITION_BAND = 150; // meters
  69. BAROMETRIC_PRESSURE = 10;
  70. HUMIDITY = 80;
  71. TEMPERATURE = 32;
  72. VISIBILITY = 50;
  73. HORIZONTAL_WINDSPEED = 50;
  74. VERTICAL_WINDSPEED = -20;
  75. WIND_DIRECTION = 45;
  76. AEROSOL_CONCENTRATION = 90;
  77. COMPONENT
  78. {
  79. NAME        = "Test Component 2";
  80. ID          = 1000;
  81. INSTANCE_ID = -1;
  82. DEF_STATE   = 0;
  83. STATE
  84. {
  85. NAME  = "Off";
  86. VALUE = 0;
  87. }
  88. STATE
  89. {
  90. NAME  = "On";
  91. VALUE = 1;
  92. }
  93. }
  94. }
  95. WEATHER_LAYER
  96. {
  97. ID = 0;
  98. NAME = "Ground Fog";
  99. ENABLE = TRUE;
  100. SCUD_ENABLE = FALSE;
  101. RANDOM_WIND_ENABLE = FALSE;
  102. RANDOM_LIGHTNING_ENABLE = FALSE;
  103. CLOUD_TYPE = 1; // See ICD for assignments
  104. SEVERITY = 1; // 1 - 5
  105. SCUD_FREQUENCY = 0; // percent
  106. COVERAGE = 100; // percent
  107. BASE_ELEVATION = 0; // meters
  108. THICKNESS = 0; // meters
  109. TRANSITION_BAND = 50; // meters
  110. BAROMETRIC_PRESSURE = 10;
  111. HUMIDITY = 80;
  112. TEMPERATURE = 40;
  113. VISIBILITY = 5;
  114. HORIZONTAL_WINDSPEED = 0;
  115. VERTICAL_WINDSPEED = 0;
  116. WIND_DIRECTION = 0;
  117. AEROSOL_CONCENTRATION = 80;
  118. }
  119. }
  120. /*
  121. REGION
  122. {
  123. ID = 1;
  124. WEATHER_LAYER
  125. {
  126. }
  127. }
  128. */