fdProcClouds.dfm 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348
  1. object FormClouds: TFormClouds
  2. Left = 339
  3. Top = 205
  4. Caption = 'Procedural Clouds'
  5. ClientHeight = 406
  6. ClientWidth = 545
  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. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. TextHeight = 13
  16. object GLSceneViewer1: TGLSceneViewer
  17. Left = 0
  18. Top = 0
  19. Width = 337
  20. Height = 406
  21. Camera = Camera
  22. AfterRender = GLSceneViewer1AfterRender
  23. Buffer.BackgroundColor = clBackground
  24. FieldOfView = 179.319946289062500000
  25. PenAsTouch = False
  26. Align = alClient
  27. TabOrder = 0
  28. end
  29. object Panel1: TPanel
  30. Left = 337
  31. Top = 0
  32. Width = 208
  33. Height = 406
  34. Align = alRight
  35. BevelOuter = bvLowered
  36. TabOrder = 1
  37. ExplicitLeft = 329
  38. ExplicitHeight = 381
  39. object Label2: TLabel
  40. Left = 16
  41. Top = 148
  42. Width = 32
  43. Height = 13
  44. Caption = 'Format'
  45. end
  46. object Label3: TLabel
  47. Left = 16
  48. Top = 180
  49. Width = 60
  50. Height = 13
  51. Caption = 'Compression'
  52. end
  53. object Label5: TLabel
  54. Left = 16
  55. Top = 272
  56. Width = 58
  57. Height = 13
  58. Caption = 'Render Size'
  59. end
  60. object LAUsedMemory: TLabel
  61. Left = 16
  62. Top = 228
  63. Width = 65
  64. Height = 13
  65. Caption = 'Used Memory'
  66. end
  67. object LARGB32: TLabel
  68. Left = 16
  69. Top = 212
  70. Width = 65
  71. Height = 13
  72. Caption = 'Used Memory'
  73. end
  74. object LACompression: TLabel
  75. Left = 16
  76. Top = 244
  77. Width = 65
  78. Height = 13
  79. Caption = 'Used Memory'
  80. end
  81. object Label4: TLabel
  82. Left = 16
  83. Top = 96
  84. Width = 36
  85. Height = 13
  86. Caption = 'MinCut:'
  87. end
  88. object Label6: TLabel
  89. Left = 16
  90. Top = 72
  91. Width = 53
  92. Height = 13
  93. Caption = 'Sharpness:'
  94. end
  95. object CloudFileOpenBtn: TSpeedButton
  96. Left = 15
  97. Top = 360
  98. Width = 25
  99. Height = 21
  100. Hint = 'Load Cloud File'
  101. Glyph.Data = {
  102. 76010000424D7601000000000000760000002800000020000000100000000100
  103. 04000000000000010000120B0000120B00001000000000000000000000000000
  104. 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
  105. FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
  106. 3333333333333333333333333333333333333333333333333333333333333333
  107. 33333FFFFFFFFFFFFFFF000000000000000077777777777777770F7777777777
  108. 77707F3F3333333333370F988888888888707F733FFFFFFFF3370F8800000000
  109. 88707F337777777733370F888888888888707F333FFFFFFFF3370F8800000000
  110. 88707F337777777733370F888888888888707F333333333333370F8888888888
  111. 88707F333333333333370FFFFFFFFFFFFFF07FFFFFFFFFFFFFF7000000000000
  112. 0000777777777777777733333333333333333333333333333333333333333333
  113. 3333333333333333333333333333333333333333333333333333}
  114. NumGlyphs = 2
  115. ParentShowHint = False
  116. ShowHint = True
  117. OnClick = CloudFileOpenBtnClick
  118. end
  119. object MakeAndSaveCloudNoiseFile: TSpeedButton
  120. Left = 161
  121. Top = 360
  122. Width = 40
  123. Height = 22
  124. Hint = 'Save Cloud File'
  125. Glyph.Data = {
  126. F6000000424DF600000000000000760000002800000010000000100000000100
  127. 0400000000008000000074120000741200001000000000000000000000000000
  128. 80000080000000808000800000008000800080800000C0C0C000808080000000
  129. FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00077777F07777
  130. 77F0F07777F077777F077F0000000000F077770330000D030777770330000D03
  131. 07777703300000030777FF03333333330FFF000300000003000077030FFFFF03
  132. 077777030FFFFF03077777030FFFFF03077777030FFFFF0F07777F0000000000
  133. 0777F07777F0777770F7077777F07777770F777777F077777770}
  134. ParentShowHint = False
  135. ShowHint = True
  136. OnClick = MakeAndSaveCloudNoiseFileClick
  137. end
  138. object Label61: TLabel
  139. Left = 178
  140. Top = 336
  141. Width = 6
  142. Height = 13
  143. Caption = '0'
  144. end
  145. object LabelFPS: TLabel
  146. Left = 16
  147. Top = 24
  148. Width = 20
  149. Height = 13
  150. Caption = 'FPS'
  151. end
  152. object CBFormat: TComboBox
  153. Left = 88
  154. Top = 144
  155. Width = 105
  156. Height = 21
  157. Style = csDropDownList
  158. TabOrder = 0
  159. OnChange = CBFormatChange
  160. Items.Strings = (
  161. 'RGB (24 bits)'
  162. 'RGBA (32 bits)'
  163. 'RGB (16 bits)'
  164. 'RGBA (16 bits)')
  165. end
  166. object CBCompression: TComboBox
  167. Left = 88
  168. Top = 176
  169. Width = 105
  170. Height = 21
  171. Style = csDropDownList
  172. TabOrder = 1
  173. OnChange = CBFormatChange
  174. Items.Strings = (
  175. 'None'
  176. 'Standard'
  177. 'Nicest'
  178. 'Fastest')
  179. end
  180. object RBDefault: TRadioButton
  181. Left = 16
  182. Top = 286
  183. Width = 57
  184. Height = 17
  185. Caption = '100 %'
  186. Checked = True
  187. TabOrder = 2
  188. TabStop = True
  189. OnClick = CBFormatChange
  190. end
  191. object RBDouble: TRadioButton
  192. Left = 82
  193. Top = 286
  194. Width = 58
  195. Height = 17
  196. Caption = '200 %'
  197. TabOrder = 3
  198. OnClick = CBFormatChange
  199. end
  200. object RBQuad: TRadioButton
  201. Left = 143
  202. Top = 286
  203. Width = 58
  204. Height = 17
  205. Caption = '400 %'
  206. TabOrder = 4
  207. OnClick = CBFormatChange
  208. end
  209. object CheckBox1: TCheckBox
  210. Left = 128
  211. Top = 43
  212. Width = 73
  213. Height = 17
  214. Caption = 'Animated'
  215. TabOrder = 5
  216. end
  217. object SpinEdit1: TSpinEdit
  218. Left = 88
  219. Top = 96
  220. Width = 105
  221. Height = 22
  222. MaxValue = 255
  223. MinValue = 0
  224. TabOrder = 6
  225. Value = 98
  226. OnChange = CBFormatChange
  227. end
  228. object SpinEdit2: TSpinEdit
  229. Left = 88
  230. Top = 72
  231. Width = 105
  232. Height = 22
  233. MaxValue = 99
  234. MinValue = 1
  235. TabOrder = 7
  236. Value = 98
  237. OnChange = CBFormatChange
  238. end
  239. object CheckBox2: TCheckBox
  240. Left = 16
  241. Top = 43
  242. Width = 81
  243. Height = 17
  244. Caption = 'Seamless'
  245. Checked = True
  246. State = cbChecked
  247. TabOrder = 8
  248. OnClick = CBFormatChange
  249. end
  250. object TrackBar1: TTrackBar
  251. Left = 24
  252. Top = 304
  253. Width = 150
  254. Height = 33
  255. Min = 1
  256. Position = 2
  257. TabOrder = 9
  258. OnChange = TrackBar1Change
  259. end
  260. object CloudRandomSeedUsedEdit: TEdit
  261. Left = 111
  262. Top = 336
  263. Width = 49
  264. Height = 21
  265. Hint = 'Cloud Random Seed'
  266. TabOrder = 10
  267. Text = '12345'
  268. end
  269. object CloudImageSizeUsedEdit: TEdit
  270. Left = 95
  271. Top = 264
  272. Width = 33
  273. Height = 21
  274. Hint = 'Cloud Image Size'
  275. TabOrder = 11
  276. Text = '128'
  277. end
  278. object UseCloudFileCB: TCheckBox
  279. Left = 15
  280. Top = 339
  281. Width = 90
  282. Height = 17
  283. Hint = 'Use File'
  284. Caption = 'Use Cloud File'
  285. TabOrder = 12
  286. end
  287. object CloudFileUsedEdit: TEdit
  288. Left = 55
  289. Top = 360
  290. Width = 98
  291. Height = 21
  292. HelpContext = 50
  293. TabOrder = 13
  294. end
  295. end
  296. object GLScene1: TGLScene
  297. Left = 40
  298. Top = 16
  299. object Plane: TGLPlane
  300. Material.FrontProperties.Ambient.Color = {00000000000000000000000000000000}
  301. Material.FrontProperties.Diffuse.Color = {00000000000000000000000000000000}
  302. Material.FrontProperties.Emission.Color = {00000000000000000000000000000000}
  303. Material.BlendingMode = bmAlphaTest50
  304. Material.Texture.ImageClassName = 'TGLProcTextureNoise'
  305. Material.Texture.Image.MinCut = 0
  306. Material.Texture.Image.NoiseSharpness = 0.990000009536743200
  307. Material.Texture.Image.Seamless = True
  308. Material.Texture.Image.NoiseRandSeed = 497075363
  309. Material.Texture.TextureMode = tmReplace
  310. Material.Texture.Disabled = False
  311. Scale.Coordinates = {0000C03F0000C03F0000803F00000000}
  312. Height = 50.000000000000000000
  313. Width = 50.000000000000000000
  314. XTiles = 2
  315. YTiles = 2
  316. Style = [psTileTexture]
  317. end
  318. object Camera: TGLCamera
  319. DepthOfView = 100.000000000000000000
  320. FocalLength = 1.000000000000000000
  321. CameraStyle = csOrthogonal
  322. Position.Coordinates = {0000000000000000000070410000803F}
  323. Left = 256
  324. Top = 160
  325. end
  326. end
  327. object GLCadencer1: TGLCadencer
  328. Scene = GLScene1
  329. OnProgress = GLCadencer1Progress
  330. Left = 40
  331. Top = 64
  332. end
  333. object Timer1: TTimer
  334. OnTimer = Timer1Timer
  335. Left = 234
  336. Top = 84
  337. end
  338. object OpenDialog1: TOpenDialog
  339. Left = 116
  340. Top = 11
  341. end
  342. object SaveDialog1: TSaveDialog
  343. DefaultExt = 'rnd'
  344. Filter = 'Cloud base (*.clb)|*.clb'
  345. Left = 188
  346. Top = 13
  347. end
  348. end