FMxMaterialEditor.fmx 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. object MaterialEditorForm: TMaterialEditorForm
  2. Left = 0
  3. Top = 0
  4. Caption = 'Material Editor'
  5. ClientHeight = 400
  6. ClientWidth = 696
  7. FormFactor.Width = 320
  8. FormFactor.Height = 480
  9. FormFactor.Devices = [Desktop]
  10. DesignerMasterStyle = 0
  11. object TabControl1: TTabControl
  12. Position.X = 8.000000000000000000
  13. Position.Y = 8.000000000000000000
  14. Size.Width = 425.000000000000000000
  15. Size.Height = 297.000000000000000000
  16. Size.PlatformDefault = False
  17. TabIndex = 1
  18. TabOrder = 0
  19. TabPosition = PlatformDefault
  20. Sizes = (
  21. 425s
  22. 271s
  23. 425s
  24. 271s
  25. 425s
  26. 271s)
  27. object TIFront: TTabItem
  28. CustomIcon = <
  29. item
  30. end>
  31. IsSelected = False
  32. Size.Width = 48.000000000000000000
  33. Size.Height = 26.000000000000000000
  34. Size.PlatformDefault = False
  35. StyleLookup = ''
  36. TabOrder = 0
  37. Text = 'Front'
  38. ExplicitSize.cx = 48.000000000000000000
  39. ExplicitSize.cy = 24.000000000000000000
  40. inline FEFront: TFaceEditorFrame
  41. Position.X = -8.000000000000000000
  42. Size.Width = 433.000000000000000000
  43. Size.Height = 232.000000000000000000
  44. Size.PlatformDefault = False
  45. TabOrder = 0
  46. inherited TabControl: TTabControl
  47. Sizes = (
  48. 401s
  49. 127s
  50. 401s
  51. 127s
  52. 401s
  53. 127s
  54. 401s
  55. 127s)
  56. inherited TIAmbient: TTabItem
  57. ExplicitSize.cx = 65.000000000000000000
  58. ExplicitSize.cy = 24.000000000000000000
  59. inherited CEAmbiant: TColorEditorFrame
  60. inherited Label1: TLabel
  61. TextSettings.Font.StyleExt = {00070000000000000004000000}
  62. end
  63. inherited Label2: TLabel
  64. TextSettings.Font.StyleExt = {00070000000000000004000000}
  65. end
  66. inherited Label3: TLabel
  67. TextSettings.Font.StyleExt = {00070000000000000004000000}
  68. end
  69. inherited Label4: TLabel
  70. TextSettings.Font.StyleExt = {00070000000000000004000000}
  71. end
  72. end
  73. end
  74. inherited TIDiffuse: TTabItem
  75. ExplicitSize.cx = 57.000000000000000000
  76. ExplicitSize.cy = 24.000000000000000000
  77. inherited CEDiffuse: TColorEditorFrame
  78. inherited Label1: TLabel
  79. TextSettings.Font.StyleExt = {00070000000000000004000000}
  80. end
  81. inherited Label2: TLabel
  82. TextSettings.Font.StyleExt = {00070000000000000004000000}
  83. end
  84. inherited Label3: TLabel
  85. TextSettings.Font.StyleExt = {00070000000000000004000000}
  86. end
  87. inherited Label4: TLabel
  88. TextSettings.Font.StyleExt = {00070000000000000004000000}
  89. end
  90. end
  91. end
  92. inherited TIEmission: TTabItem
  93. ExplicitSize.cx = 66.000000000000000000
  94. ExplicitSize.cy = 24.000000000000000000
  95. inherited CEEmission: TColorEditorFrame
  96. inherited Label1: TLabel
  97. TextSettings.Font.StyleExt = {00070000000000000004000000}
  98. end
  99. inherited Label2: TLabel
  100. TextSettings.Font.StyleExt = {00070000000000000004000000}
  101. end
  102. inherited Label3: TLabel
  103. TextSettings.Font.StyleExt = {00070000000000000004000000}
  104. end
  105. inherited Label4: TLabel
  106. TextSettings.Font.StyleExt = {00070000000000000004000000}
  107. end
  108. end
  109. end
  110. inherited TISpecular: TTabItem
  111. ExplicitSize.cx = 66.000000000000000000
  112. ExplicitSize.cy = 24.000000000000000000
  113. inherited CESpecular: TColorEditorFrame
  114. inherited Label1: TLabel
  115. TextSettings.Font.StyleExt = {00070000000000000004000000}
  116. end
  117. inherited Label2: TLabel
  118. TextSettings.Font.StyleExt = {00070000000000000004000000}
  119. end
  120. inherited Label3: TLabel
  121. TextSettings.Font.StyleExt = {00070000000000000004000000}
  122. end
  123. inherited Label4: TLabel
  124. TextSettings.Font.StyleExt = {00070000000000000004000000}
  125. end
  126. end
  127. end
  128. end
  129. end
  130. end
  131. object TIBack: TTabItem
  132. CustomIcon = <
  133. item
  134. end>
  135. IsSelected = True
  136. Size.Width = 45.000000000000000000
  137. Size.Height = 26.000000000000000000
  138. Size.PlatformDefault = False
  139. StyleLookup = ''
  140. TabOrder = 0
  141. Text = 'Back'
  142. ExplicitSize.cx = 45.000000000000000000
  143. ExplicitSize.cy = 24.000000000000000000
  144. inline FEBack: TFaceEditorFrame
  145. Position.X = -8.000000000000000000
  146. Position.Y = 8.000000000000000000
  147. Size.Width = 433.000000000000000000
  148. Size.Height = 232.000000000000000000
  149. Size.PlatformDefault = False
  150. TabOrder = 0
  151. inherited TabControl: TTabControl
  152. Sizes = (
  153. 401s
  154. 127s
  155. 401s
  156. 127s
  157. 401s
  158. 127s
  159. 401s
  160. 127s)
  161. inherited TIAmbient: TTabItem
  162. ExplicitSize.cx = 65.000000000000000000
  163. ExplicitSize.cy = 24.000000000000000000
  164. inherited CEAmbiant: TColorEditorFrame
  165. inherited Label1: TLabel
  166. TextSettings.Font.StyleExt = {00070000000000000004000000}
  167. end
  168. inherited Label2: TLabel
  169. TextSettings.Font.StyleExt = {00070000000000000004000000}
  170. end
  171. inherited Label3: TLabel
  172. TextSettings.Font.StyleExt = {00070000000000000004000000}
  173. end
  174. inherited Label4: TLabel
  175. TextSettings.Font.StyleExt = {00070000000000000004000000}
  176. end
  177. end
  178. end
  179. inherited TIDiffuse: TTabItem
  180. ExplicitSize.cx = 57.000000000000000000
  181. ExplicitSize.cy = 24.000000000000000000
  182. inherited CEDiffuse: TColorEditorFrame
  183. inherited Label1: TLabel
  184. TextSettings.Font.StyleExt = {00070000000000000004000000}
  185. end
  186. inherited Label2: TLabel
  187. TextSettings.Font.StyleExt = {00070000000000000004000000}
  188. end
  189. inherited Label3: TLabel
  190. TextSettings.Font.StyleExt = {00070000000000000004000000}
  191. end
  192. inherited Label4: TLabel
  193. TextSettings.Font.StyleExt = {00070000000000000004000000}
  194. end
  195. end
  196. end
  197. inherited TIEmission: TTabItem
  198. ExplicitSize.cx = 66.000000000000000000
  199. ExplicitSize.cy = 24.000000000000000000
  200. inherited CEEmission: TColorEditorFrame
  201. inherited Label1: TLabel
  202. TextSettings.Font.StyleExt = {00070000000000000004000000}
  203. end
  204. inherited Label2: TLabel
  205. TextSettings.Font.StyleExt = {00070000000000000004000000}
  206. end
  207. inherited Label3: TLabel
  208. TextSettings.Font.StyleExt = {00070000000000000004000000}
  209. end
  210. inherited Label4: TLabel
  211. TextSettings.Font.StyleExt = {00070000000000000004000000}
  212. end
  213. end
  214. end
  215. inherited TISpecular: TTabItem
  216. ExplicitSize.cx = 66.000000000000000000
  217. ExplicitSize.cy = 24.000000000000000000
  218. inherited CESpecular: TColorEditorFrame
  219. inherited Label1: TLabel
  220. TextSettings.Font.StyleExt = {00070000000000000004000000}
  221. end
  222. inherited Label2: TLabel
  223. TextSettings.Font.StyleExt = {00070000000000000004000000}
  224. end
  225. inherited Label3: TLabel
  226. TextSettings.Font.StyleExt = {00070000000000000004000000}
  227. end
  228. inherited Label4: TLabel
  229. TextSettings.Font.StyleExt = {00070000000000000004000000}
  230. end
  231. end
  232. end
  233. end
  234. end
  235. end
  236. object TITexture: TTabItem
  237. CustomIcon = <
  238. item
  239. end>
  240. IsSelected = False
  241. Size.Width = 58.000000000000000000
  242. Size.Height = 26.000000000000000000
  243. Size.PlatformDefault = False
  244. StyleLookup = ''
  245. TabOrder = 0
  246. Text = 'Texture'
  247. ExplicitSize.cx = 59.000000000000000000
  248. ExplicitSize.cy = 24.000000000000000000
  249. inline RTextureEdit: TTextureEditFrame
  250. Align = Client
  251. Size.Width = 425.000000000000000000
  252. Size.Height = 271.000000000000000000
  253. Size.PlatformDefault = False
  254. TabOrder = 0
  255. end
  256. end
  257. end
  258. object GroupBox1: TGroupBox
  259. Position.X = 440.000000000000000000
  260. Position.Y = 16.000000000000000000
  261. Size.Width = 241.000000000000000000
  262. Size.Height = 289.000000000000000000
  263. Size.PlatformDefault = False
  264. Text = 'Material Preview'
  265. TabOrder = 1
  266. inline MPPreview: TMaterialPreviewFrame
  267. Position.X = 16.000000000000000000
  268. Position.Y = 28.000000000000000000
  269. Size.Width = 211.000000000000000000
  270. Size.Height = 228.000000000000000000
  271. Size.PlatformDefault = False
  272. TabOrder = 0
  273. inherited LightMaterialSource: TLightMaterialSource
  274. Left = 547
  275. Top = 168
  276. end
  277. inherited World: TDummy
  278. inherited Teapot: TModel3D
  279. Data = {0000}
  280. end
  281. end
  282. inherited Camera: TCamera
  283. Left = 544
  284. Top = 104
  285. end
  286. end
  287. end
  288. object BBOK: TButton
  289. ModalResult = 1
  290. Position.X = 456.000000000000000000
  291. Position.Y = 336.000000000000000000
  292. Size.Width = 80.000000000000000000
  293. Size.Height = 25.000000000000000000
  294. Size.PlatformDefault = False
  295. StyleLookup = 'cornerbuttonstyle'
  296. TabOrder = 7
  297. Text = 'OK'
  298. object ImageOK: TImage
  299. MultiResBitmap.Height = 16
  300. MultiResBitmap.Width = 16
  301. MultiResBitmap.TransparentColor = 32896
  302. MultiResBitmap = <
  303. item
  304. Width = 16
  305. Height = 16
  306. PNG = {
  307. 89504E470D0A1A0A0000000D49484452000000100000001008060000001FF3FF
  308. 61000000017352474200AECE1CE90000000467414D410000B18F0BFC61050000
  309. 007349444154384F9D8F810E802008058D2FA72F379E9A43C7043957BAC95DEB
  310. 2959AA2C211780FCF6E37D40C9E02EB0C9201ED865E6B6C502A6CCCDF5030719
  311. 507B63C8C29101CDA13D129001CD211D09CA80FAE5E08F68D96154B92E21CDE1
  312. EB405D1811473640447E010FCE3920A6E55B4AF900199E3F8185674CC3000000
  313. 0049454E44AE426082}
  314. FileName = 'D:\Library\GLScene\Source\Resources\bitmaps\Done.bmp'
  315. end>
  316. Align = FitLeft
  317. Size.Width = 25.000000000000000000
  318. Size.Height = 25.000000000000000000
  319. Size.PlatformDefault = False
  320. end
  321. end
  322. object BBCancel: TButton
  323. ModalResult = 2
  324. Position.X = 568.000000000000000000
  325. Position.Y = 336.000000000000000000
  326. Size.Width = 80.000000000000000000
  327. Size.Height = 25.000000000000000000
  328. Size.PlatformDefault = False
  329. StyleLookup = 'cornerbuttonstyle'
  330. TabOrder = 8
  331. Text = 'Cancel'
  332. object ImageCancel: TImage
  333. MultiResBitmap.Height = 18
  334. MultiResBitmap.Width = 19
  335. MultiResBitmap.TransparentColor = 32896
  336. MultiResBitmap = <
  337. item
  338. Width = 19
  339. Height = 18
  340. PNG = {
  341. 89504E470D0A1A0A0000000D4948445200000013000000120806000000B90CE5
  342. 69000000017352474200AECE1CE90000000467414D410000B18F0BFC61050000
  343. 00A649444154384FDD93C10E84300844EBFEB8F8E5CAB060201D9A5EF6B22F9A
  344. 52998C5074FC17B75EA237567F647C7C2D84D8B705E42E8F630D26B32C169162
  345. 987386E82B13B4B21715872133D2DCE13BA36C025A41AE8218016A0626C3A031
  346. 026D9BAA3E4E8F77599E19AD6C416B86363DAC7CDBA4B9BD0130C8D92DBFB397
  347. 3CC9805458CC3A2354B0338CE500C208E1345DD2660195E19FB4BB3964D334B9
  348. 0908B7C5BF638C0756E6577F8D03BECA0000000049454E44AE426082}
  349. FileName = 'D:\Library\GLScene\Source\Resources\bitmaps\Cancel1.bmp'
  350. end>
  351. Align = FitLeft
  352. Size.Width = 25.000000000000000000
  353. Size.Height = 25.000000000000000000
  354. Size.PlatformDefault = False
  355. end
  356. end
  357. object Label1: TLabel
  358. Position.X = 24.000000000000000000
  359. Position.Y = 328.000000000000000000
  360. Size.Width = 97.000000000000000000
  361. Size.Height = 17.000000000000000000
  362. Size.PlatformDefault = False
  363. Text = 'Polygon Mode'
  364. end
  365. object Label2: TLabel
  366. Position.X = 24.000000000000000000
  367. Position.Y = 360.000000000000000000
  368. Size.Width = 97.000000000000000000
  369. Size.Height = 17.000000000000000000
  370. Size.PlatformDefault = False
  371. Text = 'Blending Mode'
  372. end
  373. object CBPolygonMode: TComboBox
  374. Position.X = 192.000000000000000000
  375. Position.Y = 320.000000000000000000
  376. Size.Width = 161.000000000000000000
  377. Size.Height = 22.000000000000000000
  378. Size.PlatformDefault = False
  379. TabOrder = 11
  380. OnChange = OnMaterialChanged
  381. end
  382. object CBBlending: TComboBox
  383. Position.X = 192.000000000000000000
  384. Position.Y = 360.000000000000000000
  385. Size.Width = 161.000000000000000000
  386. Size.Height = 22.000000000000000000
  387. Size.PlatformDefault = False
  388. TabOrder = 12
  389. OnChange = OnMaterialChanged
  390. end
  391. end