fFog.dfm 4.5 KB

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