fdShaderLab.dfm 55 KB

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