fOdeSimple.dfm 5.7 KB

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