2
0

Unit1.dfm 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. object Form1: TForm1
  2. Left = 293
  3. Top = 145
  4. Caption = 'Fog'
  5. ClientHeight = 452
  6. ClientWidth = 598
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -10
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. Position = poScreenCenter
  15. WindowState = wsMaximized
  16. OnMouseWheel = FormMouseWheel
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object GLSceneViewer1: TGLSceneViewer
  20. Left = 0
  21. Top = 0
  22. Width = 598
  23. Height = 312
  24. Margins.Left = 2
  25. Margins.Top = 2
  26. Margins.Right = 2
  27. Margins.Bottom = 2
  28. Camera = GLCamera1
  29. FieldOfView = 144.457351684570300000
  30. Align = alClient
  31. OnMouseDown = GLSceneViewer1MouseDown
  32. OnMouseMove = GLSceneViewer1MouseMove
  33. TabOrder = 0
  34. end
  35. object Panel1: TPanel
  36. Left = 0
  37. Top = 312
  38. Width = 598
  39. Height = 140
  40. Align = alBottom
  41. TabOrder = 1
  42. object LFogStart: TLabel
  43. Left = 16
  44. Top = 49
  45. Width = 38
  46. Height = 13
  47. Margins.Left = 2
  48. Margins.Top = 2
  49. Margins.Right = 2
  50. Margins.Bottom = 2
  51. Caption = 'fog start'
  52. end
  53. object LFogEnd: TLabel
  54. Left = 16
  55. Top = 81
  56. Width = 36
  57. Height = 13
  58. Margins.Left = 2
  59. Margins.Top = 2
  60. Margins.Right = 2
  61. Margins.Bottom = 2
  62. Caption = 'fog end'
  63. end
  64. object SFogColor: TShape
  65. Left = 480
  66. Top = 101
  67. Width = 57
  68. Height = 16
  69. Margins.Left = 2
  70. Margins.Top = 2
  71. Margins.Right = 2
  72. Margins.Bottom = 2
  73. OnMouseDown = SFogColorMouseDown
  74. end
  75. object LFogColor: TLabel
  76. Left = 409
  77. Top = 104
  78. Width = 41
  79. Height = 13
  80. Margins.Left = 2
  81. Margins.Top = 2
  82. Margins.Right = 2
  83. Margins.Bottom = 2
  84. Caption = 'fog color'
  85. end
  86. object LFogDensity: TLabel
  87. Left = 409
  88. Top = 43
  89. Width = 144
  90. Height = 13
  91. Margins.Left = 2
  92. Margins.Top = 2
  93. Margins.Right = 2
  94. Margins.Bottom = 2
  95. Caption = 'fog density (for fmExp/fmExp2)'
  96. end
  97. object CBFogEnable: TCheckBox
  98. Left = 16
  99. Top = 12
  100. Width = 73
  101. Height = 17
  102. Margins.Left = 2
  103. Margins.Top = 2
  104. Margins.Right = 2
  105. Margins.Bottom = 2
  106. Caption = 'fog on/off'
  107. TabOrder = 0
  108. OnClick = CBFogEnableClick
  109. end
  110. object EFogStart: TEdit
  111. Left = 80
  112. Top = 41
  113. Width = 57
  114. Height = 21
  115. Margins.Left = 2
  116. Margins.Top = 2
  117. Margins.Right = 2
  118. Margins.Bottom = 2
  119. TabOrder = 1
  120. Text = '-30'
  121. OnChange = EFogStartChange
  122. end
  123. object EFogEnd: TEdit
  124. Left = 80
  125. Top = 72
  126. Width = 57
  127. Height = 21
  128. Margins.Left = 2
  129. Margins.Top = 2
  130. Margins.Right = 2
  131. Margins.Bottom = 2
  132. TabOrder = 2
  133. Text = '30'
  134. OnChange = EFogStartChange
  135. end
  136. object GBTexture: TGroupBox
  137. Left = 156
  138. Top = 9
  139. Width = 232
  140. Height = 120
  141. Margins.Left = 2
  142. Margins.Top = 2
  143. Margins.Right = 2
  144. Margins.Bottom = 2
  145. Caption = '[ texture ]'
  146. TabOrder = 3
  147. object CBTextureEnabled: TCheckBox
  148. Left = 24
  149. Top = 15
  150. Width = 65
  151. Height = 17
  152. Margins.Left = 2
  153. Margins.Top = 2
  154. Margins.Right = 2
  155. Margins.Bottom = 2
  156. Caption = 'enabled'
  157. Checked = True
  158. State = cbChecked
  159. TabOrder = 0
  160. OnClick = CBTextureEnabledClick
  161. end
  162. object CBTextureIgnoreFog: TCheckBox
  163. Left = 119
  164. Top = 13
  165. Width = 73
  166. Height = 17
  167. Margins.Left = 2
  168. Margins.Top = 2
  169. Margins.Right = 2
  170. Margins.Bottom = 2
  171. Caption = 'ignore fog'
  172. TabOrder = 1
  173. OnClick = CBTextureIgnoreFogClick
  174. end
  175. object RGFogDistance: TRadioGroup
  176. Left = 2
  177. Top = 36
  178. Width = 105
  179. Height = 73
  180. Margins.Left = 2
  181. Margins.Top = 2
  182. Margins.Right = 2
  183. Margins.Bottom = 2
  184. Caption = '[ fog mode ]'
  185. ItemIndex = 0
  186. Items.Strings = (
  187. 'fdDefault'
  188. 'fdEyePlane'
  189. 'fdEyeRadial')
  190. TabOrder = 2
  191. OnClick = RGFogModeClick
  192. end
  193. object RGFogMode: TRadioGroup
  194. Left = 112
  195. Top = 40
  196. Width = 105
  197. Height = 73
  198. Margins.Left = 2
  199. Margins.Top = 2
  200. Margins.Right = 2
  201. Margins.Bottom = 2
  202. Caption = '[ fog mode ]'
  203. ItemIndex = 0
  204. Items.Strings = (
  205. 'fmLinear'
  206. 'fmExp'
  207. 'fmExp2')
  208. TabOrder = 3
  209. OnClick = RGFogModeClick
  210. end
  211. end
  212. object CBApplyToBackground: TCheckBox
  213. Left = 424
  214. Top = 12
  215. Width = 105
  216. Height = 17
  217. Margins.Left = 2
  218. Margins.Top = 2
  219. Margins.Right = 2
  220. Margins.Bottom = 2
  221. Caption = 'background too ?'
  222. Checked = True
  223. State = cbChecked
  224. TabOrder = 4
  225. OnClick = CBApplyToBackgroundClick
  226. end
  227. object EFogDensity: TEdit
  228. Left = 480
  229. Top = 68
  230. Width = 57
  231. Height = 21
  232. Margins.Left = 2
  233. Margins.Top = 2
  234. Margins.Right = 2
  235. Margins.Bottom = 2
  236. TabOrder = 5
  237. Text = '100'
  238. OnChange = EFogStartChange
  239. end
  240. end
  241. object GLScene1: TGLScene
  242. Left = 40
  243. Top = 24
  244. object GLDummyCube1: TGLDummyCube
  245. CubeSize = 1.000000000000000000
  246. end
  247. object GLLightSource1: TGLLightSource
  248. ConstAttenuation = 1.000000000000000000
  249. Position.Coordinates = {000096430000FA430000C8430000803F}
  250. SpotCutOff = 180.000000000000000000
  251. end
  252. object GLCamera1: TGLCamera
  253. DepthOfView = 100.000000000000000000
  254. FocalLength = 50.000000000000000000
  255. TargetObject = GLDummyCube1
  256. Position.Coordinates = {0000C04000008040000000410000803F}
  257. end
  258. end
  259. object GLCadencer1: TGLCadencer
  260. Scene = GLScene1
  261. SleepLength = 1
  262. Left = 40
  263. Top = 80
  264. end
  265. object ColorDialog1: TColorDialog
  266. Left = 152
  267. Top = 24
  268. end
  269. object GLMaterialLibrary1: TGLMaterialLibrary
  270. Left = 152
  271. Top = 80
  272. end
  273. end