Unit1.dfm 2.4 KB

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