fOdeSimpleD.dfm 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. object FormOdeSimple: TFormOdeSimple
  2. Left = 192
  3. Top = 105
  4. Margins.Left = 4
  5. Margins.Top = 4
  6. Margins.Right = 4
  7. Margins.Bottom = 4
  8. Caption = 'Simple ODE'
  9. ClientHeight = 739
  10. ClientWidth = 1126
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'MS Sans Serif'
  16. Font.Style = []
  17. Position = poScreenCenter
  18. PixelsPerInch = 168
  19. TextHeight = 24
  20. object GLSceneViewer1: TGLSceneViewer
  21. Left = 267
  22. Top = 0
  23. Width = 859
  24. Height = 739
  25. Margins.Left = 6
  26. Margins.Top = 6
  27. Margins.Right = 6
  28. Margins.Bottom = 6
  29. Camera = GLCamera1
  30. Buffer.BackgroundColor = clSkyBlue
  31. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
  32. FieldOfView = 164.587310791015600000
  33. PenAsTouch = False
  34. Align = alClient
  35. OnMouseDown = GLSceneViewer1MouseDown
  36. OnMouseMove = GLSceneViewer1MouseMove
  37. TabOrder = 0
  38. end
  39. object Panel1: TPanel
  40. Left = 0
  41. Top = 0
  42. Width = 267
  43. Height = 739
  44. Margins.Left = 6
  45. Margins.Top = 6
  46. Margins.Right = 6
  47. Margins.Bottom = 6
  48. Align = alLeft
  49. TabOrder = 1
  50. object Label1: TLabel
  51. Left = 14
  52. Top = 112
  53. Width = 148
  54. Height = 24
  55. Margins.Left = 6
  56. Margins.Top = 6
  57. Margins.Right = 6
  58. Margins.Bottom = 6
  59. Caption = 'Choose an object'
  60. end
  61. object Label2: TLabel
  62. Left = 14
  63. Top = 364
  64. Width = 165
  65. Height = 48
  66. Margins.Left = 6
  67. Margins.Top = 6
  68. Margins.Right = 6
  69. Margins.Bottom = 6
  70. Caption = 'HeightField Contact Resolution'
  71. WordWrap = True
  72. end
  73. object Label3: TLabel
  74. Left = 14
  75. Top = 14
  76. Width = 172
  77. Height = 24
  78. Margins.Left = 6
  79. Margins.Top = 6
  80. Margins.Right = 6
  81. Margins.Bottom = 6
  82. Caption = 'Choose surface type'
  83. end
  84. object Spawn: TButton
  85. Left = 70
  86. Top = 196
  87. Width = 132
  88. Height = 43
  89. Margins.Left = 6
  90. Margins.Top = 6
  91. Margins.Right = 6
  92. Margins.Bottom = 6
  93. Caption = 'Spawn'
  94. TabOrder = 0
  95. OnClick = SpawnClick
  96. end
  97. object cbObjects: TComboBox
  98. Left = 14
  99. Top = 140
  100. Width = 239
  101. Height = 32
  102. Margins.Left = 6
  103. Margins.Top = 6
  104. Margins.Right = 6
  105. Margins.Bottom = 6
  106. Style = csDropDownList
  107. ItemIndex = 0
  108. TabOrder = 1
  109. Text = 'Sphere'
  110. Items.Strings = (
  111. 'Sphere'
  112. 'Box'
  113. 'Capsule (CCylinder)'
  114. 'Cylinder'
  115. 'Cone')
  116. end
  117. object chbElements: TCheckBox
  118. Left = 14
  119. Top = 252
  120. Width = 225
  121. Height = 29
  122. Margins.Left = 6
  123. Margins.Top = 6
  124. Margins.Right = 6
  125. Margins.Bottom = 6
  126. Caption = 'Show ODE Elements'
  127. TabOrder = 2
  128. OnClick = chbElementsClick
  129. end
  130. object chbContacts: TCheckBox
  131. Left = 14
  132. Top = 294
  133. Width = 225
  134. Height = 57
  135. Margins.Left = 6
  136. Margins.Top = 6
  137. Margins.Right = 6
  138. Margins.Bottom = 6
  139. Caption = 'Show HeightField Contacts'
  140. TabOrder = 3
  141. WordWrap = True
  142. OnClick = chbContactsClick
  143. end
  144. object TrackBar1: TTrackBar
  145. Left = 18
  146. Top = 448
  147. Width = 240
  148. Height = 60
  149. Margins.Left = 6
  150. Margins.Top = 6
  151. Margins.Right = 6
  152. Margins.Bottom = 6
  153. TabOrder = 4
  154. ThumbLength = 18
  155. TickMarks = tmBoth
  156. OnChange = TrackBar1Change
  157. end
  158. object cbSurface: TComboBox
  159. Left = 14
  160. Top = 42
  161. Width = 239
  162. Height = 32
  163. Margins.Left = 6
  164. Margins.Top = 6
  165. Margins.Right = 6
  166. Margins.Bottom = 6
  167. Style = csDropDownList
  168. ItemIndex = 1
  169. TabOrder = 5
  170. Text = 'HeightField'
  171. OnChange = cbSurfaceChange
  172. Items.Strings = (
  173. 'Plane'
  174. 'HeightField')
  175. end
  176. end
  177. object GLScene1: TGLScene
  178. Left = 168
  179. Top = 8
  180. object GLDummyCube1: TGLDummyCube
  181. Position.Coordinates = {000000000000803F000000000000803F}
  182. CubeSize = 1.000000000000000000
  183. object GLCamera1: TGLCamera
  184. DepthOfView = 100.000000000000000000
  185. FocalLength = 50.000000000000000000
  186. TargetObject = GLDummyCube1
  187. Position.Coordinates = {0000803F000040400000A0400000803F}
  188. object GLLightSource1: TGLLightSource
  189. ConstAttenuation = 1.000000000000000000
  190. LightStyle = lsOmni
  191. SpotCutOff = 180.000000000000000000
  192. end
  193. end
  194. end
  195. object GLHeightField1: TGLHeightField
  196. Direction.Coordinates = {000000000000803F0000000000000000}
  197. Up.Coordinates = {00000000000000000000803F00000000}
  198. Visible = False
  199. XSamplingScale.Min = -10.000000000000000000
  200. XSamplingScale.Max = 10.000000000000000000
  201. XSamplingScale.Step = 0.500000000000000000
  202. YSamplingScale.Min = -10.000000000000000000
  203. YSamplingScale.Max = 10.000000000000000000
  204. YSamplingScale.Step = 0.500000000000000000
  205. Options = []
  206. OnGetHeight = GLHeightField1GetHeight
  207. BehavioursData = {
  208. 0458434F4C02010201061154474C4F44454865696768744669656C6402000618
  209. 4F4445204865696768744669656C6420436F6C6C696465720200020012000000
  210. 0002000500000000006F1283F53F0800000500000000000000FA084005000000
  211. 0000000000000005000000000000000000000500000000000000000000050000
  212. 0000000000000000050000000000000000000005000000000000000000000500
  213. 0000000000000000000500000000000000000000050000000000000000000002
  214. 00050000000000000080FF3F080500000000000000C000400000803F0200}
  215. end
  216. object GLPlane1: TGLPlane
  217. Direction.Coordinates = {000000000000803F0000000000000000}
  218. Up.Coordinates = {00000000000000000000803F00000000}
  219. Height = 10.000000000000000000
  220. Width = 10.000000000000000000
  221. BehavioursData = {
  222. 0458434F4C02010201060C54474C4F44455374617469630200060A4F44452053
  223. 746174696302000200120000000002000500000000006F1283F53F0800000500
  224. 000000000000FA08400500000000000000000000050000000000000000000005
  225. 0000000000000000000005000000000000000000000500000000000000000000
  226. 0500000000000000000000050000000000000000000005000000000000000000
  227. 00050000000000000000000002000458434F4C02010201061254474C4F444545
  228. 6C656D656E74506C616E65020102000605506C616E6502000200080200080200
  229. 08050000000000000080FF3F}
  230. end
  231. object ODEObjects: TGLDummyCube
  232. CubeSize = 1.000000000000000000
  233. end
  234. object GLRenderPoint1: TGLRenderPoint
  235. end
  236. end
  237. object GLCadencer1: TGLCadencer
  238. Scene = GLScene1
  239. MaxDeltaTime = 0.020000000000000000
  240. OnProgress = GLCadencer1Progress
  241. Left = 256
  242. Top = 8
  243. end
  244. object GLODEManager1: TGLODEManager
  245. Gravity.Coordinates = {00000000C3F51CC1000000000000803F}
  246. Solver = osmQuickStep
  247. Iterations = 3
  248. MaxContacts = 8
  249. RenderPoint = GLRenderPoint1
  250. Visible = False
  251. VisibleAtRunTime = True
  252. Left = 192
  253. Top = 88
  254. end
  255. end