fcLiningShaders.dfm 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353
  1. object FormLining: TFormLining
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 2
  5. Margins.Top = 2
  6. Margins.Right = 2
  7. Margins.Bottom = 2
  8. Caption = 'Lining Shaders'
  9. ClientHeight = 407
  10. ClientWidth = 569
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -11
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 0
  21. Width = 414
  22. Height = 407
  23. Camera = GLCamera1
  24. Buffer.AntiAliasing = aa4xHQ
  25. FieldOfView = 152.391708374023400000
  26. PenAsTouch = False
  27. Align = alClient
  28. OnMouseDown = GLSceneViewer1MouseDown
  29. OnMouseMove = GLSceneViewer1MouseMove
  30. TabOrder = 0
  31. end
  32. object Panel1: TPanel
  33. Left = 414
  34. Top = 0
  35. Width = 155
  36. Height = 407
  37. Align = alRight
  38. BevelOuter = bvSpace
  39. Font.Charset = ANSI_CHARSET
  40. Font.Color = clWindowText
  41. Font.Height = -11
  42. Font.Name = 'Tahoma'
  43. Font.Style = []
  44. ParentFont = False
  45. TabOrder = 1
  46. object Label1: TLabel
  47. Left = 17
  48. Top = 226
  49. Width = 50
  50. Height = 13
  51. Caption = 'Drag with:'
  52. end
  53. object Label2: TLabel
  54. Left = 17
  55. Top = 242
  56. Width = 123
  57. Height = 13
  58. Caption = 'LMB - move around scene'
  59. end
  60. object Label3: TLabel
  61. Left = 17
  62. Top = 258
  63. Width = 89
  64. Height = 13
  65. Caption = 'RMB - rotate torus'
  66. end
  67. object Bevel1: TBevel
  68. Left = 11
  69. Top = 218
  70. Width = 131
  71. Height = 9
  72. Shape = bsTopLine
  73. end
  74. object CheckBox1: TCheckBox
  75. Left = 9
  76. Top = 186
  77. Width = 131
  78. Height = 17
  79. Caption = 'Outline Shader Enabled'
  80. Checked = True
  81. State = cbChecked
  82. TabOrder = 0
  83. OnClick = CheckBox1Click
  84. end
  85. object GroupBox1: TGroupBox
  86. Left = 9
  87. Top = 58
  88. Width = 137
  89. Height = 111
  90. Caption = 'Shader on Torus'
  91. Font.Charset = ANSI_CHARSET
  92. Font.Color = clWindowText
  93. Font.Height = -11
  94. Font.Name = 'Tahoma'
  95. Font.Style = []
  96. ParentFont = False
  97. TabOrder = 1
  98. object Bevel2: TBevel
  99. Left = 8
  100. Top = 52
  101. Width = 117
  102. Height = 9
  103. Shape = bsTopLine
  104. end
  105. object CheckBox2: TCheckBox
  106. Left = 10
  107. Top = 16
  108. Width = 97
  109. Height = 17
  110. Caption = 'Enabled'
  111. Checked = True
  112. State = cbChecked
  113. TabOrder = 0
  114. OnClick = CheckBox2Click
  115. end
  116. object CheckBox3: TCheckBox
  117. Left = 10
  118. Top = 56
  119. Width = 97
  120. Height = 17
  121. Caption = 'Solid'
  122. TabOrder = 1
  123. OnClick = CheckBox3Click
  124. end
  125. object CheckBox4: TCheckBox
  126. Left = 10
  127. Top = 32
  128. Width = 113
  129. Height = 17
  130. Caption = 'Dotted Hidden Line'
  131. Checked = True
  132. State = cbChecked
  133. TabOrder = 2
  134. OnClick = CheckBox4Click
  135. end
  136. object CheckBox5: TCheckBox
  137. Left = 26
  138. Top = 72
  139. Width = 79
  140. Height = 17
  141. Caption = 'Surface Lit'
  142. TabOrder = 3
  143. OnClick = CheckBox5Click
  144. end
  145. object CheckBox6: TCheckBox
  146. Left = 26
  147. Top = 88
  148. Width = 63
  149. Height = 17
  150. Caption = 'Flat'
  151. TabOrder = 4
  152. OnClick = CheckBox6Click
  153. end
  154. end
  155. object Panel2: TPanel
  156. Left = 1
  157. Top = 1
  158. Width = 153
  159. Height = 43
  160. Align = alTop
  161. BevelOuter = bvNone
  162. Caption = 'Lining Shaders'
  163. Color = clBtnHighlight
  164. Font.Charset = ANSI_CHARSET
  165. Font.Color = clWindowText
  166. Font.Height = -19
  167. Font.Name = 'Trebuchet MS'
  168. Font.Style = [fsBold]
  169. ParentFont = False
  170. TabOrder = 2
  171. end
  172. end
  173. object GLScene1: TGLScene
  174. ObjectsSorting = osRenderFarthestFirst
  175. Left = 8
  176. Top = 8
  177. object GLLightSource1: TGLLightSource
  178. Ambient.Color = {0000803F0000803F0000803F0000803F}
  179. ConstAttenuation = 1.000000000000000000
  180. Position.Coordinates = {00002041000000410000E0400000803F}
  181. Specular.Color = {0000803F0000803F0000803F0000803F}
  182. SpotCutOff = 180.000000000000000000
  183. end
  184. object Torus1: TGLTorus
  185. Material.MaterialLibrary = GLMaterialLibrary1
  186. Material.LibMaterialName = 'LibMaterial2'
  187. Direction.Coordinates = {000000000000803F0000000000000000}
  188. Up.Coordinates = {0000000000000000000080BF00000000}
  189. MajorRadius = 2.500000000000000000
  190. MinorRadius = 1.500000000000000000
  191. StopAngle = 360.000000000000000000
  192. Parts = [toSides, toStartDisk, toStopDisk]
  193. end
  194. object Sphere1: TGLSphere
  195. ShowAxes = True
  196. Radius = 0.500000000000000000
  197. end
  198. object GLAnnulusOutlined: TGLAnnulus
  199. Material.MaterialLibrary = GLMaterialLibrary1
  200. Material.LibMaterialName = 'LibMaterial'
  201. Position.Coordinates = {0000E04000000000000000000000803F}
  202. Scale.Coordinates = {00000040000000400000004000000000}
  203. BottomRadius = 0.500000000000000000
  204. Height = 1.000000000000000000
  205. BottomInnerRadius = 0.300000011920929000
  206. TopInnerRadius = 0.300000011920929000
  207. TopRadius = 0.500000000000000000
  208. end
  209. object GLAnnulusPink: TGLAnnulus
  210. Material.MaterialLibrary = GLMaterialLibrary1
  211. Material.LibMaterialName = 'LibMaterial4'
  212. Position.Coordinates = {0000E0C000000000000000000000803F}
  213. Scale.Coordinates = {00000040000000400000004000000000}
  214. BottomRadius = 0.500000000000000000
  215. Height = 1.000000000000000000
  216. BottomInnerRadius = 0.300000011920929000
  217. TopInnerRadius = 0.300000011920929000
  218. TopRadius = 0.500000000000000000
  219. end
  220. object GLAnnulusDotted: TGLAnnulus
  221. Material.MaterialLibrary = GLMaterialLibrary1
  222. Material.LibMaterialName = 'LibMaterial1'
  223. Position.Coordinates = {00000000000000000000E0C00000803F}
  224. Scale.Coordinates = {00000040000000400000004000000000}
  225. BottomRadius = 0.500000000000000000
  226. Height = 1.000000000000000000
  227. BottomInnerRadius = 0.300000011920929000
  228. TopInnerRadius = 0.300000011920929000
  229. TopRadius = 0.500000000000000000
  230. end
  231. object GLCubeGreen: TGLCube
  232. Material.MaterialLibrary = GLMaterialLibrary1
  233. Material.LibMaterialName = 'LibMaterial5'
  234. Position.Coordinates = {00000000000000000000E0400000803F}
  235. Scale.Coordinates = {00000040000000400000004000000000}
  236. end
  237. object GLCubeTransparent: TGLCube
  238. Material.MaterialLibrary = GLMaterialLibrary1
  239. Material.LibMaterialName = 'LibMaterial3'
  240. Position.Coordinates = {0000000000008040000000000000803F}
  241. CubeSize = {000040400000404000004040}
  242. end
  243. object GLCamera1: TGLCamera
  244. DepthOfView = 100.000000000000000000
  245. FocalLength = 50.000000000000000000
  246. TargetObject = Torus1
  247. Position.Coordinates = {00006041000020410000C0400000803F}
  248. end
  249. end
  250. object GLMaterialLibrary1: TGLMaterialLibrary
  251. Materials = <
  252. item
  253. Name = 'LibMaterial'
  254. Tag = 0
  255. Material.FrontProperties.Ambient.Color = {9190903D9190903D8786863E0000803F}
  256. Material.FrontProperties.Diffuse.Color = {9796163F0000803F0000803F0000803F}
  257. Material.FrontProperties.Shininess = 128
  258. Shader = GLOutlineShader1
  259. end
  260. item
  261. Name = 'LibMaterial1'
  262. Tag = 0
  263. Shader = GLHiddenLineShader1
  264. end
  265. item
  266. Name = 'LibMaterial2'
  267. Tag = 0
  268. Material.FrontProperties.Ambient.Color = {C5C4443EBFBEBE3EB5B4343E0000803F}
  269. Material.FrontProperties.Diffuse.Color = {0000803FEBEAEA3E8180803C0000803F}
  270. Material.FrontProperties.Shininess = 128
  271. Material.FrontProperties.Specular.Color = {0000803F0000803F0000803F0000803F}
  272. Material.BlendingMode = bmTransparency
  273. Shader = GLHiddenLineShader2
  274. end
  275. item
  276. Name = 'LibMaterial3'
  277. Tag = 0
  278. Shader = GLHiddenLineShader3
  279. end
  280. item
  281. Name = 'LibMaterial4'
  282. Tag = 0
  283. Shader = GLHiddenLineShader4
  284. end
  285. item
  286. Name = 'LibMaterial5'
  287. Tag = 0
  288. Material.FrontProperties.Diffuse.Color = {9998183E9796163F9190103E17D92E3F}
  289. Material.BlendingMode = bmTransparency
  290. Shader = GLHiddenLineShader5
  291. end>
  292. Left = 8
  293. Top = 40
  294. end
  295. object GLOutlineShader1: TGLOutlineShader
  296. LineColor.Color = {0000803F00000000000000000000803F}
  297. LineSmooth = True
  298. LineWidth = 4.000000000000000000
  299. Left = 8
  300. Top = 72
  301. end
  302. object GLHiddenLineShader1: TGLHiddenLineShader
  303. FrontLine.Width = 1.000000000000000000
  304. FrontLine.Color.Color = {938C0C3E938C0C3E938E0E3F0000803F}
  305. FrontLine.Pattern = 10101
  306. BackLine.Width = 2.000000000000000000
  307. LineSmooth = True
  308. Solid = True
  309. Left = 40
  310. Top = 8
  311. end
  312. object GLHiddenLineShader2: TGLHiddenLineShader
  313. FrontLine.Width = 2.000000000000000000
  314. BackLine.Width = 1.000000000000000000
  315. BackLine.Color.Color = {000000000000003F000000000000803F}
  316. BackLine.Pattern = 65280
  317. LineSmooth = True
  318. SurfaceLit = False
  319. Left = 40
  320. Top = 40
  321. end
  322. object GLHiddenLineShader3: TGLHiddenLineShader
  323. FrontLine.Width = 5.000000000000000000
  324. FrontLine.Color.Color = {EC51B83E0000803ECDCC4C3E9A99193F}
  325. BackLine.Width = 5.000000000000000000
  326. BackLine.Color.Color = {0000003F0000003F0000003F9A99993E}
  327. LineSmooth = True
  328. Left = 40
  329. Top = 72
  330. end
  331. object GLHiddenLineShader4: TGLHiddenLineShader
  332. FrontLine.Width = 2.000000000000000000
  333. FrontLine.Color.Color = {B81E053F14AEC73E14AEC73E0000803F}
  334. BackLine.Width = 1.000000000000000000
  335. BackLine.Color.Color = {E4DB5B3FEBE0E03E9A93133F0000803F}
  336. LineSmooth = True
  337. Left = 72
  338. Top = 8
  339. end
  340. object GLHiddenLineShader5: TGLHiddenLineShader
  341. FrontLine.Width = 2.000000000000000000
  342. FrontLine.Color.Color = {9A93133FE4DB5B3FEBE0E03E3333333F}
  343. BackLine.Width = 2.000000000000000000
  344. BackLine.Color.Color = {000000000000003F000000000000803F}
  345. BackLine.Pattern = 65280
  346. LineSmooth = True
  347. Solid = True
  348. BackgroundColor.Color = {938C0C3E938E0E3F938C0C3E3333333F}
  349. SurfaceLit = False
  350. Left = 72
  351. Top = 40
  352. end
  353. end