fMainC.dfm 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'Sphere Collision'
  5. ClientHeight = 333
  6. ClientWidth = 452
  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 = 452
  20. Height = 288
  21. Camera = GLCamera1
  22. FieldOfView = 141.703720092773400000
  23. PenAsTouch = False
  24. Align = alClient
  25. TabOrder = 0
  26. end
  27. object TrackBar1: TTrackBar
  28. Left = 0
  29. Top = 288
  30. Width = 452
  31. Height = 45
  32. Align = alBottom
  33. Max = 20
  34. Min = -20
  35. Frequency = 5
  36. Position = 20
  37. TabOrder = 1
  38. TickMarks = tmBoth
  39. OnChange = TrackBar1Change
  40. end
  41. object Button1: TButton
  42. Left = 336
  43. Top = 16
  44. Width = 91
  45. Height = 25
  46. Caption = 'Test collisions'
  47. TabOrder = 2
  48. OnClick = Button1Click
  49. end
  50. object GLScene1: TGLScene
  51. Left = 16
  52. Top = 16
  53. object GLLightSource1: TGLLightSource
  54. ConstAttenuation = 1.000000000000000000
  55. Position.Coordinates = {0000A0410000A0410000A0410000803F}
  56. SpotCutOff = 180.000000000000000000
  57. end
  58. object DummyCube1: TGLDummyCube
  59. CubeSize = 1.000000000000000000
  60. end
  61. object Sphere1: TGLSphere
  62. Material.FrontProperties.Diffuse.Color = {8A8F0F3FBEBC3C3F8A8F0F3F0000803F}
  63. Position.Coordinates = {0000000000000000000000400000803F}
  64. Radius = 0.500000000000000000
  65. BehavioursData = {
  66. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  67. 0002000611436F6C6C6973696F6E4D616E616765723102010200}
  68. end
  69. object Sphere2: TGLSphere
  70. Material.FrontProperties.Diffuse.Color = {00000000F8FEFE3E0000803F0000803F}
  71. Radius = 0.500000000000000000
  72. BehavioursData = {
  73. 0458434F4C02010201060D54474C42436F6C6C6973696F6E0202020012000000
  74. 0002000611436F6C6C6973696F6E4D616E616765723102010200}
  75. end
  76. object GLCamera1: TGLCamera
  77. DepthOfView = 100.000000000000000000
  78. FocalLength = 50.000000000000000000
  79. TargetObject = DummyCube1
  80. Position.Coordinates = {0000A04000004040000000400000803F}
  81. Left = 256
  82. Top = 160
  83. end
  84. end
  85. object CollisionManager1: TGLCollisionManager
  86. OnCollision = CollisionManager1Collision
  87. Left = 16
  88. Top = 72
  89. end
  90. end