fFogD.dfm 6.1 KB

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