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. Align = alClient
  29. TabOrder = 0
  30. end
  31. object Panel1: TPanel
  32. Left = 0
  33. Top = 0
  34. Width = 193
  35. Height = 422
  36. Align = alLeft
  37. Caption = ' '
  38. TabOrder = 1
  39. object Label1: TLabel
  40. Left = 16
  41. Top = 54
  42. Width = 100
  43. Height = 13
  44. Caption = 'Conveyor belt speed'
  45. end
  46. object Label2: TLabel
  47. Left = 16
  48. Top = 118
  49. Width = 90
  50. Height = 13
  51. Caption = 'Friction Coefficient'
  52. end
  53. object FrictionFeedback: TLabel
  54. Left = 71
  55. Top = 140
  56. Width = 8
  57. Height = 13
  58. Caption = '='
  59. end
  60. object Label3: TLabel
  61. Left = 16
  62. Top = 174
  63. Width = 91
  64. Height = 13
  65. Caption = 'Conveyor direction'
  66. end
  67. object Label4: TLabel
  68. Left = 18
  69. Top = 204
  70. Width = 6
  71. Height = 13
  72. Caption = 'X'
  73. end
  74. object Label5: TLabel
  75. Left = 18
  76. Top = 231
  77. Width = 6
  78. Height = 13
  79. Caption = 'Y'
  80. end
  81. object Label6: TLabel
  82. Left = 18
  83. Top = 258
  84. Width = 6
  85. Height = 13
  86. Caption = 'Z'
  87. end
  88. object NormZ: TLabel
  89. Left = 85
  90. Top = 259
  91. Width = 6
  92. Height = 13
  93. Caption = 'Z'
  94. end
  95. object NormY: TLabel
  96. Left = 85
  97. Top = 232
  98. Width = 6
  99. Height = 13
  100. Caption = 'Y'
  101. end
  102. object NormX: TLabel
  103. Left = 85
  104. Top = 205
  105. Width = 6
  106. Height = 13
  107. Caption = 'X'
  108. end
  109. object TrackBarMotionSpeed: TTrackBar
  110. Left = 8
  111. Top = 73
  112. Width = 179
  113. Height = 45
  114. Max = 20
  115. TabOrder = 0
  116. OnChange = TrackBarMotionSpeedChange
  117. end
  118. object Friction: TEdit
  119. Left = 16
  120. Top = 137
  121. Width = 49
  122. Height = 21
  123. TabOrder = 1
  124. OnChange = FrictionChange
  125. end
  126. object FDirX: TEdit
  127. Left = 30
  128. Top = 201
  129. Width = 49
  130. Height = 21
  131. TabOrder = 2
  132. end
  133. object FDirY: TEdit
  134. Left = 30
  135. Top = 228
  136. Width = 49
  137. Height = 21
  138. TabOrder = 3
  139. end
  140. object FDirZ: TEdit
  141. Left = 30
  142. Top = 255
  143. Width = 49
  144. Height = 21
  145. TabOrder = 4
  146. end
  147. object AddODECube: TButton
  148. Left = 16
  149. Top = 8
  150. Width = 90
  151. Height = 25
  152. Caption = 'Add Cube'
  153. TabOrder = 5
  154. OnClick = AddODECubeClick
  155. end
  156. end
  157. object GLScene1: TGLScene
  158. Left = 208
  159. Top = 8
  160. object GLCamera1: TGLCamera
  161. DepthOfView = 100.000000000000000000
  162. FocalLength = 50.000000000000000000
  163. TargetObject = GLCube1
  164. Position.Coordinates = {0000A0400000A040000020C10000803F}
  165. object GLLightSource1: TGLLightSource
  166. ConstAttenuation = 1.000000000000000000
  167. Position.Coordinates = {00000040000000400000803F0000803F}
  168. SpotCutOff = 180.000000000000000000
  169. end
  170. end
  171. object ConveyorBelt1: TGLCube
  172. Material.FrontProperties.Diffuse.Color = {C9C8C83EC9C8C83EC9C8C83E0000803F}
  173. BehavioursData = {
  174. 0458434F4C02010201060C54474C4F44455374617469630200060A4F44452053
  175. 746174696302000200060D474C4F44454D616E61676572310200050000000000
  176. 00000000000822000500000000000000C8054005000000000000000000000500
  177. 0000000000000000000500000000000000000000050000000000000000000005
  178. 0000000000000000000005000000000000000000000500000000000000000000
  179. 0500000000000000000000050000000000000000000002000458434F4C020102
  180. 01060E544F4445456C656D656E74426F7802000603426F780200020008020008
  181. 020008050000000000000080FF3F020005000000000000008000400500000000
  182. 00CDCCCCFB3F0500000000000000A00340}
  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. 010201060E544F4445456C656D656E74426F7802000603426F78020002000802
  195. 0008020008050000000000000080FF3F0200050000000000000080FF3F050000
  196. 000000000080FF3F050000000000000080FF3F09}
  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