fShaderLab.dfm 55 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310
  1. object FormShaderLab: TFormShaderLab
  2. Left = 0
  3. Top = 0
  4. Caption = 'FormShaderLab'
  5. ClientHeight = 581
  6. ClientWidth = 950
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. OldCreateOrder = False
  14. Position = poScreenCenter
  15. OnCreate = FormCreate
  16. OnDestroy = FormDestroy
  17. OnResize = FormResize
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object Panel1: TPanel
  21. Left = 0
  22. Top = 0
  23. Width = 353
  24. Height = 581
  25. Align = alLeft
  26. TabOrder = 0
  27. object Label54: TLabel
  28. Left = 148
  29. Top = 502
  30. Width = 32
  31. Height = 13
  32. Caption = 'Object'
  33. end
  34. object PageControl1: TPageControl
  35. Left = 1
  36. Top = 1
  37. Width = 351
  38. Height = 496
  39. ActivePage = TabSheet1
  40. Align = alTop
  41. MultiLine = True
  42. TabOrder = 0
  43. object TabSheet1: TTabSheet
  44. Caption = 'Fur'
  45. object lblFurDistance: TLabel
  46. Left = 3
  47. Top = 53
  48. Width = 55
  49. Height = 13
  50. Caption = 'Fur Length '
  51. end
  52. object Label10: TLabel
  53. Left = 3
  54. Top = 205
  55. Width = 51
  56. Height = 13
  57. Caption = 'Blend Dest'
  58. end
  59. object Label11: TLabel
  60. Left = 3
  61. Top = 179
  62. Width = 44
  63. Height = 13
  64. Caption = 'Blend Src'
  65. end
  66. object lblFurPassCount1: TLabel
  67. Left = 3
  68. Top = 28
  69. Width = 57
  70. Height = 13
  71. Caption = 'Pass Count '
  72. end
  73. object lblFurLength: TLabel
  74. Left = 287
  75. Top = 53
  76. Width = 16
  77. Height = 13
  78. Caption = '0.3'
  79. end
  80. object Label7: TLabel
  81. Left = 3
  82. Top = 75
  83. Width = 59
  84. Height = 13
  85. Caption = 'Max Length '
  86. end
  87. object lblFurMaxLength: TLabel
  88. Left = 287
  89. Top = 76
  90. Width = 16
  91. Height = 13
  92. Caption = '3.0'
  93. end
  94. object lblFurPassCount: TLabel
  95. Left = 287
  96. Top = 28
  97. Width = 12
  98. Height = 13
  99. Caption = '16'
  100. end
  101. object Label12: TLabel
  102. Left = 3
  103. Top = 97
  104. Width = 36
  105. Height = 13
  106. Caption = 'Density'
  107. end
  108. object lblFurDensity: TLabel
  109. Left = 287
  110. Top = 97
  111. Width = 16
  112. Height = 13
  113. Caption = '1.0'
  114. end
  115. object Label6: TLabel
  116. Left = 3
  117. Top = 233
  118. Width = 56
  119. Height = 13
  120. Caption = 'Light Power'
  121. end
  122. object lblFurLightPower: TLabel
  123. Left = 287
  124. Top = 233
  125. Width = 16
  126. Height = 13
  127. Caption = '2.5'
  128. end
  129. object Label8: TLabel
  130. Left = 3
  131. Top = 263
  132. Width = 56
  133. Height = 13
  134. Caption = 'Color Scale '
  135. end
  136. object Label9: TLabel
  137. Left = 3
  138. Top = 285
  139. Width = 67
  140. Height = 13
  141. Caption = 'Ambient Color'
  142. end
  143. object Shape1: TShape
  144. Left = 83
  145. Top = 262
  146. Width = 64
  147. Height = 15
  148. OnMouseDown = Shape1MouseDown
  149. end
  150. object Shape2: TShape
  151. Left = 83
  152. Top = 283
  153. Width = 64
  154. Height = 15
  155. OnMouseDown = Shape2MouseDown
  156. end
  157. object Label63: TLabel
  158. Left = 2
  159. Top = 129
  160. Width = 59
  161. Height = 13
  162. Caption = 'Gravity XYZ '
  163. end
  164. object chkFurShader: TCheckBox
  165. Left = 3
  166. Top = 3
  167. Width = 97
  168. Height = 17
  169. Caption = 'Enabled'
  170. TabOrder = 0
  171. OnClick = chkFurShaderClick
  172. end
  173. object tbFurLength: TTrackBar
  174. Left = 65
  175. Top = 49
  176. Width = 216
  177. Height = 26
  178. Max = 100
  179. Min = 1
  180. PageSize = 10
  181. Frequency = 10
  182. Position = 30
  183. TabOrder = 1
  184. TickStyle = tsNone
  185. OnChange = tbFurLengthChange
  186. end
  187. object cbxFurBlendSrc: TComboBox
  188. Left = 72
  189. Top = 176
  190. Width = 145
  191. Height = 21
  192. Style = csDropDownList
  193. ItemIndex = 3
  194. TabOrder = 2
  195. Text = 'ONE MINUS SRC COLOR'
  196. OnChange = cbxFurBlendSrcChange
  197. Items.Strings = (
  198. 'ZERO'
  199. 'ONE'
  200. 'SRC COLOR'
  201. 'ONE MINUS SRC COLOR'
  202. 'DST COLOR'
  203. 'ONE MINUS DST COLOR'
  204. 'SRC ALPHA'
  205. 'MINUS SRC ALPHA'
  206. 'DST ALPHA'
  207. 'MINUS DST ALPHA'
  208. 'SRC ALPHA SATURATE'
  209. 'CONSTANT COLOR'
  210. 'ONE MINUS CONSTANT COLOR'
  211. 'CONSTANT ALPHA'
  212. 'ONE MINUS CONSTATNT ALPHA')
  213. end
  214. object cbxFurBlendDest: TComboBox
  215. Left = 72
  216. Top = 203
  217. Width = 145
  218. Height = 21
  219. Style = csDropDownList
  220. ItemIndex = 7
  221. TabOrder = 3
  222. Text = 'MINUS SRC ALPHA'
  223. OnChange = cbxFurBlendDestChange
  224. Items.Strings = (
  225. 'ZERO'
  226. 'ONE'
  227. 'SRC COLOR'
  228. 'ONE MINUS SRC COLOR'
  229. 'DST COLOR'
  230. 'ONE MINUS DST COLOR'
  231. 'SRC ALPHA'
  232. 'MINUS SRC ALPHA'
  233. 'DST ALPHA'
  234. 'MINUS DST ALPHA'
  235. 'SRC ALPHA SATURATE'
  236. 'CONSTANT COLOR'
  237. 'ONE MINUS CONSTANT COLOR'
  238. 'CONSTANT ALPHA'
  239. 'ONE MINUS CONSTATNT ALPHA')
  240. end
  241. object tbFurPassCount: TTrackBar
  242. Left = 65
  243. Top = 24
  244. Width = 216
  245. Height = 23
  246. Max = 200
  247. Min = 1
  248. PageSize = 10
  249. Frequency = 8
  250. Position = 16
  251. TabOrder = 4
  252. TickStyle = tsNone
  253. OnChange = tbFurPassCountChange
  254. end
  255. object tbFurMaxLength: TTrackBar
  256. Left = 65
  257. Top = 72
  258. Width = 216
  259. Height = 26
  260. Max = 500
  261. Min = 1
  262. PageSize = 10
  263. Frequency = 10
  264. Position = 300
  265. TabOrder = 5
  266. TickStyle = tsNone
  267. OnChange = tbFurMaxLengthChange
  268. end
  269. object chkFurRandomLength: TCheckBox
  270. Left = 72
  271. Top = 154
  272. Width = 201
  273. Height = 17
  274. Caption = 'Random Fur Length'
  275. TabOrder = 6
  276. OnClick = chkFurRandomLengthClick
  277. end
  278. object tbFurDensity: TTrackBar
  279. Left = 65
  280. Top = 94
  281. Width = 216
  282. Height = 26
  283. Max = 200
  284. Min = 1
  285. PageSize = 10
  286. Frequency = 10
  287. Position = 100
  288. TabOrder = 7
  289. TickStyle = tsNone
  290. OnChange = tbFurDensityChange
  291. end
  292. object tbFurLightPower: TTrackBar
  293. Left = 65
  294. Top = 230
  295. Width = 216
  296. Height = 26
  297. Max = 1000
  298. Min = 1
  299. PageSize = 10
  300. Frequency = 10
  301. Position = 250
  302. TabOrder = 8
  303. TickStyle = tsNone
  304. OnChange = tbFurLightPowerChange
  305. end
  306. object Button8: TButton
  307. Left = 3
  308. Top = 315
  309. Width = 184
  310. Height = 25
  311. Caption = 'Load Main Texture'
  312. TabOrder = 9
  313. OnClick = Button8Click
  314. end
  315. object Button9: TButton
  316. Left = 3
  317. Top = 346
  318. Width = 184
  319. Height = 25
  320. Caption = 'Load Noise Texture'
  321. TabOrder = 10
  322. OnClick = Button9Click
  323. end
  324. object edtFurGravityX: TEdit
  325. Left = 71
  326. Top = 124
  327. Width = 57
  328. Height = 21
  329. TabOrder = 11
  330. Text = '0.0'
  331. OnChange = edtFurGravityXChange
  332. OnKeyPress = EditFloatKeyPress
  333. end
  334. object edtFurGravityY: TEdit
  335. Left = 141
  336. Top = 124
  337. Width = 57
  338. Height = 21
  339. TabOrder = 12
  340. Text = '-2.0'
  341. OnChange = edtFurGravityYChange
  342. OnKeyPress = EditFloatKeyPress
  343. end
  344. object edtFurGravityZ: TEdit
  345. Left = 216
  346. Top = 124
  347. Width = 57
  348. Height = 21
  349. TabOrder = 13
  350. Text = '0.0'
  351. OnChange = edtFurGravityZChange
  352. OnKeyPress = EditFloatKeyPress
  353. end
  354. end
  355. object TabSheet2: TTabSheet
  356. Caption = 'Lattice'
  357. ImageIndex = 1
  358. ExplicitLeft = 0
  359. ExplicitTop = 0
  360. ExplicitWidth = 0
  361. ExplicitHeight = 0
  362. object lblLatticeScaleX: TLabel
  363. Left = 291
  364. Top = 41
  365. Width = 12
  366. Height = 13
  367. Caption = '10'
  368. end
  369. object lblLatticeThresholdX: TLabel
  370. Left = 289
  371. Top = 93
  372. Width = 22
  373. Height = 13
  374. Caption = '0.15'
  375. end
  376. object lblLatticeScaleY: TLabel
  377. Left = 290
  378. Top = 67
  379. Width = 12
  380. Height = 13
  381. Caption = '40'
  382. end
  383. object Label4: TLabel
  384. Left = 16
  385. Top = 147
  386. Width = 74
  387. Height = 13
  388. Caption = 'Specular Power'
  389. end
  390. object Label5: TLabel
  391. Left = 16
  392. Top = 172
  393. Width = 56
  394. Height = 13
  395. Caption = 'Light Power'
  396. end
  397. object lblLatticeThresholdY: TLabel
  398. Left = 290
  399. Top = 118
  400. Width = 22
  401. Height = 13
  402. Caption = '0.30'
  403. end
  404. object lblLatticeSpecularPower: TLabel
  405. Left = 290
  406. Top = 147
  407. Width = 16
  408. Height = 13
  409. Caption = '8.0'
  410. end
  411. object lblLatticeLightPower: TLabel
  412. Left = 290
  413. Top = 173
  414. Width = 16
  415. Height = 13
  416. Caption = '1.0'
  417. end
  418. object Label23: TLabel
  419. Left = 10
  420. Top = 41
  421. Width = 34
  422. Height = 13
  423. Caption = 'Scale X'
  424. end
  425. object Label29: TLabel
  426. Left = 10
  427. Top = 67
  428. Width = 34
  429. Height = 13
  430. Caption = 'Scale Y'
  431. end
  432. object Label31: TLabel
  433. Left = 10
  434. Top = 93
  435. Width = 56
  436. Height = 13
  437. Caption = 'Threshold X'
  438. end
  439. object Label33: TLabel
  440. Left = 10
  441. Top = 122
  442. Width = 56
  443. Height = 13
  444. Caption = 'Threshold Y'
  445. end
  446. object Label35: TLabel
  447. Left = 10
  448. Top = 200
  449. Width = 62
  450. Height = 13
  451. Caption = 'Diffuse Color'
  452. end
  453. object Shape10: TShape
  454. Left = 90
  455. Top = 198
  456. Width = 64
  457. Height = 15
  458. OnMouseDown = Shape10MouseDown
  459. end
  460. object Label38: TLabel
  461. Left = 10
  462. Top = 223
  463. Width = 67
  464. Height = 13
  465. Caption = 'Ambient Color'
  466. end
  467. object Shape11: TShape
  468. Left = 90
  469. Top = 222
  470. Width = 64
  471. Height = 15
  472. Brush.Color = 1381653
  473. OnMouseDown = Shape11MouseDown
  474. end
  475. object Label39: TLabel
  476. Left = 10
  477. Top = 244
  478. Width = 69
  479. Height = 13
  480. Caption = 'Specular Color'
  481. end
  482. object Shape12: TShape
  483. Left = 90
  484. Top = 244
  485. Width = 64
  486. Height = 15
  487. OnMouseDown = Shape12MouseDown
  488. end
  489. object tbLatticeScaleX: TTrackBar
  490. Left = 73
  491. Top = 37
  492. Width = 215
  493. Height = 30
  494. Max = 100
  495. Min = 1
  496. PageSize = 10
  497. Frequency = 10
  498. Position = 10
  499. TabOrder = 0
  500. TickStyle = tsNone
  501. OnChange = tbLatticeScaleXChange
  502. end
  503. object tbLatticeThresholdX: TTrackBar
  504. Left = 73
  505. Top = 89
  506. Width = 215
  507. Height = 27
  508. Max = 100
  509. Min = 1
  510. PageSize = 10
  511. Frequency = 10
  512. Position = 15
  513. TabOrder = 1
  514. TickStyle = tsNone
  515. OnChange = tbLatticeThresholdXChange
  516. end
  517. object chkLatticeShader: TCheckBox
  518. Left = 16
  519. Top = 12
  520. Width = 97
  521. Height = 17
  522. Caption = 'Enabled'
  523. TabOrder = 2
  524. OnClick = chkLatticeShaderClick
  525. end
  526. object tbLatticeScaleY: TTrackBar
  527. Left = 73
  528. Top = 63
  529. Width = 215
  530. Height = 32
  531. Max = 100
  532. Min = 1
  533. PageSize = 10
  534. Frequency = 10
  535. Position = 40
  536. TabOrder = 3
  537. TickStyle = tsNone
  538. OnChange = tbLatticeScaleYChange
  539. end
  540. object tbLatticeThresholdY: TTrackBar
  541. Left = 73
  542. Top = 114
  543. Width = 211
  544. Height = 27
  545. Max = 100
  546. Min = 1
  547. PageSize = 10
  548. Frequency = 10
  549. Position = 30
  550. TabOrder = 4
  551. TickStyle = tsNone
  552. OnChange = tbLatticeThresholdYChange
  553. end
  554. object tbLatticeSpecularPower: TTrackBar
  555. Left = 96
  556. Top = 143
  557. Width = 188
  558. Height = 32
  559. Max = 1000
  560. PageSize = 10
  561. Frequency = 10
  562. Position = 800
  563. TabOrder = 5
  564. TickStyle = tsNone
  565. OnChange = tbLatticeSpecularPowerChange
  566. end
  567. object tbLatticeLightPower: TTrackBar
  568. Left = 96
  569. Top = 166
  570. Width = 188
  571. Height = 32
  572. Max = 500
  573. PageSize = 10
  574. Frequency = 10
  575. Position = 100
  576. TabOrder = 6
  577. TickStyle = tsNone
  578. OnChange = tbLatticeLightPowerChange
  579. end
  580. object Button7: TButton
  581. Left = 16
  582. Top = 275
  583. Width = 184
  584. Height = 25
  585. Caption = 'Load Main Texture'
  586. TabOrder = 7
  587. OnClick = Button3Click
  588. end
  589. end
  590. object TabSheet3: TTabSheet
  591. Caption = 'Erosion'
  592. ImageIndex = 2
  593. ExplicitLeft = 0
  594. ExplicitTop = 0
  595. ExplicitWidth = 0
  596. ExplicitHeight = 0
  597. object Label1: TLabel
  598. Left = 8
  599. Top = 46
  600. Width = 67
  601. Height = 13
  602. Caption = 'Erosion factor'
  603. end
  604. object lblErosionFactor: TLabel
  605. Left = 295
  606. Top = 47
  607. Width = 22
  608. Height = 13
  609. Caption = '0.35'
  610. end
  611. object Label3: TLabel
  612. Left = 8
  613. Top = 79
  614. Width = 63
  615. Height = 13
  616. Caption = 'Erosion Scale'
  617. end
  618. object lblErosionScale: TLabel
  619. Left = 295
  620. Top = 79
  621. Width = 22
  622. Height = 13
  623. Caption = '0.03'
  624. end
  625. object Label25: TLabel
  626. Left = 8
  627. Top = 111
  628. Width = 84
  629. Height = 13
  630. Caption = 'Intensity factor 1'
  631. end
  632. object lblErosionIFactor1: TLabel
  633. Left = 295
  634. Top = 111
  635. Width = 22
  636. Height = 13
  637. Caption = '0.75'
  638. end
  639. object Label28: TLabel
  640. Left = 8
  641. Top = 142
  642. Width = 86
  643. Height = 13
  644. Caption = 'Intensity Factor 2'
  645. end
  646. object lblerosionIFactor2: TLabel
  647. Left = 295
  648. Top = 143
  649. Width = 22
  650. Height = 13
  651. Caption = '1.95'
  652. end
  653. object Label2: TLabel
  654. Left = 8
  655. Top = 200
  656. Width = 71
  657. Height = 13
  658. Caption = 'Ambient factor'
  659. end
  660. object lblErosionAmbientF: TLabel
  661. Left = 295
  662. Top = 200
  663. Width = 22
  664. Height = 13
  665. Caption = '0.80'
  666. end
  667. object Label27: TLabel
  668. Left = 8
  669. Top = 172
  670. Width = 66
  671. Height = 13
  672. Caption = 'Diffuse factor'
  673. end
  674. object lblErosionDiffuseF: TLabel
  675. Left = 295
  676. Top = 173
  677. Width = 22
  678. Height = 13
  679. Caption = '0.90'
  680. end
  681. object Label30: TLabel
  682. Left = 8
  683. Top = 228
  684. Width = 73
  685. Height = 13
  686. Caption = 'Specular factor'
  687. end
  688. object lblErosionSpecularF: TLabel
  689. Left = 295
  690. Top = 228
  691. Width = 22
  692. Height = 13
  693. Caption = '0.90'
  694. end
  695. object Label32: TLabel
  696. Left = 8
  697. Top = 260
  698. Width = 97
  699. Height = 13
  700. Caption = 'Specular Roughness'
  701. end
  702. object lblErosionSpecularR: TLabel
  703. Left = 297
  704. Top = 260
  705. Width = 22
  706. Height = 13
  707. Caption = '0.45'
  708. end
  709. object Label34: TLabel
  710. Left = 8
  711. Top = 292
  712. Width = 109
  713. Height = 13
  714. Caption = 'Anisotropic Roughness'
  715. end
  716. object lblErosionAnisoR: TLabel
  717. Left = 297
  718. Top = 292
  719. Width = 22
  720. Height = 13
  721. Caption = '0.35'
  722. end
  723. object Label36: TLabel
  724. Left = 6
  725. Top = 327
  726. Width = 67
  727. Height = 13
  728. Caption = 'Ambient Color'
  729. end
  730. object Shape8: TShape
  731. Left = 86
  732. Top = 325
  733. Width = 64
  734. Height = 15
  735. Brush.Color = 2105376
  736. OnMouseDown = Shape8MouseDown
  737. end
  738. object Shape9: TShape
  739. Left = 86
  740. Top = 346
  741. Width = 64
  742. Height = 15
  743. Brush.Color = 14540253
  744. OnMouseDown = Shape9MouseDown
  745. end
  746. object Label37: TLabel
  747. Left = 6
  748. Top = 346
  749. Width = 69
  750. Height = 13
  751. Caption = 'Specular Color'
  752. end
  753. object chkErosionShader: TCheckBox
  754. Left = 24
  755. Top = 20
  756. Width = 97
  757. Height = 17
  758. Caption = 'Enabled'
  759. TabOrder = 0
  760. OnClick = chkErosionShaderClick
  761. end
  762. object tbErosionFactor: TTrackBar
  763. Left = 98
  764. Top = 43
  765. Width = 191
  766. Height = 26
  767. Max = 100
  768. Min = 1
  769. PageSize = 10
  770. Frequency = 10
  771. Position = 35
  772. TabOrder = 1
  773. TickStyle = tsNone
  774. OnChange = tbErosionFactorChange
  775. end
  776. object tberosionScale: TTrackBar
  777. Left = 98
  778. Top = 75
  779. Width = 191
  780. Height = 26
  781. Max = 100
  782. Min = 1
  783. PageSize = 10
  784. Frequency = 10
  785. Position = 3
  786. TabOrder = 2
  787. TickStyle = tsNone
  788. OnChange = tberosionScaleChange
  789. end
  790. object tbErosionIFactor1: TTrackBar
  791. Left = 98
  792. Top = 107
  793. Width = 191
  794. Height = 26
  795. Max = 200
  796. Min = 1
  797. PageSize = 10
  798. Frequency = 10
  799. Position = 75
  800. TabOrder = 3
  801. TickStyle = tsNone
  802. OnChange = tbErosionIFactor1Change
  803. end
  804. object tbErosionIFactor2: TTrackBar
  805. Left = 100
  806. Top = 139
  807. Width = 189
  808. Height = 26
  809. Max = 200
  810. Min = 1
  811. PageSize = 10
  812. Frequency = 10
  813. Position = 195
  814. TabOrder = 4
  815. TickStyle = tsNone
  816. OnChange = tbErosionIFactor2Change
  817. end
  818. object tbErosionAmbientF: TTrackBar
  819. Left = 98
  820. Top = 194
  821. Width = 191
  822. Height = 28
  823. Max = 100
  824. PageSize = 10
  825. Frequency = 10
  826. Position = 80
  827. TabOrder = 5
  828. TickStyle = tsNone
  829. OnChange = tbErosionAmbientFChange
  830. end
  831. object tbErosionDiffuseF: TTrackBar
  832. Left = 99
  833. Top = 169
  834. Width = 190
  835. Height = 26
  836. Max = 100
  837. PageSize = 10
  838. Frequency = 10
  839. Position = 90
  840. TabOrder = 6
  841. TickStyle = tsNone
  842. OnChange = tbErosionDiffuseFChange
  843. end
  844. object tbErosionSpecularF: TTrackBar
  845. Left = 98
  846. Top = 224
  847. Width = 191
  848. Height = 26
  849. Max = 100
  850. PageSize = 10
  851. Frequency = 10
  852. Position = 90
  853. TabOrder = 7
  854. TickStyle = tsNone
  855. OnChange = tbErosionSpecularFChange
  856. end
  857. object tbErosionSpecularR: TTrackBar
  858. Left = 111
  859. Top = 256
  860. Width = 180
  861. Height = 26
  862. Max = 500
  863. PageSize = 10
  864. Frequency = 10
  865. Position = 45
  866. TabOrder = 8
  867. TickStyle = tsNone
  868. OnChange = tbErosionSpecularRChange
  869. end
  870. object tbErosionAnisoR: TTrackBar
  871. Left = 123
  872. Top = 288
  873. Width = 166
  874. Height = 26
  875. Max = 500
  876. PageSize = 10
  877. Frequency = 10
  878. Position = 35
  879. TabOrder = 9
  880. TickStyle = tsNone
  881. OnChange = tbErosionAnisoRChange
  882. end
  883. object Button5: TButton
  884. Left = 3
  885. Top = 367
  886. Width = 184
  887. Height = 25
  888. Caption = 'Load Main Texture'
  889. TabOrder = 10
  890. OnClick = Button5Click
  891. end
  892. object Button6: TButton
  893. Left = 3
  894. Top = 398
  895. Width = 184
  896. Height = 25
  897. Caption = 'Load Erosion Texture'
  898. TabOrder = 11
  899. OnClick = Button6Click
  900. end
  901. end
  902. object TabSheet4: TTabSheet
  903. Caption = 'Ivory'
  904. ImageIndex = 3
  905. ExplicitLeft = 0
  906. ExplicitTop = 0
  907. ExplicitWidth = 0
  908. ExplicitHeight = 0
  909. object chkIvoryShader: TCheckBox
  910. Left = 16
  911. Top = 16
  912. Width = 97
  913. Height = 17
  914. Caption = 'Enabled'
  915. TabOrder = 0
  916. OnClick = chkIvoryShaderClick
  917. end
  918. end
  919. object TabSheet5: TTabSheet
  920. Caption = 'Gootch'
  921. ImageIndex = 4
  922. ExplicitLeft = 0
  923. ExplicitTop = 0
  924. ExplicitWidth = 0
  925. ExplicitHeight = 0
  926. object Label13: TLabel
  927. Left = 16
  928. Top = 47
  929. Width = 62
  930. Height = 13
  931. Caption = 'Diffuse Color'
  932. end
  933. object Shape3: TShape
  934. Left = 96
  935. Top = 46
  936. Width = 64
  937. Height = 15
  938. Brush.Color = clSilver
  939. OnMouseDown = Shape3MouseDown
  940. end
  941. object Label14: TLabel
  942. Left = 16
  943. Top = 67
  944. Width = 56
  945. Height = 13
  946. Caption = 'Warm Color'
  947. end
  948. object Shape4: TShape
  949. Left = 96
  950. Top = 67
  951. Width = 64
  952. Height = 15
  953. Brush.Color = clFuchsia
  954. OnMouseDown = Shape4MouseDown
  955. end
  956. object Label15: TLabel
  957. Left = 16
  958. Top = 88
  959. Width = 49
  960. Height = 13
  961. Caption = 'Cool Color'
  962. end
  963. object Shape5: TShape
  964. Left = 96
  965. Top = 88
  966. Width = 64
  967. Height = 15
  968. Brush.Color = 1145343
  969. OnMouseDown = Shape5MouseDown
  970. end
  971. object Label16: TLabel
  972. Left = 16
  973. Top = 110
  974. Width = 67
  975. Height = 13
  976. Caption = 'Ambient Color'
  977. end
  978. object Shape6: TShape
  979. Left = 96
  980. Top = 109
  981. Width = 64
  982. Height = 15
  983. Brush.Color = 3158064
  984. OnMouseDown = Shape6MouseDown
  985. end
  986. object Label17: TLabel
  987. Left = 16
  988. Top = 131
  989. Width = 69
  990. Height = 13
  991. Caption = 'Specular Color'
  992. end
  993. object Shape7: TShape
  994. Left = 96
  995. Top = 130
  996. Width = 64
  997. Height = 15
  998. OnMouseDown = Shape7MouseDown
  999. end
  1000. object Label18: TLabel
  1001. Left = 16
  1002. Top = 163
  1003. Width = 66
  1004. Height = 13
  1005. Caption = 'Diffuse factor'
  1006. end
  1007. object lblGoochDFactor: TLabel
  1008. Left = 303
  1009. Top = 164
  1010. Width = 22
  1011. Height = 13
  1012. Caption = '0.80'
  1013. end
  1014. object Label20: TLabel
  1015. Left = 16
  1016. Top = 195
  1017. Width = 60
  1018. Height = 13
  1019. Caption = 'Warm factor'
  1020. end
  1021. object lblGoochWFactor: TLabel
  1022. Left = 303
  1023. Top = 196
  1024. Width = 22
  1025. Height = 13
  1026. Caption = '0.55'
  1027. end
  1028. object Label22: TLabel
  1029. Left = 16
  1030. Top = 227
  1031. Width = 53
  1032. Height = 13
  1033. Caption = 'Cool factor'
  1034. end
  1035. object lblGoochCFactor: TLabel
  1036. Left = 303
  1037. Top = 228
  1038. Width = 22
  1039. Height = 13
  1040. Caption = '0.30'
  1041. end
  1042. object Label24: TLabel
  1043. Left = 16
  1044. Top = 259
  1045. Width = 71
  1046. Height = 13
  1047. Caption = 'Ambient factor'
  1048. end
  1049. object lblGoochAFactor: TLabel
  1050. Left = 303
  1051. Top = 260
  1052. Width = 16
  1053. Height = 13
  1054. Caption = '1.0'
  1055. end
  1056. object Label26: TLabel
  1057. Left = 16
  1058. Top = 292
  1059. Width = 73
  1060. Height = 13
  1061. Caption = 'Specular factor'
  1062. end
  1063. object lblGoochSFactor: TLabel
  1064. Left = 303
  1065. Top = 292
  1066. Width = 22
  1067. Height = 13
  1068. Caption = '0.90'
  1069. end
  1070. object Label40: TLabel
  1071. Left = 16
  1072. Top = 323
  1073. Width = 55
  1074. Height = 13
  1075. Caption = 'Blend Mode'
  1076. end
  1077. object Label41: TLabel
  1078. Left = 164
  1079. Top = 47
  1080. Width = 27
  1081. Height = 13
  1082. Caption = 'Alpha'
  1083. end
  1084. object lblGoochAlpha: TLabel
  1085. Left = 309
  1086. Top = 47
  1087. Width = 16
  1088. Height = 13
  1089. Caption = '1.0'
  1090. end
  1091. object chkGoochShader: TCheckBox
  1092. Left = 16
  1093. Top = 16
  1094. Width = 97
  1095. Height = 17
  1096. Caption = 'Enabled'
  1097. TabOrder = 0
  1098. OnClick = chkGoochShaderClick
  1099. end
  1100. object tbGoochDFactor: TTrackBar
  1101. Left = 96
  1102. Top = 160
  1103. Width = 201
  1104. Height = 26
  1105. Max = 500
  1106. Min = 1
  1107. PageSize = 10
  1108. Frequency = 10
  1109. Position = 80
  1110. TabOrder = 1
  1111. TickStyle = tsNone
  1112. OnChange = tbGoochDFactorChange
  1113. end
  1114. object tbGoochWFactor: TTrackBar
  1115. Left = 96
  1116. Top = 192
  1117. Width = 201
  1118. Height = 26
  1119. Max = 500
  1120. Min = 1
  1121. PageSize = 10
  1122. Frequency = 10
  1123. Position = 55
  1124. TabOrder = 2
  1125. TickStyle = tsNone
  1126. OnChange = tbGoochWFactorChange
  1127. end
  1128. object tbGoochCFactor: TTrackBar
  1129. Left = 96
  1130. Top = 224
  1131. Width = 201
  1132. Height = 26
  1133. Max = 500
  1134. Min = 1
  1135. PageSize = 10
  1136. Frequency = 10
  1137. Position = 30
  1138. TabOrder = 3
  1139. TickStyle = tsNone
  1140. OnChange = tbGoochCFactorChange
  1141. end
  1142. object tbGoochAFactor: TTrackBar
  1143. Left = 96
  1144. Top = 256
  1145. Width = 201
  1146. Height = 26
  1147. Max = 500
  1148. Min = 1
  1149. PageSize = 10
  1150. Frequency = 10
  1151. Position = 100
  1152. TabOrder = 4
  1153. TickStyle = tsNone
  1154. OnChange = tbGoochAFactorChange
  1155. end
  1156. object tbGoochSFactor: TTrackBar
  1157. Left = 96
  1158. Top = 288
  1159. Width = 201
  1160. Height = 26
  1161. Max = 500
  1162. Min = 1
  1163. PageSize = 10
  1164. Frequency = 10
  1165. Position = 90
  1166. TabOrder = 5
  1167. TickStyle = tsNone
  1168. OnChange = tbGoochSFactorChange
  1169. end
  1170. object cbxGootchBlendMode: TComboBox
  1171. Left = 104
  1172. Top = 320
  1173. Width = 193
  1174. Height = 21
  1175. Style = csDropDownList
  1176. ItemIndex = 0
  1177. TabOrder = 6
  1178. Text = 'Opaque'
  1179. OnChange = cbxGootchBlendModeChange
  1180. Items.Strings = (
  1181. 'Opaque'
  1182. 'Transparency'
  1183. 'Additive'
  1184. 'AlphaTest50'
  1185. 'AlphaTest100'
  1186. 'Modulate'
  1187. 'DestColorOne'
  1188. 'DestAlphaOne')
  1189. end
  1190. object tbGoochAlpha: TTrackBar
  1191. Left = 196
  1192. Top = 44
  1193. Width = 114
  1194. Height = 26
  1195. Max = 100
  1196. PageSize = 10
  1197. Frequency = 10
  1198. Position = 100
  1199. TabOrder = 7
  1200. TickStyle = tsNone
  1201. OnChange = tbGoochAlphaChange
  1202. end
  1203. end
  1204. object TabSheet6: TTabSheet
  1205. Caption = 'S.E.M'
  1206. ImageIndex = 5
  1207. ExplicitLeft = 0
  1208. ExplicitTop = 0
  1209. ExplicitWidth = 0
  1210. ExplicitHeight = 0
  1211. object Label19: TLabel
  1212. Left = 16
  1213. Top = 44
  1214. Width = 66
  1215. Height = 13
  1216. Caption = 'Diffuse factor'
  1217. end
  1218. object lblSemDiffuseF: TLabel
  1219. Left = 303
  1220. Top = 45
  1221. Width = 22
  1222. Height = 13
  1223. Caption = '0.90'
  1224. end
  1225. object Label42: TLabel
  1226. Left = 16
  1227. Top = 72
  1228. Width = 71
  1229. Height = 13
  1230. Caption = 'Ambient factor'
  1231. end
  1232. object lblSemAmbientF: TLabel
  1233. Left = 303
  1234. Top = 71
  1235. Width = 22
  1236. Height = 13
  1237. Caption = '0.80'
  1238. end
  1239. object Label44: TLabel
  1240. Left = 16
  1241. Top = 100
  1242. Width = 73
  1243. Height = 13
  1244. Caption = 'Specular factor'
  1245. end
  1246. object lblSemSpecularF: TLabel
  1247. Left = 303
  1248. Top = 100
  1249. Width = 22
  1250. Height = 13
  1251. Caption = '0.90'
  1252. end
  1253. object Label46: TLabel
  1254. Left = 14
  1255. Top = 130
  1256. Width = 67
  1257. Height = 13
  1258. Caption = 'Ambient Color'
  1259. end
  1260. object Shape13: TShape
  1261. Left = 94
  1262. Top = 128
  1263. Width = 64
  1264. Height = 15
  1265. Brush.Color = 2105376
  1266. OnMouseDown = Shape13MouseDown
  1267. end
  1268. object Label47: TLabel
  1269. Left = 14
  1270. Top = 149
  1271. Width = 69
  1272. Height = 13
  1273. Caption = 'Specular Color'
  1274. end
  1275. object Shape14: TShape
  1276. Left = 94
  1277. Top = 149
  1278. Width = 64
  1279. Height = 15
  1280. Brush.Color = 14540253
  1281. OnMouseDown = Shape14MouseDown
  1282. end
  1283. object tbSemDiffuseF: TTrackBar
  1284. Left = 107
  1285. Top = 39
  1286. Width = 190
  1287. Height = 26
  1288. Max = 100
  1289. PageSize = 10
  1290. Frequency = 10
  1291. Position = 90
  1292. TabOrder = 0
  1293. TickStyle = tsNone
  1294. OnChange = tbSemDiffuseFChange
  1295. end
  1296. object tbSemAmbientF: TTrackBar
  1297. Left = 106
  1298. Top = 66
  1299. Width = 191
  1300. Height = 28
  1301. Max = 100
  1302. PageSize = 10
  1303. Frequency = 10
  1304. Position = 80
  1305. TabOrder = 1
  1306. TickStyle = tsNone
  1307. OnChange = tbSemAmbientFChange
  1308. end
  1309. object tbSemSpecularF: TTrackBar
  1310. Left = 106
  1311. Top = 96
  1312. Width = 191
  1313. Height = 26
  1314. Max = 100
  1315. PageSize = 10
  1316. Frequency = 10
  1317. Position = 90
  1318. TabOrder = 2
  1319. TickStyle = tsNone
  1320. OnChange = tbSemSpecularFChange
  1321. end
  1322. object chkSEMShader: TCheckBox
  1323. Left = 24
  1324. Top = 16
  1325. Width = 97
  1326. Height = 17
  1327. Caption = 'Enabled'
  1328. TabOrder = 3
  1329. OnClick = chkSEMShaderClick
  1330. end
  1331. object Button4: TButton
  1332. Left = 16
  1333. Top = 179
  1334. Width = 184
  1335. Height = 25
  1336. Caption = 'Load MatCap Texture'
  1337. TabOrder = 4
  1338. OnClick = Button4Click
  1339. end
  1340. end
  1341. object Displacement: TTabSheet
  1342. Caption = 'Displacement'
  1343. ImageIndex = 6
  1344. ExplicitLeft = 0
  1345. ExplicitTop = 0
  1346. ExplicitWidth = 0
  1347. ExplicitHeight = 0
  1348. object Label21: TLabel
  1349. Left = 24
  1350. Top = 52
  1351. Width = 66
  1352. Height = 13
  1353. Caption = 'Diffuse factor'
  1354. end
  1355. object Label43: TLabel
  1356. Left = 24
  1357. Top = 80
  1358. Width = 71
  1359. Height = 13
  1360. Caption = 'Ambient factor'
  1361. end
  1362. object Label45: TLabel
  1363. Left = 24
  1364. Top = 108
  1365. Width = 73
  1366. Height = 13
  1367. Caption = 'Specular factor'
  1368. end
  1369. object lblVDSpecularF: TLabel
  1370. Left = 311
  1371. Top = 108
  1372. Width = 22
  1373. Height = 13
  1374. Caption = '0.90'
  1375. end
  1376. object lblVDAmbientF: TLabel
  1377. Left = 311
  1378. Top = 79
  1379. Width = 22
  1380. Height = 13
  1381. Caption = '0.80'
  1382. end
  1383. object lblVDDiffuseF: TLabel
  1384. Left = 311
  1385. Top = 53
  1386. Width = 22
  1387. Height = 13
  1388. Caption = '0.90'
  1389. end
  1390. object Label51: TLabel
  1391. Left = 22
  1392. Top = 138
  1393. Width = 67
  1394. Height = 13
  1395. Caption = 'Ambient Color'
  1396. end
  1397. object Shape15: TShape
  1398. Left = 102
  1399. Top = 136
  1400. Width = 64
  1401. Height = 15
  1402. Brush.Color = 2105376
  1403. OnMouseDown = Shape13MouseDown
  1404. end
  1405. object Label52: TLabel
  1406. Left = 22
  1407. Top = 157
  1408. Width = 69
  1409. Height = 13
  1410. Caption = 'Specular Color'
  1411. end
  1412. object Shape16: TShape
  1413. Left = 102
  1414. Top = 157
  1415. Width = 64
  1416. Height = 15
  1417. Brush.Color = 14540253
  1418. OnMouseDown = Shape14MouseDown
  1419. end
  1420. object Label48: TLabel
  1421. Left = 22
  1422. Top = 188
  1423. Width = 26
  1424. Height = 13
  1425. Caption = 'Noise'
  1426. end
  1427. object lblVDNoise: TLabel
  1428. Left = 311
  1429. Top = 188
  1430. Width = 22
  1431. Height = 13
  1432. Caption = '10.0'
  1433. end
  1434. object Label49: TLabel
  1435. Left = 22
  1436. Top = 211
  1437. Width = 30
  1438. Height = 13
  1439. Caption = 'Period'
  1440. end
  1441. object lblVDPeriod: TLabel
  1442. Left = 311
  1443. Top = 211
  1444. Width = 16
  1445. Height = 13
  1446. Caption = '5.0'
  1447. end
  1448. object Label53: TLabel
  1449. Left = 22
  1450. Top = 236
  1451. Width = 54
  1452. Height = 13
  1453. Caption = 'Noise Scale'
  1454. end
  1455. object lblVDNScale: TLabel
  1456. Left = 311
  1457. Top = 237
  1458. Width = 22
  1459. Height = 13
  1460. Caption = '0.05'
  1461. end
  1462. object Label55: TLabel
  1463. Left = 22
  1464. Top = 260
  1465. Width = 53
  1466. Height = 13
  1467. Caption = 'Turbulence'
  1468. end
  1469. object lblVDTurb: TLabel
  1470. Left = 311
  1471. Top = 261
  1472. Width = 16
  1473. Height = 13
  1474. Caption = '0.5'
  1475. end
  1476. object Label57: TLabel
  1477. Left = 22
  1478. Top = 284
  1479. Width = 91
  1480. Height = 13
  1481. Caption = 'Displacement Scale'
  1482. end
  1483. object lblVDDispScale: TLabel
  1484. Left = 311
  1485. Top = 284
  1486. Width = 16
  1487. Height = 13
  1488. Caption = '1.0'
  1489. end
  1490. object Label50: TLabel
  1491. Left = 22
  1492. Top = 307
  1493. Width = 56
  1494. Height = 13
  1495. Caption = 'Time Factor'
  1496. end
  1497. object lblVDTimeF: TLabel
  1498. Left = 311
  1499. Top = 307
  1500. Width = 22
  1501. Height = 13
  1502. Caption = '0.05'
  1503. end
  1504. object chkVDShader: TCheckBox
  1505. Left = 32
  1506. Top = 24
  1507. Width = 97
  1508. Height = 17
  1509. Caption = 'Enabled'
  1510. TabOrder = 0
  1511. OnClick = chkVDShaderClick
  1512. end
  1513. object tbVDDiffuseF: TTrackBar
  1514. Left = 115
  1515. Top = 47
  1516. Width = 190
  1517. Height = 26
  1518. Max = 100
  1519. PageSize = 10
  1520. Frequency = 10
  1521. Position = 90
  1522. TabOrder = 1
  1523. TickStyle = tsNone
  1524. OnChange = tbVDDiffuseFChange
  1525. end
  1526. object tbVDAmbientF: TTrackBar
  1527. Left = 114
  1528. Top = 74
  1529. Width = 191
  1530. Height = 28
  1531. Max = 100
  1532. PageSize = 10
  1533. Frequency = 10
  1534. Position = 80
  1535. TabOrder = 2
  1536. TickStyle = tsNone
  1537. OnChange = tbVDAmbientFChange
  1538. end
  1539. object tbVDSpecularF: TTrackBar
  1540. Left = 114
  1541. Top = 104
  1542. Width = 191
  1543. Height = 26
  1544. Max = 100
  1545. PageSize = 10
  1546. Frequency = 10
  1547. Position = 90
  1548. TabOrder = 3
  1549. TickStyle = tsNone
  1550. OnChange = tbVDSpecularFChange
  1551. end
  1552. object chkVDAnimate: TCheckBox
  1553. Left = 128
  1554. Top = 24
  1555. Width = 97
  1556. Height = 17
  1557. Caption = 'Animate'
  1558. TabOrder = 4
  1559. end
  1560. object tbVDNoise: TTrackBar
  1561. Left = 114
  1562. Top = 184
  1563. Width = 191
  1564. Height = 26
  1565. Max = 5000
  1566. PageSize = 10
  1567. Frequency = 10
  1568. Position = 1000
  1569. TabOrder = 5
  1570. TickStyle = tsNone
  1571. OnChange = tbVDNoiseChange
  1572. end
  1573. object tbVDPeriod: TTrackBar
  1574. Left = 114
  1575. Top = 207
  1576. Width = 191
  1577. Height = 26
  1578. Max = 500
  1579. PageSize = 10
  1580. Frequency = 10
  1581. Position = 500
  1582. TabOrder = 6
  1583. TickStyle = tsNone
  1584. OnChange = tbVDPeriodChange
  1585. end
  1586. object tbVDNScale: TTrackBar
  1587. Left = 114
  1588. Top = 230
  1589. Width = 191
  1590. Height = 26
  1591. Max = 100
  1592. PageSize = 10
  1593. Frequency = 10
  1594. Position = 5
  1595. TabOrder = 7
  1596. TickStyle = tsNone
  1597. OnChange = tbVDNScaleChange
  1598. end
  1599. object tbVDTurb: TTrackBar
  1600. Left = 114
  1601. Top = 256
  1602. Width = 191
  1603. Height = 26
  1604. Max = 200
  1605. PageSize = 10
  1606. Frequency = 10
  1607. Position = 50
  1608. TabOrder = 8
  1609. TickStyle = tsNone
  1610. OnChange = tbVDTurbChange
  1611. end
  1612. object tbVDDispScale: TTrackBar
  1613. Left = 114
  1614. Top = 280
  1615. Width = 191
  1616. Height = 26
  1617. Max = 1000
  1618. PageSize = 10
  1619. Frequency = 10
  1620. Position = 100
  1621. TabOrder = 9
  1622. TickStyle = tsNone
  1623. OnChange = tbVDDispScaleChange
  1624. end
  1625. object tbVDTimeF: TTrackBar
  1626. Left = 114
  1627. Top = 303
  1628. Width = 191
  1629. Height = 26
  1630. Max = 1000
  1631. PageSize = 10
  1632. Frequency = 10
  1633. Position = 5
  1634. TabOrder = 10
  1635. TickStyle = tsNone
  1636. OnChange = tbVDTimeFChange
  1637. end
  1638. object Button3: TButton
  1639. Left = 16
  1640. Top = 344
  1641. Width = 113
  1642. Height = 25
  1643. Caption = 'Reset Time'
  1644. TabOrder = 11
  1645. OnClick = Button3Click
  1646. end
  1647. object Button1: TButton
  1648. Left = 16
  1649. Top = 375
  1650. Width = 184
  1651. Height = 25
  1652. Caption = 'Load Main Texture'
  1653. TabOrder = 12
  1654. OnClick = Button1Click
  1655. end
  1656. end
  1657. object TabSheet7: TTabSheet
  1658. Caption = 'Glass'
  1659. ImageIndex = 7
  1660. ExplicitLeft = 0
  1661. ExplicitTop = 0
  1662. ExplicitWidth = 0
  1663. ExplicitHeight = 0
  1664. object Label56: TLabel
  1665. Left = 11
  1666. Top = 36
  1667. Width = 29
  1668. Height = 13
  1669. Caption = 'Depth'
  1670. end
  1671. object Label58: TLabel
  1672. Left = 24
  1673. Top = 66
  1674. Width = 16
  1675. Height = 13
  1676. Caption = 'Mix'
  1677. end
  1678. object Label59: TLabel
  1679. Left = 14
  1680. Top = 146
  1681. Width = 62
  1682. Height = 13
  1683. Caption = 'Diffuse Color'
  1684. end
  1685. object Shape17: TShape
  1686. Left = 87
  1687. Top = 145
  1688. Width = 64
  1689. Height = 15
  1690. Brush.Color = 2105376
  1691. OnMouseDown = Shape17MouseDown
  1692. end
  1693. object lblGlassDepth: TLabel
  1694. Left = 285
  1695. Top = 36
  1696. Width = 16
  1697. Height = 13
  1698. Caption = '0.1'
  1699. end
  1700. object lblGlassMix: TLabel
  1701. Left = 283
  1702. Top = 66
  1703. Width = 16
  1704. Height = 13
  1705. Caption = '1.0'
  1706. end
  1707. object Label60: TLabel
  1708. Left = 10
  1709. Top = 99
  1710. Width = 27
  1711. Height = 13
  1712. Caption = 'Alpha'
  1713. end
  1714. object lblGlassAlpha: TLabel
  1715. Left = 282
  1716. Top = 99
  1717. Width = 16
  1718. Height = 13
  1719. Caption = '1.0'
  1720. end
  1721. object Label61: TLabel
  1722. Left = 18
  1723. Top = 179
  1724. Width = 44
  1725. Height = 13
  1726. Caption = 'Blend Src'
  1727. end
  1728. object Label62: TLabel
  1729. Left = 18
  1730. Top = 205
  1731. Width = 51
  1732. Height = 13
  1733. Caption = 'Blend Dest'
  1734. end
  1735. object tbGlassDepth: TTrackBar
  1736. Left = 46
  1737. Top = 33
  1738. Width = 235
  1739. Height = 26
  1740. Max = 100
  1741. PageSize = 10
  1742. Frequency = 10
  1743. Position = 10
  1744. TabOrder = 0
  1745. TickStyle = tsNone
  1746. OnChange = tbGlassDepthChange
  1747. end
  1748. object tbGlassMix: TTrackBar
  1749. Left = 45
  1750. Top = 62
  1751. Width = 236
  1752. Height = 28
  1753. Max = 200
  1754. PageSize = 10
  1755. Frequency = 10
  1756. Position = 100
  1757. TabOrder = 1
  1758. TickStyle = tsNone
  1759. OnChange = tbGlassMixChange
  1760. end
  1761. object Button10: TButton
  1762. Left = 3
  1763. Top = 254
  1764. Width = 184
  1765. Height = 25
  1766. Caption = 'Load Refraction Texture'
  1767. TabOrder = 2
  1768. OnClick = Button10Click
  1769. end
  1770. object chkGlassShader: TCheckBox
  1771. Left = 24
  1772. Top = 8
  1773. Width = 97
  1774. Height = 17
  1775. Caption = 'Enabled'
  1776. TabOrder = 3
  1777. OnClick = chkGlassShaderClick
  1778. end
  1779. object tbGlassAlpha: TTrackBar
  1780. Left = 45
  1781. Top = 96
  1782. Width = 235
  1783. Height = 26
  1784. Max = 100
  1785. PageSize = 10
  1786. Frequency = 10
  1787. Position = 100
  1788. TabOrder = 4
  1789. TickStyle = tsNone
  1790. OnChange = tbGlassAlphaChange
  1791. end
  1792. object cbxGlassBlendSrc: TComboBox
  1793. Left = 87
  1794. Top = 176
  1795. Width = 145
  1796. Height = 21
  1797. Style = csDropDownList
  1798. ItemIndex = 6
  1799. TabOrder = 5
  1800. Text = 'SRC ALPHA'
  1801. OnChange = cbxGlassBlendSrcChange
  1802. Items.Strings = (
  1803. 'ZERO'
  1804. 'ONE'
  1805. 'SRC COLOR'
  1806. 'ONE MINUS SRC COLOR'
  1807. 'DST COLOR'
  1808. 'ONE MINUS DST COLOR'
  1809. 'SRC ALPHA'
  1810. 'MINUS SRC ALPHA'
  1811. 'DST ALPHA'
  1812. 'MINUS DST ALPHA'
  1813. 'SRC ALPHA SATURATE'
  1814. 'CONSTANT COLOR'
  1815. 'ONE MINUS CONSTANT COLOR'
  1816. 'CONSTANT ALPHA'
  1817. 'ONE MINUS CONSTATNT ALPHA')
  1818. end
  1819. object cbxGlassBlendDst: TComboBox
  1820. Left = 87
  1821. Top = 203
  1822. Width = 145
  1823. Height = 21
  1824. Style = csDropDownList
  1825. ItemIndex = 8
  1826. TabOrder = 6
  1827. Text = 'DST ALPHA'
  1828. OnChange = cbxGlassBlendDstChange
  1829. Items.Strings = (
  1830. 'ZERO'
  1831. 'ONE'
  1832. 'SRC COLOR'
  1833. 'ONE MINUS SRC COLOR'
  1834. 'DST COLOR'
  1835. 'ONE MINUS DST COLOR'
  1836. 'SRC ALPHA'
  1837. 'MINUS SRC ALPHA'
  1838. 'DST ALPHA'
  1839. 'MINUS DST ALPHA'
  1840. 'SRC ALPHA SATURATE'
  1841. 'CONSTANT COLOR'
  1842. 'ONE MINUS CONSTANT COLOR'
  1843. 'CONSTANT ALPHA'
  1844. 'ONE MINUS CONSTATNT ALPHA')
  1845. end
  1846. end
  1847. object TabSheet8: TTabSheet
  1848. Caption = 'Toon'
  1849. ImageIndex = 8
  1850. ExplicitLeft = 0
  1851. ExplicitTop = 0
  1852. ExplicitWidth = 0
  1853. ExplicitHeight = 0
  1854. object Label64: TLabel
  1855. Left = 7
  1856. Top = 51
  1857. Width = 66
  1858. Height = 13
  1859. Caption = 'HighLight Size'
  1860. end
  1861. object lblToonHighlightSize: TLabel
  1862. Left = 290
  1863. Top = 51
  1864. Width = 22
  1865. Height = 13
  1866. Caption = '0.95'
  1867. end
  1868. object Label66: TLabel
  1869. Left = 7
  1870. Top = 73
  1871. Width = 38
  1872. Height = 13
  1873. Caption = 'Mid Size'
  1874. end
  1875. object lblToonMidSize: TLabel
  1876. Left = 290
  1877. Top = 73
  1878. Width = 16
  1879. Height = 13
  1880. Caption = '0.5'
  1881. end
  1882. object Label68: TLabel
  1883. Left = 7
  1884. Top = 95
  1885. Width = 60
  1886. Height = 13
  1887. Caption = 'Shadow Size'
  1888. end
  1889. object lblToonShadowSize: TLabel
  1890. Left = 290
  1891. Top = 95
  1892. Width = 22
  1893. Height = 13
  1894. Caption = '0.25'
  1895. end
  1896. object Label70: TLabel
  1897. Left = 7
  1898. Top = 117
  1899. Width = 65
  1900. Height = 13
  1901. Caption = 'Outline Width'
  1902. end
  1903. object lblToonOutlineWidth: TLabel
  1904. Left = 290
  1905. Top = 117
  1906. Width = 22
  1907. Height = 13
  1908. Caption = '0.25'
  1909. end
  1910. object Label72: TLabel
  1911. Left = 8
  1912. Top = 146
  1913. Width = 69
  1914. Height = 13
  1915. Caption = 'Highlight Color'
  1916. end
  1917. object Shape18: TShape
  1918. Left = 118
  1919. Top = 146
  1920. Width = 64
  1921. Height = 15
  1922. Brush.Color = 15658734
  1923. OnMouseDown = Shape18MouseDown
  1924. end
  1925. object Label73: TLabel
  1926. Left = 8
  1927. Top = 167
  1928. Width = 44
  1929. Height = 13
  1930. Caption = 'Mid Color'
  1931. end
  1932. object Shape19: TShape
  1933. Left = 118
  1934. Top = 167
  1935. Width = 64
  1936. Height = 15
  1937. Brush.Color = 13421772
  1938. OnMouseDown = Shape19MouseDown
  1939. end
  1940. object Label74: TLabel
  1941. Left = 8
  1942. Top = 188
  1943. Width = 104
  1944. Height = 13
  1945. Caption = 'Lighten Shadow Color'
  1946. end
  1947. object Shape20: TShape
  1948. Left = 118
  1949. Top = 188
  1950. Width = 64
  1951. Height = 15
  1952. Brush.Color = clGray
  1953. OnMouseDown = Shape20MouseDown
  1954. end
  1955. object Label75: TLabel
  1956. Left = 8
  1957. Top = 209
  1958. Width = 103
  1959. Height = 13
  1960. Caption = 'Darken Shadow Color'
  1961. end
  1962. object Shape21: TShape
  1963. Left = 118
  1964. Top = 209
  1965. Width = 64
  1966. Height = 15
  1967. Brush.Color = 3158064
  1968. OnMouseDown = Shape21MouseDown
  1969. end
  1970. object Label76: TLabel
  1971. Left = 7
  1972. Top = 230
  1973. Width = 62
  1974. Height = 13
  1975. Caption = 'Outline Color'
  1976. end
  1977. object Shape22: TShape
  1978. Left = 118
  1979. Top = 230
  1980. Width = 64
  1981. Height = 15
  1982. Brush.Color = clBlack
  1983. OnMouseDown = Shape22MouseDown
  1984. end
  1985. object chkToonShader: TCheckBox
  1986. Left = 8
  1987. Top = 16
  1988. Width = 97
  1989. Height = 17
  1990. Caption = 'Enabled'
  1991. TabOrder = 0
  1992. OnClick = chkToonShaderClick
  1993. end
  1994. object tbToonHighlightSize: TTrackBar
  1995. Left = 75
  1996. Top = 48
  1997. Width = 213
  1998. Height = 26
  1999. Max = 100
  2000. PageSize = 10
  2001. Frequency = 10
  2002. Position = 95
  2003. TabOrder = 1
  2004. TickStyle = tsNone
  2005. OnChange = tbToonHighlightSizeChange
  2006. end
  2007. object tbToonMidSize: TTrackBar
  2008. Left = 75
  2009. Top = 70
  2010. Width = 213
  2011. Height = 26
  2012. Max = 100
  2013. PageSize = 10
  2014. Frequency = 10
  2015. Position = 50
  2016. TabOrder = 2
  2017. TickStyle = tsNone
  2018. OnChange = tbToonMidSizeChange
  2019. end
  2020. object tbToonShadowSize: TTrackBar
  2021. Left = 75
  2022. Top = 92
  2023. Width = 213
  2024. Height = 26
  2025. Max = 100
  2026. PageSize = 10
  2027. Frequency = 10
  2028. Position = 25
  2029. TabOrder = 3
  2030. TickStyle = tsNone
  2031. OnChange = tbToonShadowSizeChange
  2032. end
  2033. object tbToonOutlineWidth: TTrackBar
  2034. Left = 75
  2035. Top = 114
  2036. Width = 213
  2037. Height = 26
  2038. Max = 100
  2039. PageSize = 10
  2040. Frequency = 10
  2041. Position = 25
  2042. TabOrder = 4
  2043. TickStyle = tsNone
  2044. OnChange = tbToonOutlineWidthChange
  2045. end
  2046. end
  2047. end
  2048. object chkAnimScene: TCheckBox
  2049. Left = 13
  2050. Top = 499
  2051. Width = 97
  2052. Height = 17
  2053. Caption = 'Animate Scene'
  2054. TabOrder = 1
  2055. end
  2056. object chkLightmoving: TCheckBox
  2057. Left = 13
  2058. Top = 522
  2059. Width = 97
  2060. Height = 17
  2061. Caption = 'Light moving'
  2062. TabOrder = 2
  2063. end
  2064. object cbxObjects: TComboBox
  2065. Left = 187
  2066. Top = 497
  2067. Width = 145
  2068. Height = 21
  2069. Style = csDropDownList
  2070. ItemIndex = 0
  2071. TabOrder = 3
  2072. Text = 'Suzanne'
  2073. OnChange = cbxObjectsChange
  2074. Items.Strings = (
  2075. 'Suzanne'
  2076. 'Knot'
  2077. 'Spoutnik'
  2078. 'Rectangle Spirale'
  2079. 'Geode'
  2080. 'Syamil'
  2081. 'GLTorus'
  2082. 'GLSphere')
  2083. end
  2084. object Button2: TButton
  2085. Left = 148
  2086. Top = 524
  2087. Width = 184
  2088. Height = 25
  2089. Caption = 'Choose Background Color'
  2090. TabOrder = 4
  2091. OnClick = Button2Click
  2092. end
  2093. object chkBackgroundImg: TCheckBox
  2094. Left = 128
  2095. Top = 555
  2096. Width = 14
  2097. Height = 17
  2098. Hint = 'Show Background Texture'
  2099. TabOrder = 5
  2100. OnClick = chkBackgroundImgClick
  2101. end
  2102. object Button11: TButton
  2103. Left = 148
  2104. Top = 551
  2105. Width = 184
  2106. Height = 25
  2107. Caption = 'Load Background Texture'
  2108. Enabled = False
  2109. TabOrder = 6
  2110. OnClick = Button11Click
  2111. end
  2112. end
  2113. object Viewer: TGLSceneViewer
  2114. Left = 353
  2115. Top = 0
  2116. Width = 597
  2117. Height = 581
  2118. Camera = Camera
  2119. Buffer.BackgroundColor = clBlack
  2120. Buffer.AntiAliasing = aa2x
  2121. FieldOfView = 160.468215942382800000
  2122. PenAsTouch = False
  2123. Align = alClient
  2124. TabOrder = 1
  2125. end
  2126. object MaterialLibrary: TGLMaterialLibrary
  2127. Materials = <
  2128. item
  2129. Name = 'MainTexture'
  2130. Tag = 0
  2131. Material.BackProperties.Shininess = 10
  2132. Material.FrontProperties.Shininess = 10
  2133. Material.FrontProperties.Specular.Color = {9998983E9998983E9998983E0000803F}
  2134. Material.BlendingMode = bmTransparency
  2135. Material.Texture.TextureMode = tmModulate
  2136. Material.Texture.Disabled = False
  2137. end
  2138. item
  2139. Name = 'NoiseTexture'
  2140. Tag = 0
  2141. Material.Texture.Disabled = False
  2142. end
  2143. item
  2144. Name = 'ShaderMaterial'
  2145. Tag = 0
  2146. Material.FrontProperties.Emission.Color = {77BE9F3D7368913D2506813D0000803F}
  2147. Material.FrontProperties.Specular.Color = {B6F35D3F6DE75B3F6DE75B3F0000803F}
  2148. Material.Texture.TextureMode = tmModulate
  2149. Material.Texture.Disabled = False
  2150. Material.Texture.KeepImageAfterTransfer = True
  2151. end
  2152. item
  2153. Name = 'ErosionNoiseTexture'
  2154. Tag = 0
  2155. Material.Texture.Disabled = False
  2156. end
  2157. item
  2158. Name = 'ErosionMainTexture'
  2159. Tag = 0
  2160. Material.BlendingMode = bmModulate
  2161. Material.Texture.Disabled = False
  2162. end
  2163. item
  2164. Name = 'ErosionTexture'
  2165. Tag = 0
  2166. Material.BlendingMode = bmModulate
  2167. Material.Texture.Disabled = False
  2168. end
  2169. item
  2170. Name = 'MatCapTexture'
  2171. Tag = 0
  2172. Material.Texture.Disabled = False
  2173. end
  2174. item
  2175. Name = 'ExplosionTexture'
  2176. Tag = 0
  2177. Material.Texture.Disabled = False
  2178. end
  2179. item
  2180. Name = 'EnvMap'
  2181. Tag = 0
  2182. Material.Texture.ImageClassName = 'TGLBlankImage'
  2183. Material.Texture.Image.ColorFormat = 6408
  2184. Material.Texture.Disabled = False
  2185. end
  2186. item
  2187. Name = 'RefractMap'
  2188. Tag = 0
  2189. Material.Texture.Disabled = False
  2190. end
  2191. item
  2192. Name = 'BackgroundTex'
  2193. Tag = 0
  2194. Material.Texture.Disabled = False
  2195. end
  2196. item
  2197. Name = 'LibMaterial'
  2198. Tag = 0
  2199. end>
  2200. Left = 416
  2201. Top = 24
  2202. end
  2203. object GLScene1: TGLScene
  2204. Left = 440
  2205. Top = 88
  2206. object Camera: TGLCamera
  2207. DepthOfView = 100.000000000000000000
  2208. FocalLength = 50.000000000000000000
  2209. NearPlaneBias = 0.001000000047497451
  2210. TargetObject = World
  2211. CameraStyle = csInfinitePerspective
  2212. Position.Coordinates = {0000A0400000A0410000C8420000803F}
  2213. end
  2214. object LightCube: TGLDummyCube
  2215. Position.Coordinates = {000096C30000A040000096430000803F}
  2216. OnProgress = LightCubeProgress
  2217. CubeSize = 1.000000000000000000
  2218. object GLLightSource1: TGLLightSource
  2219. ConstAttenuation = 1.000000000000000000
  2220. LightStyle = lsOmni
  2221. SpotCutOff = 180.000000000000000000
  2222. end
  2223. end
  2224. object LightCube2: TGLDummyCube
  2225. Position.Coordinates = {000096430000C842000096430000803F}
  2226. OnProgress = LightCube2Progress
  2227. CubeSize = 1.000000000000000000
  2228. object GLLightSource2: TGLLightSource
  2229. Ambient.Color = {CDCCCC3DCDCCCC3DCDCCCC3D0000803F}
  2230. ConstAttenuation = 1.000000000000000000
  2231. Diffuse.Color = {EAEA6A3FEAEA6A3FA7AD2D3F0000803F}
  2232. LightStyle = lsParallel
  2233. Specular.Color = {0000803F0000003F0000003F0000803F}
  2234. SpotCutOff = 180.000000000000000000
  2235. end
  2236. end
  2237. object World: TGLDummyCube
  2238. CubeSize = 1.000000000000000000
  2239. object ScreenBackGround: TGLHUDSprite
  2240. Material.MaterialLibrary = MaterialLibrary
  2241. Material.LibMaterialName = 'BackgroundTex'
  2242. Visible = False
  2243. Width = 256.000000000000000000
  2244. Height = 256.000000000000000000
  2245. Rotation = 0.000000000000000000
  2246. end
  2247. object Objects: TGLDummyCube
  2248. CubeSize = 1.000000000000000000
  2249. object GLSphere1: TGLSphere
  2250. Material.MaterialLibrary = MaterialLibrary
  2251. Material.LibMaterialName = 'ShaderMaterial'
  2252. Visible = False
  2253. Radius = 45.000000000000000000
  2254. Slices = 64
  2255. Stacks = 64
  2256. end
  2257. object FreeForm: TGLFreeForm
  2258. AutoCentering = [macCenterX, macCenterY, macCenterZ, macUseBarycenter]
  2259. AutoScaling.Coordinates = {0000484200004842000048420000803F}
  2260. end
  2261. object GLTorus1: TGLTorus
  2262. Visible = False
  2263. MajorRadius = 40.000000000000000000
  2264. MinorRadius = 15.000000000000000000
  2265. Rings = 64
  2266. Sides = 64
  2267. StopAngle = 360.000000000000000000
  2268. Parts = [toSides, toStartDisk, toStopDisk]
  2269. end
  2270. end
  2271. end
  2272. end
  2273. object Cadencer: TGLCadencer
  2274. Scene = GLScene1
  2275. MaxDeltaTime = 0.020000000000000000
  2276. OnProgress = CadencerProgress
  2277. Left = 384
  2278. Top = 88
  2279. end
  2280. object ColorDialog: TColorDialog
  2281. Left = 381
  2282. Top = 153
  2283. end
  2284. object GLSimpleNavigation1: TGLSimpleNavigation
  2285. Form = Owner
  2286. GLSceneViewer = Viewer
  2287. ZoomSpeed = 1.100000023841858000
  2288. RotateTargetSpeed = 0.500000000000000000
  2289. FormCaption = 'Shaders Lab - %FPS'
  2290. KeyCombinations = <
  2291. item
  2292. ShiftState = [ssLeft, ssRight]
  2293. Action = snaZoom
  2294. end
  2295. item
  2296. ShiftState = [ssLeft]
  2297. Action = snaMoveAroundTarget
  2298. end
  2299. item
  2300. ShiftState = [ssRight]
  2301. Action = snaMoveAroundTarget
  2302. end>
  2303. Left = 528
  2304. Top = 24
  2305. end
  2306. object OpenPictureDialog: TOpenPictureDialog
  2307. Left = 472
  2308. Top = 160
  2309. end
  2310. end