fdOdeClothify.dfm 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453
  1. object FormClothify: TFormClothify
  2. Left = 34
  3. Top = 114
  4. Caption = 'Clothify'
  5. ClientHeight = 498
  6. ClientWidth = 715
  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. Position = poScreenCenter
  14. WindowState = wsMaximized
  15. OnCreate = FormCreate
  16. OnMouseWheel = FormMouseWheel
  17. TextHeight = 13
  18. object GLSceneViewer1: TGLSceneViewer
  19. Left = 0
  20. Top = 60
  21. Width = 715
  22. Height = 438
  23. Camera = GLCamera1
  24. Buffer.BackgroundColor = clGray
  25. Buffer.AmbientColor.Color = {CDCC4C3DCDCC4C3DCDCC4C3D0000803F}
  26. Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow, roTwoSideLighting]
  27. Buffer.FaceCulling = False
  28. FieldOfView = 142.190841674804700000
  29. PenAsTouch = False
  30. Align = alClient
  31. OnMouseMove = GLSceneViewer1MouseMove
  32. TabOrder = 0
  33. end
  34. object GroupBox_LoadForm: TGroupBox
  35. Left = 48
  36. Top = 88
  37. Width = 649
  38. Height = 65
  39. Caption = 'Load Settings'
  40. TabOrder = 1
  41. Visible = False
  42. object Label2: TLabel
  43. Left = 8
  44. Top = 16
  45. Width = 26
  46. Height = 13
  47. Caption = 'Mesh'
  48. end
  49. object Label4: TLabel
  50. Left = 152
  51. Top = 16
  52. Width = 27
  53. Height = 13
  54. Caption = 'Mode'
  55. end
  56. object Label5: TLabel
  57. Left = 248
  58. Top = 16
  59. Width = 34
  60. Height = 13
  61. Caption = 'Collider'
  62. end
  63. object ComboBox_MeshName: TComboBox
  64. Left = 8
  65. Top = 32
  66. Width = 137
  67. Height = 21
  68. Style = csDropDownList
  69. TabOrder = 0
  70. Items.Strings = (
  71. 'Trinityrage.smd, 0.15'
  72. 'HalfSphere.ms3d, 2'
  73. 'Cylinder.ms3d, 0.3'
  74. 'lgrid.3ds, 3'
  75. 'BigHoleBox2.ms3d, 0.5'
  76. 'mushroom.3ds, 0.08'
  77. 'polyhedron.3ds, 2'
  78. 'teapot.3ds, 0.1')
  79. end
  80. object ComboBox_ConstraintType: TComboBox
  81. Left = 152
  82. Top = 32
  83. Width = 89
  84. Height = 21
  85. Style = csDropDownList
  86. TabOrder = 1
  87. Items.Strings = (
  88. 'Constraints'
  89. 'Forces')
  90. end
  91. object ComboBox_Collider: TComboBox
  92. Left = 248
  93. Top = 32
  94. Width = 73
  95. Height = 21
  96. Style = csDropDownList
  97. TabOrder = 2
  98. Items.Strings = (
  99. 'Sphere'
  100. 'Infinite Cylinder'
  101. 'Cube'
  102. 'Stairs'
  103. 'Capsule'
  104. 'ODE Sphere'
  105. '(none)')
  106. end
  107. object Button_LoadMesh: TButton
  108. Left = 549
  109. Top = 32
  110. Width = 36
  111. Height = 21
  112. Caption = 'OK'
  113. Default = True
  114. TabOrder = 3
  115. OnClick = Button_LoadMeshClick
  116. end
  117. object CheckBox_UseOctree: TCheckBox
  118. Left = 384
  119. Top = 34
  120. Width = 81
  121. Height = 17
  122. Caption = 'Use Octree'
  123. TabOrder = 4
  124. end
  125. object CheckBox_SolidEdges: TCheckBox
  126. Left = 464
  127. Top = 34
  128. Width = 81
  129. Height = 17
  130. Caption = 'Solid Edges'
  131. TabOrder = 5
  132. end
  133. object CheckBox_Weld: TCheckBox
  134. Left = 328
  135. Top = 34
  136. Width = 49
  137. Height = 17
  138. Caption = 'Weld'
  139. Checked = True
  140. State = cbChecked
  141. TabOrder = 6
  142. end
  143. object Button_CancelLoad: TButton
  144. Left = 589
  145. Top = 32
  146. Width = 44
  147. Height = 21
  148. Caption = 'Cancel'
  149. TabOrder = 7
  150. OnClick = Button_CancelLoadClick
  151. end
  152. end
  153. object Panel1: TPanel
  154. Left = 0
  155. Top = 0
  156. Width = 715
  157. Height = 60
  158. Align = alTop
  159. TabOrder = 2
  160. ExplicitWidth = 707
  161. DesignSize = (
  162. 715
  163. 60)
  164. object Label3: TLabel
  165. Left = 8
  166. Top = 0
  167. Width = 27
  168. Height = 13
  169. Caption = 'Slack'
  170. end
  171. object Label6: TLabel
  172. Left = 104
  173. Top = 0
  174. Width = 43
  175. Height = 13
  176. Caption = 'Iterations'
  177. end
  178. object Label7: TLabel
  179. Left = 192
  180. Top = 0
  181. Width = 34
  182. Height = 13
  183. Caption = 'Friction'
  184. end
  185. object Label8: TLabel
  186. Left = 416
  187. Top = 0
  188. Width = 44
  189. Height = 13
  190. Caption = 'Shadows'
  191. end
  192. object Label1: TLabel
  193. Left = 583
  194. Top = 19
  195. Width = 38
  196. Height = 13
  197. Anchors = [akTop, akRight]
  198. Caption = '0,0 FPS'
  199. end
  200. object TrackBar_Slack: TTrackBar
  201. Left = 0
  202. Top = 14
  203. Width = 97
  204. Height = 25
  205. Max = 100
  206. TabOrder = 0
  207. TickStyle = tsNone
  208. OnChange = TrackBar_SlackChange
  209. end
  210. object TrackBar_Iterations: TTrackBar
  211. Left = 96
  212. Top = 14
  213. Width = 81
  214. Height = 25
  215. Max = 30
  216. Min = 1
  217. Position = 4
  218. TabOrder = 1
  219. TickStyle = tsNone
  220. OnChange = TrackBar_IterationsChange
  221. end
  222. object TrackBar_Friction: TTrackBar
  223. Left = 184
  224. Top = 14
  225. Width = 81
  226. Height = 25
  227. Max = 100
  228. Position = 60
  229. TabOrder = 2
  230. TickStyle = tsNone
  231. OnChange = TrackBar_FrictionChange
  232. end
  233. object CheckBox_ShowOctree: TCheckBox
  234. Left = 272
  235. Top = 15
  236. Width = 81
  237. Height = 17
  238. Caption = 'Show Octree'
  239. TabOrder = 3
  240. end
  241. object Button_OpenLoadForm: TButton
  242. Left = 360
  243. Top = 11
  244. Width = 51
  245. Height = 21
  246. Caption = '&Load'
  247. TabOrder = 4
  248. OnClick = Button_OpenLoadFormClick
  249. end
  250. object ComboBox_Shadow: TComboBox
  251. Left = 416
  252. Top = 16
  253. Width = 145
  254. Height = 21
  255. Style = csDropDownList
  256. TabOrder = 5
  257. OnChange = ComboBox_ShadowChange
  258. Items.Strings = (
  259. '(no shadows)'
  260. 'Shadow Volumes'
  261. 'Simple Shadow Plane')
  262. end
  263. end
  264. object GLScene1: TGLScene
  265. Left = 40
  266. Top = 168
  267. object GLShadowVolume1: TGLShadowVolume
  268. Lights = <
  269. item
  270. LightSource = GLLightSource1
  271. end>
  272. Occluders = <
  273. item
  274. Caster = GLCube_Stair1
  275. end
  276. item
  277. Caster = GLCube_Stair2
  278. end
  279. item
  280. Caster = GLCube_Stair3
  281. end
  282. item
  283. Caster = GLCube_Stair4
  284. end
  285. item
  286. Caster = GLCube1
  287. end
  288. item
  289. Caster = GLCylinder1
  290. end
  291. item
  292. Caster = GLShadowPlane1
  293. end
  294. item
  295. Caster = GLSphere1
  296. end
  297. item
  298. Caster = GLSphere2
  299. end
  300. item
  301. Caster = GLSphere3
  302. end
  303. item
  304. Caster = GL_Capsule
  305. end>
  306. Options = [svoCacheSilhouettes, svoScissorClips, svoWorldScissorClip, svoDesignVisible]
  307. Mode = svmDarkening
  308. object GLDummyCube1: TGLDummyCube
  309. CubeSize = 1.000000000000000000
  310. object GLDummyCube_Light: TGLDummyCube
  311. CubeSize = 1.000000000000000000
  312. object GLLightSource1: TGLLightSource
  313. ConstAttenuation = 1.000000000000000000
  314. Position.Coordinates = {0000C040000090410000C0400000803F}
  315. SpotCutOff = 180.000000000000000000
  316. end
  317. end
  318. object GL_Capsule: TGLCylinder
  319. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  320. Direction.Coordinates = {F304353FF304353F0000000000000000}
  321. Up.Coordinates = {F30435BFF304353F0000000000000000}
  322. BottomRadius = 1.500000000000000000
  323. Height = 2.000000000000000000
  324. TopRadius = 1.500000000000000000
  325. object GLSphere2: TGLSphere
  326. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  327. Position.Coordinates = {000000000000803F000000000000803F}
  328. Radius = 1.500000000000000000
  329. end
  330. object GLSphere3: TGLSphere
  331. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  332. Position.Coordinates = {00000000000080BF000000000000803F}
  333. Radius = 1.500000000000000000
  334. end
  335. end
  336. object GLDummyCube2: TGLDummyCube
  337. Position.Coordinates = {0000000000007041000000000000803F}
  338. CubeSize = 1.000000000000000000
  339. object GLActor1: TGLActor
  340. Material.BackProperties.Diffuse.Color = {0000803F0000803F000000000000803F}
  341. Material.FrontProperties.Diffuse.Color = {1283003F0000803F000000000000803F}
  342. Material.FaceCulling = fcNoCull
  343. Interval = 100
  344. MaterialLibrary = GLMaterialLibrary1
  345. end
  346. object GLActor2: TGLActor
  347. Interval = 100
  348. end
  349. end
  350. object GLSphere1: TGLSphere
  351. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  352. Position.Coordinates = {00000000000000C0000000000000803F}
  353. Visible = False
  354. Radius = 2.000000000000000000
  355. end
  356. object GLCylinder1: TGLCylinder
  357. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  358. Direction.Coordinates = {0000803F000000000000008000000000}
  359. Position.Coordinates = {000000000000C0BF000000000000803F}
  360. Up.Coordinates = {00000000000000000000803F00000000}
  361. Visible = False
  362. BottomRadius = 1.500000000000000000
  363. Height = 50.000000000000000000
  364. Slices = 24
  365. Stacks = 16
  366. TopRadius = 1.500000000000000000
  367. end
  368. object GLShadowPlane1: TGLShadowPlane
  369. Material.FrontProperties.Diffuse.Color = {1283003F1283003F000000000000803F}
  370. Direction.Coordinates = {000000000000803F0000000000000000}
  371. Position.Coordinates = {00000000EC51A0C0000000000000803F}
  372. Up.Coordinates = {0000000000000000000080BF00000000}
  373. Visible = False
  374. Height = 60.000000000000000000
  375. Width = 60.000000000000000000
  376. XTiles = 30
  377. YTiles = 30
  378. Style = [psTileTexture]
  379. ShadowingObject = GLDummyCube1
  380. ShadowedLight = GLLightSource1
  381. ShadowOptions = [spoUseStencil]
  382. end
  383. object GLCube1: TGLCube
  384. Material.FrontProperties.Diffuse.Color = {8180003F8180003F0000803F0000803F}
  385. Position.Coordinates = {00000000000000C0000000000000803F}
  386. Visible = False
  387. CubeSize = {000040400000404000004040}
  388. end
  389. object GLDummyCube_Stairs: TGLDummyCube
  390. Visible = False
  391. CubeSize = 1.000000000000000000
  392. object GLCube_Stair1: TGLCube
  393. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  394. Position.Coordinates = {0000000000000040000000000000803F}
  395. CubeSize = {000000400000004000006041}
  396. end
  397. object GLCube_Stair2: TGLCube
  398. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  399. CubeSize = {0000C0400000004000006041}
  400. end
  401. object GLCube_Stair3: TGLCube
  402. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  403. Position.Coordinates = {00000000000000C0000000000000803F}
  404. CubeSize = {000020410000004000006041}
  405. end
  406. object GLCube_Stair4: TGLCube
  407. Material.FrontProperties.Diffuse.Color = {1283003F1283003F0000803F0000803F}
  408. Position.Coordinates = {00000000000080C0000000000000803F}
  409. CubeSize = {000060410000004000006041}
  410. end
  411. end
  412. object GLPlane1: TGLPlane
  413. Material.FrontProperties.Ambient.Color = {0000000000000000000000000000803F}
  414. Material.FrontProperties.Diffuse.Color = {1283003F1283003F000000000000803F}
  415. Direction.Coordinates = {000000000000803F0000000000000000}
  416. Position.Coordinates = {000000000000A0C0000000000000803F}
  417. Up.Coordinates = {0000000000000000000080BF00000000}
  418. Height = 60.000000000000000000
  419. Width = 60.000000000000000000
  420. XTiles = 30
  421. YTiles = 30
  422. Style = [psTileTexture]
  423. end
  424. end
  425. end
  426. object GLDirectOpenGL1: TGLDirectOpenGL
  427. UseBuildList = False
  428. OnRender = GLDirectOpenGL1Render
  429. Blend = False
  430. end
  431. object GLCamera1: TGLCamera
  432. DepthOfView = 1.000000033181354E32
  433. FocalLength = 75.000000000000000000
  434. TargetObject = GLDummyCube1
  435. Position.Coordinates = {0000704100002041000070410000803F}
  436. end
  437. end
  438. object GLMaterialLibrary1: TGLMaterialLibrary
  439. Left = 40
  440. Top = 224
  441. end
  442. object GLCadencer1: TGLCadencer
  443. Scene = GLScene1
  444. OnProgress = GLCadencer1Progress
  445. Left = 144
  446. Top = 168
  447. end
  448. object Timer1: TTimer
  449. OnTimer = Timer1Timer
  450. Left = 144
  451. Top = 224
  452. end
  453. end