fProcCloudsC.dfm 8.2 KB

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