fShaderLabD.dfm 54 KB

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