Unit1.dfm 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'ODE Simple'
  5. ClientHeight = 437
  6. ClientWidth = 568
  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. WindowState = wsMaximized
  15. OnActivate = FormActivate
  16. OnMouseWheel = FormMouseWheel
  17. PixelsPerInch = 96
  18. TextHeight = 13
  19. object GLSceneViewer1: TGLSceneViewer
  20. Left = 153
  21. Top = 0
  22. Width = 415
  23. Height = 437
  24. Camera = GLCamera1
  25. Buffer.BackgroundColor = clSkyBlue
  26. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  27. FieldOfView = 152.904129028320300000
  28. PenAsTouch = False
  29. Align = alClient
  30. OnMouseDown = GLSceneViewer1MouseDown
  31. OnMouseMove = GLSceneViewer1MouseMove
  32. TabOrder = 0
  33. end
  34. object Panel1: TPanel
  35. Left = 0
  36. Top = 0
  37. Width = 153
  38. Height = 437
  39. Align = alLeft
  40. TabOrder = 1
  41. object Label1: TLabel
  42. Left = 8
  43. Top = 64
  44. Width = 84
  45. Height = 13
  46. Caption = 'Choose an object'
  47. end
  48. object Label2: TLabel
  49. Left = 8
  50. Top = 208
  51. Width = 94
  52. Height = 26
  53. Caption = 'HeightField Contact Resolution'
  54. WordWrap = True
  55. end
  56. object Label3: TLabel
  57. Left = 8
  58. Top = 8
  59. Width = 100
  60. Height = 13
  61. Caption = 'Choose surface type'
  62. end
  63. object Spawn: TButton
  64. Left = 40
  65. Top = 112
  66. Width = 75
  67. Height = 25
  68. Caption = 'Spawn'
  69. TabOrder = 0
  70. OnClick = SpawnClick
  71. end
  72. object ComboBox1: TComboBox
  73. Left = 8
  74. Top = 80
  75. Width = 137
  76. Height = 21
  77. Style = csDropDownList
  78. TabOrder = 1
  79. Items.Strings = (
  80. 'Sphere'
  81. 'Box'
  82. 'Capsule (CCylinder)'
  83. 'Cylinder')
  84. end
  85. object CheckBox1: TCheckBox
  86. Left = 8
  87. Top = 144
  88. Width = 129
  89. Height = 17
  90. Caption = 'Show ODE Elements'
  91. TabOrder = 2
  92. OnClick = CheckBox1Click
  93. end
  94. object CheckBox2: TCheckBox
  95. Left = 8
  96. Top = 169
  97. Width = 129
  98. Height = 33
  99. Caption = 'Show HeightField Contacts'
  100. TabOrder = 3
  101. WordWrap = True
  102. OnClick = CheckBox2Click
  103. end
  104. object TrackBar1: TTrackBar
  105. Left = 8
  106. Top = 240
  107. Width = 137
  108. Height = 34
  109. TabOrder = 4
  110. ThumbLength = 10
  111. TickMarks = tmBoth
  112. OnChange = TrackBar1Change
  113. end
  114. object ComboBox2: TComboBox
  115. Left = 8
  116. Top = 24
  117. Width = 137
  118. Height = 21
  119. Style = csDropDownList
  120. ItemIndex = 0
  121. TabOrder = 5
  122. Text = 'Plane'
  123. OnChange = ComboBox2Change
  124. Items.Strings = (
  125. 'Plane'
  126. 'HeightField')
  127. end
  128. end
  129. object GLScene1: TGLScene
  130. Left = 184
  131. Top = 8
  132. object GLDummyCube1: TGLDummyCube
  133. Position.Coordinates = {000000000000803F000000000000803F}
  134. CubeSize = 1.000000000000000000
  135. object GLCamera1: TGLCamera
  136. DepthOfView = 100.000000000000000000
  137. FocalLength = 50.000000000000000000
  138. TargetObject = GLDummyCube1
  139. Position.Coordinates = {0000803F000040400000A0400000803F}
  140. object GLLightSource1: TGLLightSource
  141. ConstAttenuation = 1.000000000000000000
  142. LightStyle = lsOmni
  143. SpotCutOff = 180.000000000000000000
  144. end
  145. end
  146. end
  147. object GLHeightField1: TGLHeightField
  148. Direction.Coordinates = {000000000000803F0000000000000000}
  149. Up.Coordinates = {00000000000000000000803F00000000}
  150. Visible = False
  151. XSamplingScale.Min = -10.000000000000000000
  152. XSamplingScale.Max = 10.000000000000000000
  153. XSamplingScale.Step = 0.500000000000000000
  154. YSamplingScale.Min = -10.000000000000000000
  155. YSamplingScale.Max = 10.000000000000000000
  156. YSamplingScale.Step = 0.500000000000000000
  157. Options = []
  158. OnGetHeight = GLHeightField1GetHeight
  159. BehavioursData = {
  160. 0458434F4C02010201061154474C4F44454865696768744669656C6402001200
  161. 00000002000200120000000002000500000000006F1283F53F08000005000000
  162. 00000000FA084005000000000000000000000500000000000000000000050000
  163. 0000000000000000050000000000000000000005000000000000000000000500
  164. 0000000000000000000500000000000000000000050000000000000000000005
  165. 000000000000000000000200050000000000000080FF3F080500000000000000
  166. C000400000803F0200}
  167. end
  168. object GLPlane1: TGLPlane
  169. Direction.Coordinates = {000000000000803F0000000000000000}
  170. Up.Coordinates = {00000000000000000000803F00000000}
  171. Height = 10.000000000000000000
  172. Width = 10.000000000000000000
  173. BehavioursData = {
  174. 0458434F4C02010201060C54474C4F4445537461746963020012000000000200
  175. 0200120000000002000500000000006F1283F53F0800000500000000000000FA
  176. 0840050000000000000000000005000000000000000000000500000000000000
  177. 0000000500000000000000000000050000000000000000000005000000000000
  178. 0000000005000000000000000000000500000000000000000000050000000000
  179. 000000000002000458434F4C02010200}
  180. end
  181. object ODEObjects: TGLDummyCube
  182. CubeSize = 1.000000000000000000
  183. end
  184. object GLRenderPoint1: TGLRenderPoint
  185. end
  186. end
  187. object GLCadencer1: TGLCadencer
  188. Scene = GLScene1
  189. MaxDeltaTime = 0.020000000000000000
  190. OnProgress = GLCadencer1Progress
  191. Left = 184
  192. Top = 72
  193. end
  194. object GLODEManager1: TGLODEManager
  195. Gravity.Coordinates = {00000000C3F51CC1000000000000803F}
  196. Solver = osmQuickStep
  197. Iterations = 3
  198. MaxContacts = 8
  199. RenderPoint = GLRenderPoint1
  200. Visible = False
  201. VisibleAtRunTime = True
  202. Left = 280
  203. Top = 8
  204. end
  205. end