Unit1.dfm 5.8 KB

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