fFogC.dfm 6.0 KB

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