fSphereD.dfm 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. object FormSphere: TFormSphere
  2. Left = 197
  3. Top = 104
  4. Caption = 'Sphere Collision'
  5. ClientHeight = 427
  6. ClientWidth = 606
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'MS Sans Serif'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. TextHeight = 13
  15. object GLSceneViewer1: TGLSceneViewer
  16. Left = 0
  17. Top = 0
  18. Width = 606
  19. Height = 382
  20. Camera = GLCamera1
  21. Buffer.BackgroundColor = clBlack
  22. FieldOfView = 150.660583496093800000
  23. PenAsTouch = False
  24. Align = alClient
  25. TabOrder = 0
  26. ExplicitWidth = 450
  27. ExplicitHeight = 273
  28. end
  29. object TrackBar1: TTrackBar
  30. Left = 0
  31. Top = 382
  32. Width = 606
  33. Height = 45
  34. Align = alBottom
  35. Max = 20
  36. Min = -20
  37. Frequency = 5
  38. Position = 20
  39. TabOrder = 1
  40. TickMarks = tmBoth
  41. OnChange = TrackBar1Change
  42. ExplicitTop = 248
  43. ExplicitWidth = 442
  44. end
  45. object Button1: TButton
  46. Left = 336
  47. Top = 16
  48. Width = 91
  49. Height = 25
  50. Caption = 'Test collisions'
  51. TabOrder = 2
  52. OnClick = Button1Click
  53. end
  54. object GLScene1: TGLScene
  55. Left = 16
  56. Top = 16
  57. object GLLightSource1: TGLLightSource
  58. ConstAttenuation = 1.000000000000000000
  59. Position.Coordinates = {0000A0410000A0410000A0410000803F}
  60. SpotCutOff = 180.000000000000000000
  61. end
  62. object DummyCube1: TGLDummyCube
  63. CubeSize = 1.000000000000000000
  64. end
  65. object Sphere1: TGLSphere
  66. Material.FrontProperties.Diffuse.Color = {8A8F0F3FBEBC3C3F8A8F0F3F0000803F}
  67. Position.Coordinates = {0000000000000000000000400000803F}
  68. Radius = 0.500000000000000000
  69. BehavioursData = {
  70. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  71. 0002000611436F6C6C6973696F6E4D616E616765723102010200}
  72. end
  73. object Sphere2: TGLSphere
  74. Material.FrontProperties.Diffuse.Color = {00000000F8FEFE3E0000803F0000803F}
  75. Radius = 0.500000000000000000
  76. BehavioursData = {
  77. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  78. 0002000611436F6C6C6973696F6E4D616E616765723102010200}
  79. end
  80. object GLCamera1: TGLCamera
  81. DepthOfView = 100.000000000000000000
  82. FocalLength = 50.000000000000000000
  83. TargetObject = DummyCube1
  84. Position.Coordinates = {0000A04000004040000000400000803F}
  85. Left = 256
  86. Top = 160
  87. end
  88. end
  89. object CollisionManager1: TGLCollisionManager
  90. OnCollision = CollisionManager1Collision
  91. Left = 16
  92. Top = 72
  93. end
  94. end