fcTexCombine.dfm 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581
  1. object FormTexCombine: TFormTexCombine
  2. Left = 0
  3. Top = 0
  4. Caption = 'Texture Toolbox'
  5. ClientHeight = 411
  6. ClientWidth = 677
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -12
  11. Font.Name = 'Segoe UI'
  12. Font.Style = []
  13. Menu = MainMenu
  14. Position = poScreenCenter
  15. TextHeight = 15
  16. object Splitter1: TSplitter
  17. Left = 329
  18. Top = 0
  19. Width = 0
  20. Height = 411
  21. MinSize = 24
  22. end
  23. object PAImages: TPanel
  24. Left = 0
  25. Top = 0
  26. Width = 329
  27. Height = 411
  28. Align = alLeft
  29. BevelOuter = bvLowered
  30. BorderWidth = 4
  31. Caption = 'PAImages'
  32. TabOrder = 0
  33. DesignSize = (
  34. 329
  35. 411)
  36. object PageControl: TPageControl
  37. Left = 5
  38. Top = 33
  39. Width = 319
  40. Height = 373
  41. ActivePage = TSAlpha
  42. Align = alClient
  43. Style = tsButtons
  44. TabOrder = 0
  45. object TSRGB: TTabSheet
  46. Caption = 'RGB'
  47. object ScrollBox1: TScrollBox
  48. Left = 0
  49. Top = 0
  50. Width = 318
  51. Height = 350
  52. HorzScrollBar.Smooth = True
  53. HorzScrollBar.Style = ssFlat
  54. HorzScrollBar.Tracking = True
  55. VertScrollBar.Smooth = True
  56. VertScrollBar.Style = ssFlat
  57. VertScrollBar.Tracking = True
  58. Align = alClient
  59. Color = clSilver
  60. ParentColor = False
  61. TabOrder = 0
  62. object IMRGB: TImage
  63. Left = 0
  64. Top = 0
  65. Width = 305
  66. Height = 289
  67. AutoSize = True
  68. end
  69. end
  70. end
  71. object TSAlpha: TTabSheet
  72. Caption = 'Alpha'
  73. ImageIndex = 1
  74. object ScrollBox2: TScrollBox
  75. Left = 0
  76. Top = 0
  77. Width = 318
  78. Height = 350
  79. HorzScrollBar.Smooth = True
  80. HorzScrollBar.Style = ssFlat
  81. HorzScrollBar.Tracking = True
  82. VertScrollBar.Smooth = True
  83. VertScrollBar.Style = ssFlat
  84. VertScrollBar.Tracking = True
  85. Align = alClient
  86. Color = clSilver
  87. ParentColor = False
  88. TabOrder = 0
  89. object IMAlpha: TImage
  90. Left = 0
  91. Top = 0
  92. Width = 288
  93. Height = 312
  94. AutoSize = True
  95. end
  96. end
  97. end
  98. end
  99. object ToolBar: TToolBar
  100. Left = 176
  101. Top = 35
  102. Width = 153
  103. Height = 23
  104. Align = alNone
  105. Anchors = [akTop, akRight]
  106. ButtonWidth = 82
  107. Caption = 'ToolBar'
  108. Color = clBtnFace
  109. ParentColor = False
  110. ShowCaptions = True
  111. TabOrder = 1
  112. object tbImport: TToolButton
  113. Left = 0
  114. Top = 0
  115. Action = ACImport
  116. Wrap = True
  117. end
  118. object tbExport: TToolButton
  119. Left = 0
  120. Top = 38
  121. Action = ACExport
  122. end
  123. end
  124. object Panel1: TPanel
  125. Left = 5
  126. Top = 5
  127. Width = 319
  128. Height = 28
  129. Align = alTop
  130. BevelOuter = bvNone
  131. TabOrder = 2
  132. ExplicitLeft = 3
  133. ExplicitTop = 3
  134. ExplicitWidth = 323
  135. object Label1: TLabel
  136. Left = 4
  137. Top = 4
  138. Width = 60
  139. Height = 15
  140. Caption = 'Texture size'
  141. end
  142. object Label2: TLabel
  143. Left = 132
  144. Top = 4
  145. Width = 11
  146. Height = 15
  147. Caption = ' x '
  148. end
  149. object CBWidth: TComboBox
  150. Left = 72
  151. Top = 0
  152. Width = 57
  153. Height = 38
  154. Style = csDropDownList
  155. TabOrder = 0
  156. Items.Strings = (
  157. '1'
  158. '2'
  159. '4'
  160. '8'
  161. '16'
  162. '32'
  163. '64'
  164. '128'
  165. '256'
  166. '512'
  167. '1024'
  168. '2048'
  169. '4096')
  170. end
  171. object CBHeight: TComboBox
  172. Left = 148
  173. Top = 0
  174. Width = 57
  175. Height = 38
  176. Style = csDropDownList
  177. TabOrder = 1
  178. Items.Strings = (
  179. '1'
  180. '2'
  181. '4'
  182. '8'
  183. '16'
  184. '32'
  185. '64'
  186. '128'
  187. '256'
  188. '512'
  189. '1024'
  190. '2048'
  191. '4096')
  192. end
  193. end
  194. end
  195. object PAPreview: TPanel
  196. Left = 329
  197. Top = 0
  198. Width = 348
  199. Height = 411
  200. Align = alClient
  201. BevelOuter = bvLowered
  202. BorderWidth = 4
  203. Caption = 'PAPreview'
  204. TabOrder = 1
  205. object GLSceneViewer: TGLSceneViewer
  206. Left = 5
  207. Top = 5
  208. Width = 346
  209. Height = 426
  210. Camera = GLCamera
  211. Buffer.AntiAliasing = aa2x
  212. FieldOfView = 147.759582519531300000
  213. PenAsTouch = False
  214. Align = alClient
  215. TabOrder = 0
  216. ExplicitLeft = 3
  217. ExplicitTop = 3
  218. ExplicitWidth = 343
  219. ExplicitHeight = 406
  220. end
  221. object Panel2: TPanel
  222. Left = 8
  223. Top = 8
  224. Width = 257
  225. Height = 32
  226. TabOrder = 1
  227. object CBTextureFiltering: TCheckBox
  228. Left = 112
  229. Top = 8
  230. Width = 97
  231. Height = 17
  232. Caption = 'Texture filtering'
  233. Checked = True
  234. State = cbChecked
  235. TabOrder = 0
  236. end
  237. object CBBackground: TComboBox
  238. Left = 7
  239. Top = 6
  240. Width = 90
  241. Height = 38
  242. Style = csDropDownList
  243. TabOrder = 1
  244. Items.Strings = (
  245. 'Checkered'
  246. 'Black'
  247. 'Gray'
  248. 'White')
  249. end
  250. end
  251. end
  252. object MainMenu: TMainMenu
  253. Images = ImageList
  254. Left = 338
  255. Top = 86
  256. object File1: TMenuItem
  257. Caption = 'File'
  258. object Exit2: TMenuItem
  259. Action = ACOpenTexture
  260. end
  261. object SaveTexture1: TMenuItem
  262. Action = ACSaveTexture
  263. end
  264. object N1: TMenuItem
  265. Caption = '-'
  266. end
  267. object Exit1: TMenuItem
  268. Action = ACExit
  269. end
  270. end
  271. object ools1: TMenuItem
  272. Caption = 'Tools'
  273. object Colormapdilatation1: TMenuItem
  274. Action = ACColorDilatation
  275. end
  276. object N2: TMenuItem
  277. Caption = '-'
  278. end
  279. object Alphamaperosion1: TMenuItem
  280. Action = ACAlphaErosion
  281. end
  282. object AlphamapDilatation1: TMenuItem
  283. Action = ACAlphaDilatation
  284. end
  285. end
  286. object Alpha1: TMenuItem
  287. Caption = 'Alpha'
  288. object GenerateAlpha1: TMenuItem
  289. Caption = 'Generate Alpha'
  290. object Opaque1: TMenuItem
  291. Action = ACOpaque
  292. end
  293. object SuperBlackTransparent1: TMenuItem
  294. Action = ACAlphaSuperBlack
  295. end
  296. object FromRGBIntensity1: TMenuItem
  297. Action = ACFromRGBIntensity
  298. end
  299. object FromRGBSqrtIntensity1: TMenuItem
  300. Action = ACFromRGBSqrtIntensity
  301. end
  302. end
  303. object N3: TMenuItem
  304. Caption = '-'
  305. end
  306. object Negate1: TMenuItem
  307. Action = ACAlphaNegate
  308. end
  309. object Offset1: TMenuItem
  310. Action = ACAlphaOffset
  311. end
  312. object Saturate1: TMenuItem
  313. Action = ACAlphaSaturate
  314. end
  315. end
  316. end
  317. object ImageList: TImageList
  318. Left = 48
  319. Top = 72
  320. Bitmap = {
  321. 494C010102000400040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
  322. 0000000000003600000028000000400000001000000001002000000000000010
  323. 0000000000000000000000000000000000000000000000000000000000000000
  324. 0000000000000000000000000000000000000000000000000000000000000000
  325. 0000000000000000000000000000000000000000000000000000000000000000
  326. 0000000000000000000000000000000000000000000000000000000000000000
  327. 0000000000000000000000000000000000000000000000000000000000000000
  328. 0000000000000000000000000000000000000000000000000000000000000000
  329. 0000000000000000000000000000000000000000000000000000000000000000
  330. 0000000000000000000000000000000000000000000000000000000000000000
  331. 0000000000000000000000000000000000000000000000000000000000000000
  332. 0000000000000000000000000000000000000000000000000000000000000000
  333. 0000000000000000000000000000000000000000000000000000000000000000
  334. 0000000000000000000000000000000000000000000000000000000000000000
  335. 0000000000000000000000000000000000000000000000000000000000000000
  336. 0000000000000000000000000000000000000000000000000000000000000000
  337. 0000000000000000000000000000000000000000000000000000000000000000
  338. 0000000000000000000000000000000000000000000000000000000000000000
  339. 0000000000000000000000000000000000000000000000000000008080000080
  340. 8000000000000000000000000000000000000000000000000000000000000000
  341. 0000000000000080800000000000000000000000000000000000000000000000
  342. 0000000000000000000000000000000000000000000000000000000000000000
  343. 0000000000000000000000000000000000000000000000000000000000000000
  344. 0000000000000000000000000000000000000000000000000000000000000000
  345. 0000000000000000000000000000000000000000000000000000000000000000
  346. 0000000000000000000000000000000000000000000000000000000000000000
  347. 0000000000000000000000000000000000000000000000000000008080000080
  348. 8000000000000000000000000000000000000000000000000000000000000000
  349. 0000000000000080800000000000000000000000000000000000008080000080
  350. 8000008080000080800000808000008080000080800000808000008080000000
  351. 0000000000000000000000000000000000000000000000000000000000000000
  352. 0000000000000000000000000000000000000000000000000000000000000000
  353. 0000000000000000000000000000000000000000000000000000000000000000
  354. 0000000000000000000000000000000000000000000000000000000000000000
  355. 0000000000000000000000000000000000000000000000000000008080000080
  356. 8000000000000000000000000000000000000000000000000000000000000000
  357. 0000000000000080800000000000000000000000000000FFFF00000000000080
  358. 8000008080000080800000808000008080000080800000808000008080000080
  359. 8000000000000000000000000000000000000000000000000000000000000000
  360. 0000000000000000000000000000000000000000000000000000000000000000
  361. 0000000000000000000000000000000000000000000000000000000000000000
  362. 0000000000000000000000000000000000000000000000000000000000000000
  363. 0000000000000000000000000000000000000000000000000000008080000080
  364. 8000000000000000000000000000000000000000000000000000000000000000
  365. 00000000000000808000000000000000000000000000FFFFFF0000FFFF000000
  366. 0000008080000080800000808000008080000080800000808000008080000080
  367. 8000008080000000000000000000000000000000000000000000000000000000
  368. 0000000000000000000000000000000000000000000000000000000000000000
  369. 0000000000000000000000000000000000000000000000000000000000000000
  370. 0000000000000000000000000000000000000000000000000000000000000000
  371. 0000000000000000000000000000000000000000000000000000008080000080
  372. 8000008080000080800000808000008080000080800000808000008080000080
  373. 8000008080000080800000000000000000000000000000FFFF00FFFFFF0000FF
  374. FF00000000000080800000808000008080000080800000808000008080000080
  375. 8000008080000080800000000000000000000000000000000000000000000000
  376. 0000000000000000000000000000000000000000000000000000000000000000
  377. 0000000000000000000000000000000000000000000000000000000000000000
  378. 0000000000000000000000000000000000000000000000000000000000000000
  379. 0000000000000000000000000000000000000000000000000000008080000080
  380. 8000000000000000000000000000000000000000000000000000000000000000
  381. 00000080800000808000000000000000000000000000FFFFFF0000FFFF00FFFF
  382. FF0000FFFF000000000000000000000000000000000000000000000000000000
  383. 0000000000000000000000000000000000000000000000000000000000000000
  384. 0000000000000000000000000000000000000000000000000000000000000000
  385. 0000000000000000000000000000000000000000000000000000000000000000
  386. 0000000000000000000000000000000000000000000000000000000000000000
  387. 0000000000000000000000000000000000000000000000000000008080000000
  388. 0000000000000000000000000000000000000000000000000000000000000000
  389. 0000000000000080800000000000000000000000000000FFFF00FFFFFF0000FF
  390. FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00000000000000
  391. 0000000000000000000000000000000000000000000000000000000000000000
  392. 0000000000000000000000000000000000000000000000000000000000000000
  393. 0000000000000000000000000000000000000000000000000000000000000000
  394. 0000000000000000000000000000000000000000000000000000000000000000
  395. 0000000000000000000000000000000000000000000000000000008080000000
  396. 0000000000000000000000000000000000000000000000000000000000000000
  397. 00000000000000808000000000000000000000000000FFFFFF0000FFFF00FFFF
  398. FF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF00000000000000
  399. 0000000000000000000000000000000000000000000000000000000000000000
  400. 0000000000000000000000000000000000000000000000000000000000000000
  401. 0000000000000000000000000000000000000000000000000000000000000000
  402. 0000000000000000000000000000000000000000000000000000000000000000
  403. 0000000000000000000000000000000000000000000000000000008080000000
  404. 0000000000000000000000000000000000000000000000000000000000000000
  405. 0000000000000080800000000000000000000000000000FFFF00FFFFFF0000FF
  406. FF00000000000000000000000000000000000000000000000000000000000000
  407. 0000000000000000000000000000000000000000000000000000000000000000
  408. 0000000000000000000000000000000000000000000000000000000000000000
  409. 0000000000000000000000000000000000000000000000000000000000000000
  410. 0000000000000000000000000000000000000000000000000000000000000000
  411. 0000000000000000000000000000000000000000000000000000008080000000
  412. 0000000000000000000000000000000000000000000000000000000000000000
  413. 0000000000000080800000000000000000000000000000000000000000000000
  414. 0000000000000000000000000000000000000000000000000000000000000000
  415. 0000000000000000000000000000000000000000000000000000000000000000
  416. 0000000000000000000000000000000000000000000000000000000000000000
  417. 0000000000000000000000000000000000000000000000000000000000000000
  418. 0000000000000000000000000000000000000000000000000000000000000000
  419. 0000000000000000000000000000000000000000000000000000008080000000
  420. 0000000000000000000000000000000000000000000000000000000000000000
  421. 0000000000000000000000000000000000000000000000000000000000000000
  422. 0000000000000000000000000000000000000000000000000000000000000000
  423. 0000000000000000000000000000000000000000000000000000000000000000
  424. 0000000000000000000000000000000000000000000000000000000000000000
  425. 0000000000000000000000000000000000000000000000000000000000000000
  426. 0000000000000000000000000000000000000000000000000000000000000000
  427. 0000000000000000000000000000000000000000000000000000008080000000
  428. 0000000000000000000000000000000000000000000000000000000000000000
  429. 0000000000000000000000000000000000000000000000000000000000000000
  430. 0000000000000000000000000000000000000000000000000000000000000000
  431. 0000000000000000000000000000000000000000000000000000000000000000
  432. 0000000000000000000000000000000000000000000000000000000000000000
  433. 0000000000000000000000000000000000000000000000000000000000000000
  434. 0000000000000000000000000000000000000000000000000000000000000000
  435. 0000000000000000000000000000000000000000000000000000000000000000
  436. 0000000000000000000000000000000000000000000000000000000000000000
  437. 0000000000000000000000000000000000000000000000000000000000000000
  438. 0000000000000000000000000000000000000000000000000000000000000000
  439. 0000000000000000000000000000000000000000000000000000000000000000
  440. 0000000000000000000000000000000000000000000000000000000000000000
  441. 0000000000000000000000000000000000000000000000000000000000000000
  442. 0000000000000000000000000000000000000000000000000000000000000000
  443. 0000000000000000000000000000000000000000000000000000000000000000
  444. 0000000000000000000000000000000000000000000000000000000000000000
  445. 0000000000000000000000000000000000000000000000000000000000000000
  446. 0000000000000000000000000000000000000000000000000000000000000000
  447. 0000000000000000000000000000000000000000000000000000000000000000
  448. 0000000000000000000000000000000000000000000000000000000000000000
  449. 0000000000000000000000000000000000000000000000000000000000000000
  450. 0000000000000000000000000000000000000000000000000000000000000000
  451. 000000000000000000000000000000000000424D3E000000000000003E000000
  452. 2800000040000000100000000100010000000000800000000000000000000000
  453. 000000000000000000000000FFFFFF00FFFFFFFF00000000C001FFFF00000000
  454. 8031001F000000008031000F0000000080310007000000008001000300000000
  455. 800100010000000080010000000000008FF1001F000000008FF1001F00000000
  456. 8FF1001F000000008FF18FF1000000008FF1FFF9000000008FF5FF7500000000
  457. 8001FF8F00000000FFFFFFFF0000000000000000000000000000000000000000
  458. 000000000000}
  459. end
  460. object ActionList: TActionList
  461. Images = ImageList
  462. Left = 324
  463. Top = 188
  464. object ACExit: TAction
  465. Category = 'File'
  466. Caption = 'Exit'
  467. end
  468. object ACImport: TAction
  469. Category = 'File'
  470. Caption = ' Import image '
  471. ImageIndex = 1
  472. end
  473. object ACOpenTexture: TAction
  474. Category = 'File'
  475. Caption = 'Open Texture...'
  476. ImageIndex = 1
  477. end
  478. object ACSaveTexture: TAction
  479. Category = 'File'
  480. Caption = 'Save Texture...'
  481. ImageIndex = 0
  482. end
  483. object ACColorDilatation: TAction
  484. Category = 'Tools'
  485. Caption = 'Colormap Dilatation'
  486. end
  487. object ACAlphaErosion: TAction
  488. Category = 'Tools'
  489. Caption = 'Alphamap Erosion'
  490. end
  491. object ACExport: TAction
  492. Category = 'File'
  493. Caption = ' Export image'
  494. OnExecute = ACExportExecute
  495. end
  496. object ACAlphaDilatation: TAction
  497. Category = 'Tools'
  498. Caption = 'Alphamap Dilatation'
  499. end
  500. object ACOpaque: TAction
  501. Category = 'Alpha'
  502. Caption = 'Opaque'
  503. end
  504. object ACAlphaSuperBlack: TAction
  505. Category = 'Alpha'
  506. Caption = 'SuperBlack Transparent'
  507. end
  508. object ACFromRGBIntensity: TAction
  509. Category = 'Alpha'
  510. Caption = 'From RGB Intensity'
  511. end
  512. object ACFromRGBSqrtIntensity: TAction
  513. Category = 'Alpha'
  514. Caption = 'From RGB Sqrt Intensity'
  515. end
  516. object ACAlphaOffset: TAction
  517. Category = 'Alpha'
  518. Caption = 'Offset'
  519. end
  520. object ACAlphaSaturate: TAction
  521. Category = 'Alpha'
  522. Caption = 'Saturate'
  523. end
  524. object ACAlphaNegate: TAction
  525. Category = 'Alpha'
  526. Caption = 'Negate'
  527. end
  528. end
  529. object GLScene: TGLScene
  530. Left = 168
  531. Top = 72
  532. object HSBkgnd: TGLHUDSprite
  533. Material.Texture.Image.Picture.Data = {
  534. 07544269746D61704E000000424D4E000000000000003E000000280000000400
  535. 000004000000010001000000000010000000130B0000130B0000020000000200
  536. 000000000000FFFFFF003000000030000000C0000000C0000000}
  537. Material.Texture.MagFilter = maNearest
  538. Material.Texture.MinFilter = miNearest
  539. Material.Texture.TextureMode = tmReplace
  540. Material.Texture.Compression = tcNone
  541. Material.Texture.Disabled = False
  542. Position.Coordinates = {0000C8420000C842000000000000803F}
  543. Width = 100.000000000000000000
  544. Height = 100.000000000000000000
  545. Rotation = 0.000000000000000000
  546. XTiles = 2
  547. YTiles = 2
  548. end
  549. object GLDummyCube: TGLDummyCube
  550. CubeSize = 1.000000000000000000
  551. object GLCube: TGLCube
  552. Material.BlendingMode = bmTransparency
  553. Material.Texture.TextureMode = tmReplace
  554. Material.Texture.TextureWrap = twNone
  555. Material.Texture.FilteringQuality = tfAnisotropic
  556. end
  557. end
  558. object GLLightSource: TGLLightSource
  559. ConstAttenuation = 1.000000000000000000
  560. Position.Coordinates = {00004842000020420000F0410000803F}
  561. SpotCutOff = 180.000000000000000000
  562. end
  563. object GLCamera: TGLCamera
  564. DepthOfView = 100.000000000000000000
  565. FocalLength = 50.000000000000000000
  566. TargetObject = GLDummyCube
  567. Position.Coordinates = {0000804000004040000000400000803F}
  568. end
  569. end
  570. object OpenPictureDialog: TOpenPictureDialog
  571. Options = [ofHideReadOnly, ofFileMustExist, ofEnableSizing]
  572. Left = 112
  573. Top = 72
  574. end
  575. object SaveDialog: TSaveDialog
  576. Filter = '32 bits BMP|*.bmp|32 bits TGA|*.tga'
  577. Options = [ofHideReadOnly, ofPathMustExist, ofEnableSizing]
  578. Left = 112
  579. Top = 104
  580. end
  581. end