Unit1.dfm 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  1. object Form1: TForm1
  2. Left = 0
  3. Top = 0
  4. Caption = 'ODE Conveyor'
  5. ClientHeight = 422
  6. ClientWidth = 558
  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. Position = poScreenCenter
  15. WindowState = wsMaximized
  16. OnCreate = FormCreate
  17. OnShow = FormShow
  18. PixelsPerInch = 96
  19. TextHeight = 13
  20. object GLSceneViewer1: TGLSceneViewer
  21. Left = 193
  22. Top = 0
  23. Width = 365
  24. Height = 422
  25. Camera = GLCamera1
  26. Buffer.BackgroundColor = clBackground
  27. FieldOfView = 149.356979370117200000
  28. PenAsTouch = False
  29. Align = alClient
  30. TabOrder = 0
  31. end
  32. object Panel1: TPanel
  33. Left = 0
  34. Top = 0
  35. Width = 193
  36. Height = 422
  37. Align = alLeft
  38. Caption = ' '
  39. TabOrder = 1
  40. object Label1: TLabel
  41. Left = 16
  42. Top = 54
  43. Width = 100
  44. Height = 13
  45. Caption = 'Conveyor belt speed'
  46. end
  47. object Label2: TLabel
  48. Left = 16
  49. Top = 118
  50. Width = 90
  51. Height = 13
  52. Caption = 'Friction Coefficient'
  53. end
  54. object FrictionFeedback: TLabel
  55. Left = 71
  56. Top = 140
  57. Width = 8
  58. Height = 13
  59. Caption = '='
  60. end
  61. object Label3: TLabel
  62. Left = 16
  63. Top = 174
  64. Width = 91
  65. Height = 13
  66. Caption = 'Conveyor direction'
  67. end
  68. object Label4: TLabel
  69. Left = 18
  70. Top = 204
  71. Width = 6
  72. Height = 13
  73. Caption = 'X'
  74. end
  75. object Label5: TLabel
  76. Left = 18
  77. Top = 231
  78. Width = 6
  79. Height = 13
  80. Caption = 'Y'
  81. end
  82. object Label6: TLabel
  83. Left = 18
  84. Top = 258
  85. Width = 6
  86. Height = 13
  87. Caption = 'Z'
  88. end
  89. object NormZ: TLabel
  90. Left = 85
  91. Top = 259
  92. Width = 6
  93. Height = 13
  94. Caption = 'Z'
  95. end
  96. object NormY: TLabel
  97. Left = 85
  98. Top = 232
  99. Width = 6
  100. Height = 13
  101. Caption = 'Y'
  102. end
  103. object NormX: TLabel
  104. Left = 85
  105. Top = 205
  106. Width = 6
  107. Height = 13
  108. Caption = 'X'
  109. end
  110. object TrackBarMotionSpeed: TTrackBar
  111. Left = 8
  112. Top = 73
  113. Width = 179
  114. Height = 45
  115. Max = 20
  116. TabOrder = 0
  117. OnChange = TrackBarMotionSpeedChange
  118. end
  119. object Friction: TEdit
  120. Left = 16
  121. Top = 137
  122. Width = 49
  123. Height = 21
  124. TabOrder = 1
  125. OnChange = FrictionChange
  126. end
  127. object FDirX: TEdit
  128. Left = 30
  129. Top = 201
  130. Width = 49
  131. Height = 21
  132. TabOrder = 2
  133. end
  134. object FDirY: TEdit
  135. Left = 30
  136. Top = 228
  137. Width = 49
  138. Height = 21
  139. TabOrder = 3
  140. end
  141. object FDirZ: TEdit
  142. Left = 30
  143. Top = 255
  144. Width = 49
  145. Height = 21
  146. TabOrder = 4
  147. end
  148. object AddODECube: TButton
  149. Left = 16
  150. Top = 8
  151. Width = 90
  152. Height = 25
  153. Caption = 'Add Cube'
  154. TabOrder = 5
  155. OnClick = AddODECubeClick
  156. end
  157. end
  158. object GLScene1: TGLScene
  159. Left = 208
  160. Top = 8
  161. object GLCamera1: TGLCamera
  162. DepthOfView = 100.000000000000000000
  163. FocalLength = 50.000000000000000000
  164. TargetObject = GLCube1
  165. Position.Coordinates = {0000A0400000A040000020C10000803F}
  166. object GLLightSource1: TGLLightSource
  167. ConstAttenuation = 1.000000000000000000
  168. Position.Coordinates = {00000040000000400000803F0000803F}
  169. SpotCutOff = 180.000000000000000000
  170. end
  171. end
  172. object ConveyorBelt1: TGLCube
  173. Material.FrontProperties.Diffuse.Color = {C9C8C83EC9C8C83EC9C8C83E0000803F}
  174. BehavioursData = {
  175. 0458434F4C02010201060C54474C4F44455374617469630200060A4F44452053
  176. 746174696302000200060D474C4F44454D616E61676572310200050000000000
  177. 00000000000822000500000000000000C8054005000000000000000000000500
  178. 0000000000000000000500000000000000000000050000000000000000000005
  179. 0000000000000000000005000000000000000000000500000000000000000000
  180. 0500000000000000000000050000000000000000000002000458434F4C020102
  181. 01061254474C4F4445456C656D656E74506C616E65020102000605506C616E65
  182. 0200020008020008020008050000000000000080FF3F}
  183. CubeSize = {00000040CDCCCC3D0000A041}
  184. end
  185. object GLCube1: TGLCube
  186. Position.Coordinates = {000000000000803F000000C10000803F}
  187. BehavioursData = {
  188. 0458434F4C02010201060D54474C4F444544796E616D69630200060B4F444520
  189. 44796E616D696302000200060D474C4F44454D616E6167657231020005000000
  190. 00006F1283F53F08000005000000000000000000000500000000000000000000
  191. 0500000000000000000000050000000000000000000005000000000000000000
  192. 0005000000000000000000000500000000000000000000050000000000000000
  193. 00000500000000000000000000050000000000000000000002010458434F4C02
  194. 010201061054474C4F4445456C656D656E74426F7802000603426F7802000200
  195. 08020008020008050000000000000080FF3F0200050000000000000080FF3F05
  196. 0000000000000080FF3F050000000000000080FF3F09}
  197. end
  198. object GLRenderPoint1: TGLRenderPoint
  199. end
  200. object SpawnPoint: TGLDummyCube
  201. Position.Coordinates = {0000000000004040000000C10000803F}
  202. CubeSize = 1.000000000000000000
  203. end
  204. end
  205. object GLCadencer1: TGLCadencer
  206. Scene = GLScene1
  207. Enabled = False
  208. OnProgress = GLCadencer1Progress
  209. Left = 280
  210. Top = 8
  211. end
  212. object GLODEManager1: TGLODEManager
  213. Gravity.Coordinates = {00000000C3F51CC1000000000000803F}
  214. OnCollision = GLODEManager1Collision
  215. Solver = osmDefault
  216. Iterations = 3
  217. MaxContacts = 8
  218. RenderPoint = GLRenderPoint1
  219. Visible = True
  220. VisibleAtRunTime = True
  221. Left = 360
  222. Top = 8
  223. end
  224. object GLSimpleNavigation1: TGLSimpleNavigation
  225. Form = Owner
  226. GLSceneViewer = GLSceneViewer1
  227. FormCaption = 'Conveyor - %FPS'
  228. KeyCombinations = <
  229. item
  230. ShiftState = [ssLeft, ssRight]
  231. Action = snaZoom
  232. end
  233. item
  234. ShiftState = [ssLeft]
  235. Action = snaMoveAroundTarget
  236. end
  237. item
  238. ShiftState = [ssRight]
  239. Action = snaMoveAroundTarget
  240. end>
  241. Left = 280
  242. Top = 64
  243. end
  244. end