Unit1.dfm 10 KB

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