| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- object FormOdeSimple: TFormOdeSimple
- Left = 192
- Top = 105
- Margins.Left = 4
- Margins.Top = 4
- Margins.Right = 4
- Margins.Bottom = 4
- Caption = 'Simple ODE'
- ClientHeight = 739
- ClientWidth = 1126
- Color = clBtnFace
- Font.Charset = DEFAULT_CHARSET
- Font.Color = clWindowText
- Font.Height = -19
- Font.Name = 'MS Sans Serif'
- Font.Style = []
- Position = poScreenCenter
- PixelsPerInch = 168
- TextHeight = 24
- object GLSceneViewer1: TGLSceneViewer
- Left = 267
- Top = 0
- Width = 859
- Height = 739
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Camera = GLCamera1
- Buffer.BackgroundColor = clSkyBlue
- Buffer.ContextOptions = [roDoubleBuffer, roStencilBuffer, roRenderToWindow]
- FieldOfView = 164.587310791015600000
- PenAsTouch = False
- Align = alClient
- OnMouseDown = GLSceneViewer1MouseDown
- OnMouseMove = GLSceneViewer1MouseMove
- TabOrder = 0
- end
- object Panel1: TPanel
- Left = 0
- Top = 0
- Width = 267
- Height = 739
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Align = alLeft
- TabOrder = 1
- object Label1: TLabel
- Left = 14
- Top = 112
- Width = 148
- Height = 24
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Choose an object'
- end
- object Label2: TLabel
- Left = 14
- Top = 364
- Width = 165
- Height = 48
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'HeightField Contact Resolution'
- WordWrap = True
- end
- object Label3: TLabel
- Left = 14
- Top = 14
- Width = 172
- Height = 24
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Choose surface type'
- end
- object Spawn: TButton
- Left = 70
- Top = 196
- Width = 132
- Height = 43
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Spawn'
- TabOrder = 0
- OnClick = SpawnClick
- end
- object cbObjects: TComboBox
- Left = 14
- Top = 140
- Width = 239
- Height = 32
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Style = csDropDownList
- ItemIndex = 0
- TabOrder = 1
- Text = 'Sphere'
- Items.Strings = (
- 'Sphere'
- 'Box'
- 'Capsule (CCylinder)'
- 'Cylinder'
- 'Cone')
- end
- object chbElements: TCheckBox
- Left = 14
- Top = 252
- Width = 225
- Height = 29
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Show ODE Elements'
- TabOrder = 2
- OnClick = chbElementsClick
- end
- object chbContacts: TCheckBox
- Left = 14
- Top = 294
- Width = 225
- Height = 57
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Caption = 'Show HeightField Contacts'
- TabOrder = 3
- WordWrap = True
- OnClick = chbContactsClick
- end
- object TrackBar1: TTrackBar
- Left = 18
- Top = 448
- Width = 240
- Height = 60
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- TabOrder = 4
- ThumbLength = 18
- TickMarks = tmBoth
- OnChange = TrackBar1Change
- end
- object cbSurface: TComboBox
- Left = 14
- Top = 42
- Width = 239
- Height = 32
- Margins.Left = 6
- Margins.Top = 6
- Margins.Right = 6
- Margins.Bottom = 6
- Style = csDropDownList
- ItemIndex = 1
- TabOrder = 5
- Text = 'HeightField'
- OnChange = cbSurfaceChange
- Items.Strings = (
- 'Plane'
- 'HeightField')
- end
- end
- object GLScene1: TGLScene
- Left = 168
- Top = 8
- object GLDummyCube1: TGLDummyCube
- Position.Coordinates = {000000000000803F000000000000803F}
- CubeSize = 1.000000000000000000
- object GLCamera1: TGLCamera
- DepthOfView = 100.000000000000000000
- FocalLength = 50.000000000000000000
- TargetObject = GLDummyCube1
- Position.Coordinates = {0000803F000040400000A0400000803F}
- object GLLightSource1: TGLLightSource
- ConstAttenuation = 1.000000000000000000
- LightStyle = lsOmni
- SpotCutOff = 180.000000000000000000
- end
- end
- end
- object GLHeightField1: TGLHeightField
- Direction.Coordinates = {000000000000803F0000000000000000}
- Up.Coordinates = {00000000000000000000803F00000000}
- Visible = False
- XSamplingScale.Min = -10.000000000000000000
- XSamplingScale.Max = 10.000000000000000000
- XSamplingScale.Step = 0.500000000000000000
- YSamplingScale.Min = -10.000000000000000000
- YSamplingScale.Max = 10.000000000000000000
- YSamplingScale.Step = 0.500000000000000000
- Options = []
- OnGetHeight = GLHeightField1GetHeight
- BehavioursData = {
- 0458434F4C02010201061154474C4F44454865696768744669656C6402000618
- 4F4445204865696768744669656C6420436F6C6C696465720200020012000000
- 0002000500000000006F1283F53F0800000500000000000000FA084005000000
- 0000000000000005000000000000000000000500000000000000000000050000
- 0000000000000000050000000000000000000005000000000000000000000500
- 0000000000000000000500000000000000000000050000000000000000000002
- 00050000000000000080FF3F080500000000000000C000400000803F0200}
- end
- object GLPlane1: TGLPlane
- Direction.Coordinates = {000000000000803F0000000000000000}
- Up.Coordinates = {00000000000000000000803F00000000}
- Height = 10.000000000000000000
- Width = 10.000000000000000000
- BehavioursData = {
- 0458434F4C02010201060C54474C4F44455374617469630200060A4F44452053
- 746174696302000200120000000002000500000000006F1283F53F0800000500
- 000000000000FA08400500000000000000000000050000000000000000000005
- 0000000000000000000005000000000000000000000500000000000000000000
- 0500000000000000000000050000000000000000000005000000000000000000
- 00050000000000000000000002000458434F4C02010201061254474C4F444545
- 6C656D656E74506C616E65020102000605506C616E6502000200080200080200
- 08050000000000000080FF3F}
- end
- object ODEObjects: TGLDummyCube
- CubeSize = 1.000000000000000000
- end
- object GLRenderPoint1: TGLRenderPoint
- end
- end
- object GLCadencer1: TGLCadencer
- Scene = GLScene1
- MaxDeltaTime = 0.020000000000000000
- OnProgress = GLCadencer1Progress
- Left = 256
- Top = 8
- end
- object GLODEManager1: TGLODEManager
- Gravity.Coordinates = {00000000C3F51CC1000000000000803F}
- Solver = osmQuickStep
- Iterations = 3
- MaxContacts = 8
- RenderPoint = GLRenderPoint1
- Visible = False
- VisibleAtRunTime = True
- Left = 192
- Top = 88
- end
- end
|