fFaceC.dfm 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Face vs Face'
  5. ClientHeight = 561
  6. ClientWidth = 757
  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. OnShow = FormShow
  16. TextHeight = 13
  17. object Splitter1: TSplitter
  18. Left = 608
  19. Top = 0
  20. Width = 4
  21. Height = 412
  22. Align = alRight
  23. ExplicitLeft = 460
  24. ExplicitHeight = 331
  25. end
  26. object GLSceneViewer1: TGLSceneViewer
  27. Left = 121
  28. Top = 0
  29. Width = 487
  30. Height = 412
  31. Camera = GLCamera2
  32. Buffer.BackgroundColor = 8404992
  33. FieldOfView = 54.496932983398440000
  34. PenAsTouch = False
  35. Align = alClient
  36. OnMouseDown = GLSceneViewer1MouseDown
  37. OnMouseMove = GLSceneViewer1MouseMove
  38. TabOrder = 0
  39. ExplicitWidth = 383
  40. ExplicitHeight = 351
  41. end
  42. object Panel1: TPanel
  43. Left = 0
  44. Top = 0
  45. Width = 121
  46. Height = 412
  47. Align = alLeft
  48. BevelOuter = bvLowered
  49. TabOrder = 1
  50. ExplicitHeight = 296
  51. object Shape1: TShape
  52. Left = 88
  53. Top = 10
  54. Width = 25
  55. Height = 25
  56. Shape = stCircle
  57. end
  58. object Label1: TLabel
  59. Left = 8
  60. Top = 8
  61. Width = 64
  62. Height = 13
  63. Caption = 'Collision test:'
  64. end
  65. object LATime: TLabel
  66. Left = 8
  67. Top = 24
  68. Width = 73
  69. Height = 13
  70. Alignment = taRightJustify
  71. AutoSize = False
  72. Caption = 'LATime'
  73. end
  74. object Label2: TLabel
  75. Left = 8
  76. Top = 96
  77. Width = 102
  78. Height = 13
  79. Caption = 'Teapot collision mode'
  80. end
  81. object cbCollisionMode: TRadioGroup
  82. Left = 8
  83. Top = 112
  84. Width = 105
  85. Height = 105
  86. ItemIndex = 4
  87. Items.Strings = (
  88. 'cbmPoint'
  89. 'cbmSphere'
  90. 'cbmEllipsoid'
  91. 'cbmCube'
  92. 'cbmFaces')
  93. TabOrder = 0
  94. OnClick = cbCollisionModeClick
  95. end
  96. end
  97. object Panel2: TPanel
  98. Left = 0
  99. Top = 412
  100. Width = 757
  101. Height = 149
  102. Align = alBottom
  103. TabOrder = 2
  104. ExplicitTop = 296
  105. ExplicitWidth = 577
  106. object StringGrid1: TStringGrid
  107. Left = 1
  108. Top = 1
  109. Width = 755
  110. Height = 147
  111. Align = alClient
  112. ColCount = 6
  113. DefaultColWidth = 90
  114. DefaultRowHeight = 20
  115. RowCount = 6
  116. TabOrder = 0
  117. ExplicitLeft = 8
  118. ExplicitTop = 6
  119. ExplicitWidth = 553
  120. ExplicitHeight = 139
  121. end
  122. end
  123. object Memo1: TMemo
  124. Left = 612
  125. Top = 0
  126. Width = 145
  127. Height = 412
  128. Align = alRight
  129. Lines.Strings = (
  130. 'Memo1')
  131. TabOrder = 3
  132. ExplicitLeft = 432
  133. ExplicitHeight = 296
  134. end
  135. object GLScene1: TGLScene
  136. Left = 192
  137. Top = 16
  138. object GLLightSource1: TGLLightSource
  139. ConstAttenuation = 1.000000000000000000
  140. Position.Coordinates = {0000204100002041000020410000803F}
  141. SpotCutOff = 180.000000000000000000
  142. end
  143. object GLLightSource2: TGLLightSource
  144. ConstAttenuation = 1.000000000000000000
  145. Position.Coordinates = {000020C100002041000020C10000803F}
  146. SpotCutOff = 180.000000000000000000
  147. end
  148. object DummyCube1: TGLDummyCube
  149. ShowAxes = True
  150. CubeSize = 1.000000000000000000
  151. EdgeColor.Color = {0000003F0000003F0000003F0000803F}
  152. object GLCamera2: TGLCamera
  153. DepthOfView = 1000.000000000000000000
  154. FocalLength = 400.000000000000000000
  155. TargetObject = DummyCube1
  156. Position.Coordinates = {0000704100002041000070410000803F}
  157. end
  158. object txtX: TGLSpaceText
  159. Position.Coordinates = {0000004000000000000000000000803F}
  160. Scale.Coordinates = {0000003F0000003F0000003F00000000}
  161. Extrusion = 0.100000001490116100
  162. Font.Charset = DEFAULT_CHARSET
  163. Font.Color = clWindowText
  164. Font.Height = -11
  165. Font.Name = 'Arial'
  166. Font.Style = []
  167. Lines.Strings = (
  168. 'X')
  169. end
  170. object txtY: TGLSpaceText
  171. Position.Coordinates = {0000000000000040000000000000803F}
  172. Scale.Coordinates = {0000003F0000003F0000003F00000000}
  173. Extrusion = 0.100000001490116100
  174. Font.Charset = DEFAULT_CHARSET
  175. Font.Color = clWindowText
  176. Font.Height = -11
  177. Font.Name = 'Arial'
  178. Font.Style = []
  179. Lines.Strings = (
  180. 'Y')
  181. end
  182. object txtZ: TGLSpaceText
  183. Position.Coordinates = {0000000000000000000000400000803F}
  184. Scale.Coordinates = {0000003F0000003F0000003F00000000}
  185. Extrusion = 0.100000001490116100
  186. Font.Charset = DEFAULT_CHARSET
  187. Font.Color = clWindowText
  188. Font.Height = -11
  189. Font.Name = 'Arial'
  190. Font.Style = []
  191. Lines.Strings = (
  192. 'Z')
  193. end
  194. object TeaPot1: TGLFreeForm
  195. Direction.Coordinates = {613D73BDD128723F4D43A3BE00000000}
  196. Position.Coordinates = {00000000000000003333B33E0000803F}
  197. Scale.Coordinates = {0AD7233C0AD7233C0AD7233C00000000}
  198. Up.Coordinates = {C9B14FBFC3BE0F3ED548113F00000000}
  199. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  200. BehavioursData = {
  201. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  202. 000200120000000002040200}
  203. end
  204. object TeaPot2: TGLFreeForm
  205. Direction.Coordinates = {0DFB4AB20000803F7A829A3200000000}
  206. Position.Coordinates = {0000000000000000CDCCCCBE0000803F}
  207. Scale.Coordinates = {0AD7233C0AD7233C0AD7233C00000000}
  208. Up.Coordinates = {F30435BFD41F8BB3F30435BF00000000}
  209. AutoCentering = [macCenterX, macCenterY, macCenterZ]
  210. BehavioursData = {
  211. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  212. 000200120000000002040200}
  213. end
  214. object CubePoint1: TGLCube
  215. Position.Coordinates = {000000000000803F000000000000803F}
  216. BehavioursData = {
  217. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  218. 000200120000000002000200}
  219. CubeSize = {CDCC4C3DCDCC4C3DCDCC4C3D}
  220. end
  221. object CubePoint2: TGLCube
  222. Position.Coordinates = {CDCC4CBE0000803F000000000000803F}
  223. Scale.Coordinates = {CDCC4C3DCDCC4C3DCDCC4C3D00000000}
  224. BehavioursData = {
  225. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  226. 000200120000000002000200}
  227. end
  228. object Cube2: TGLCube
  229. Material.BackProperties.Ambient.Color = {CDCC4C3ECDCC4C3ECDCC4C3E0000003F}
  230. Material.BackProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F0000003F}
  231. Material.BackProperties.Emission.Color = {0000000000000000000000000000003F}
  232. Material.BackProperties.Specular.Color = {0000000000000000000000000000003F}
  233. Material.FrontProperties.Ambient.Color = {CDCC4C3ECDCC4C3ECDCC4C3ECDCC4C3E}
  234. Material.FrontProperties.Diffuse.Color = {CDCC4C3FCDCC4C3FCDCC4C3F0000003F}
  235. Material.FrontProperties.Emission.Color = {0000000000000000000000000000003F}
  236. Material.BlendingMode = bmTransparency
  237. Position.Coordinates = {0000803F00000000000080BF0000803F}
  238. Scale.Coordinates = {0000803F000000400000803F00000000}
  239. BehavioursData = {
  240. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  241. 000200120000000002030200}
  242. CubeSize = {0000803F0000803F0000003F}
  243. end
  244. object Bar: TGLCube
  245. Material.FrontProperties.Diffuse.Color = {0000803F5839343E5839343E0000803F}
  246. Position.Coordinates = {0000803F000000000000803F0000803F}
  247. BehavioursData = {
  248. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  249. 000200120000000002030200}
  250. CubeSize = {CDCC4C3DCDCC4C3D00000040}
  251. end
  252. object GLSphere1: TGLSphere
  253. Position.Coordinates = {000000C000000000000000000000803F}
  254. Radius = 0.500000000000000000
  255. BehavioursData = {
  256. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  257. 000200120000000002010200}
  258. end
  259. object GLSphere2: TGLSphere
  260. Position.Coordinates = {000000C000000000000080BF0000803F}
  261. Scale.Coordinates = {CDCC4C3FCDCC4C3FCDCC4C3F00000000}
  262. Radius = 0.300000011920929000
  263. BehavioursData = {
  264. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  265. 000200120000000002010200}
  266. end
  267. object GLSphereEllipsoid1: TGLSphere
  268. Position.Coordinates = {000080BF00000000000000C00000803F}
  269. Scale.Coordinates = {9A99193F0000803F0000803F00000000}
  270. Radius = 0.500000000000000000
  271. BehavioursData = {
  272. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  273. 000200120000000002020200}
  274. end
  275. object GLSphereEllipsoid2: TGLSphere
  276. Position.Coordinates = {0000000000000000000000C00000803F}
  277. Scale.Coordinates = {CDCC4C3FCDCCCC3F3333333F00000000}
  278. Radius = 0.300000011920929000
  279. BehavioursData = {
  280. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  281. 000200120000000002020200}
  282. end
  283. object GLCube1: TGLCube
  284. Position.Coordinates = {0000803F000080BF000000000000803F}
  285. Scale.Coordinates = {3333333F3333B33F0000803F00000000}
  286. BehavioursData = {
  287. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  288. 000200120000000002030200}
  289. CubeSize = {0000803F0000803F6666A63F}
  290. end
  291. end
  292. object GLCamera1: TGLCamera
  293. DepthOfView = 100.000000000000000000
  294. FocalLength = 50.000000000000000000
  295. end
  296. object GLCamera3: TGLCamera
  297. DepthOfView = 100.000000000000000000
  298. FocalLength = 50.000000000000000000
  299. end
  300. end
  301. object Timer1: TTimer
  302. Interval = 100
  303. OnTimer = Timer1Timer
  304. Left = 464
  305. Top = 8
  306. end
  307. object CollisionManager1: TGLCollisionManager
  308. OnCollision = CollisionManager1Collision
  309. Left = 192
  310. Top = 80
  311. end
  312. end