fdMousePick.dfm 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. object FormNewtonMousePick: TFormNewtonMousePick
  2. Left = 0
  3. Top = 0
  4. Caption = 'Newton Mouse Pick'
  5. ClientHeight = 444
  6. ClientWidth = 729
  7. Color = clBtnFace
  8. Font.Charset = DEFAULT_CHARSET
  9. Font.Color = clWindowText
  10. Font.Height = -11
  11. Font.Name = 'Tahoma'
  12. Font.Style = []
  13. Position = poScreenCenter
  14. OnCreate = FormCreate
  15. TextHeight = 13
  16. object GLSceneViewer1: TGLSceneViewer
  17. Left = 0
  18. Top = 0
  19. Width = 729
  20. Height = 444
  21. Camera = GLCamera1
  22. Buffer.BackgroundColor = clBackground
  23. FieldOfView = 154.614669799804700000
  24. PenAsTouch = False
  25. Align = alClient
  26. OnMouseDown = GLSceneViewer1MouseDown
  27. OnMouseMove = GLSceneViewer1MouseMove
  28. OnMouseUp = GLSceneViewer1MouseUp
  29. TabOrder = 0
  30. end
  31. object GLScene1: TGLScene
  32. Left = 160
  33. object GLCamera1: TGLCamera
  34. DepthOfView = 100.000000000000000000
  35. FocalLength = 50.000000000000000000
  36. Position.Coordinates = {0000000000004040000020410000803F}
  37. object GLLightSource1: TGLLightSource
  38. ConstAttenuation = 1.000000000000000000
  39. SpotCutOff = 180.000000000000000000
  40. end
  41. end
  42. object Floor: TGLCube
  43. Position.Coordinates = {00000000000080BF000000000000803F}
  44. BehavioursData = {
  45. 0458434F4C02010201060C54474C4E47445374617469630200060A4E47442053
  46. 746174696302000201060D474C4E47444D616E61676572310800080500000000
  47. 000AD7A3F83F1200000000}
  48. CubeSize = {000020410000803F00002041}
  49. object GLCube2: TGLCube
  50. Position.Coordinates = {000000000000A0400000A0C00000803F}
  51. BehavioursData = {
  52. 0458434F4C02010201060C54474C4E47445374617469630200060A4E47442053
  53. 746174696302000201060D474C4E47444D616E61676572310800080500000000
  54. 000AD7A3F83F1200000000}
  55. CubeSize = {00002041000020410000803F}
  56. end
  57. object GLCube3: TGLCube
  58. Position.Coordinates = {0000C0400000A040000080BF0000803F}
  59. BehavioursData = {
  60. 0458434F4C02010201060C54474C4E47445374617469630200060A4E47442053
  61. 746174696302000201060D474C4E47444D616E61676572310800080500000000
  62. 000AD7A3F83F1200000000}
  63. CubeSize = {0000803F0000204100002041}
  64. end
  65. object GLCube4: TGLCube
  66. Position.Coordinates = {0000C0C00000A040000080BF0000803F}
  67. BehavioursData = {
  68. 0458434F4C02010201060C54474C4E47445374617469630200060A4E47442053
  69. 746174696302000201060D474C4E47444D616E61676572310800080500000000
  70. 000AD7A3F83F1200000000}
  71. CubeSize = {0000803F0000204100002041}
  72. end
  73. end
  74. object GLCube1: TGLCube
  75. BehavioursData = {
  76. 0458434F4C02010201060D54474C4E474444796E616D69630200060B4E474420
  77. 44796E616D696302000201060D474C4E47444D616E6167657231080008050000
  78. 00000000000000001200000000020109050000000000CDCCCCFB3F0500000000
  79. 00000080FF3F0905000000000000000000000200080200080200090000000000
  80. 000000000000000000803F020008}
  81. end
  82. object GLSphere1: TGLSphere
  83. Position.Coordinates = {000000C000004040000000000000803F}
  84. Radius = 0.500000000000000000
  85. BehavioursData = {
  86. 0458434F4C02010201060D54474C4E474444796E616D69630200060B4E474420
  87. 44796E616D696302000201060D474C4E47444D616E6167657231080008050000
  88. 00000000000000001200000000020109050000000000CDCCCCFB3F0500000000
  89. 00000080FF3F0905000000000000000000000200080200080200090000000000
  90. 000000000000000000803F020008}
  91. end
  92. object GLLines1: TGLLines
  93. Pickable = False
  94. Nodes = <>
  95. NodesAspect = lnaInvisible
  96. SplineMode = lsmSegments
  97. Options = [loUseNodeColorForLines]
  98. end
  99. end
  100. object GLCadencer1: TGLCadencer
  101. Scene = GLScene1
  102. OnProgress = GLCadencer1Progress
  103. Left = 288
  104. end
  105. object GLNGDManager1: TGLNGDManager
  106. VisibleAtRunTime = True
  107. NewtonSurfaceItem = <>
  108. NewtonSurfacePair = <>
  109. DebugOption.NGDManagerDebugs = [mdShowAABB, mdShowJoint]
  110. Line = GLLines1
  111. NewtonJoint = <
  112. item
  113. KinematicControllerOptions.PickModeLinear = True
  114. KinematicControllerOptions.AngularFriction = 500.000000000000000000
  115. JointType = nj_KinematicController
  116. CollisionState = True
  117. end>
  118. Left = 470
  119. end
  120. end