fdOdeSimple.dfm 5.8 KB

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