fObjmoveC.dfm 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. object FormObjmove: TFormObjmove
  2. Left = 0
  3. Top = 0
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Moving Objects with Mouse'
  9. ClientHeight = 791
  10. ClientWidth = 1057
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'Tahoma'
  16. Font.Style = []
  17. Position = poScreenCenter
  18. OnCreate = FormCreate
  19. OnKeyPress = FormKeyPress
  20. OnKeyUp = FormKeyUp
  21. OnMouseWheel = FormMouseWheel
  22. PixelsPerInch = 168
  23. TextHeight = 23
  24. object Scene: TGLSceneViewer
  25. Left = 0
  26. Top = 0
  27. Width = 1057
  28. Height = 686
  29. Margins.Left = 5
  30. Margins.Top = 5
  31. Margins.Right = 5
  32. Margins.Bottom = 5
  33. Camera = GLCamera1
  34. Buffer.BackgroundColor = clBackground
  35. FieldOfView = 81.226181030273440000
  36. PenAsTouch = False
  37. Align = alClient
  38. OnMouseDown = SceneMouseDown
  39. OnMouseMove = SceneMouseMove
  40. TabOrder = 0
  41. end
  42. object Panel1: TPanel
  43. Left = 0
  44. Top = 686
  45. Width = 1057
  46. Height = 72
  47. Margins.Left = 5
  48. Margins.Top = 5
  49. Margins.Right = 5
  50. Margins.Bottom = 5
  51. Align = alBottom
  52. BevelOuter = bvNone
  53. TabOrder = 1
  54. object Button1: TButton
  55. Left = 1082
  56. Top = 14
  57. Width = 271
  58. Height = 44
  59. Margins.Left = 5
  60. Margins.Top = 5
  61. Margins.Right = 5
  62. Margins.Bottom = 5
  63. Caption = 'Near: (0,0) Eye -> Obj'
  64. TabOrder = 0
  65. end
  66. object GroupBox1: TGroupBox
  67. Left = 0
  68. Top = -3
  69. Width = 1057
  70. Height = 75
  71. Margins.Left = 5
  72. Margins.Top = 5
  73. Margins.Right = 5
  74. Margins.Bottom = 5
  75. Align = alBottom
  76. Caption = 'Options'
  77. TabOrder = 1
  78. object ShowAxes: TCheckBox
  79. Left = 9
  80. Top = 32
  81. Width = 254
  82. Height = 29
  83. Margins.Left = 5
  84. Margins.Top = 5
  85. Margins.Right = 5
  86. Margins.Bottom = 5
  87. Caption = 'Show selection axes'
  88. TabOrder = 0
  89. OnClick = ShowAxesClick
  90. end
  91. end
  92. end
  93. object StatusBar: TStatusBar
  94. Left = 0
  95. Top = 758
  96. Width = 1057
  97. Height = 33
  98. Margins.Left = 5
  99. Margins.Top = 5
  100. Margins.Right = 5
  101. Margins.Bottom = 5
  102. Panels = <
  103. item
  104. Text =
  105. 'Using mouse to move cubes by default on XY plane and Shift+Drag ' +
  106. 'moves on XZ plane'
  107. Width = 400
  108. end>
  109. end
  110. object GLScene1: TGLScene
  111. Left = 296
  112. Top = 8
  113. object Floor: TGLCube
  114. Material.FrontProperties.Diffuse.Color = {C5C4C43ECDCCCC3E8382023FE3A53B3F}
  115. Position.Coordinates = {00000000000000005C8F82BF0000803F}
  116. CubeSize = {00000040000000400AD7233C}
  117. end
  118. object TopLight1: TGLLightSource
  119. Ambient.Color = {0000003F0000003F0000003F0000803F}
  120. ConstAttenuation = 0.800000011920929000
  121. Diffuse.Color = {EAE9693FEAE9693FEAE9693F0000803F}
  122. Position.Coordinates = {0000804100005041000040410000803F}
  123. SpotCutOff = 180.000000000000000000
  124. end
  125. object Cube1: TGLCube
  126. Material.BackProperties.Diffuse.Color = {8382023F8584043FB1B0303F8195633F}
  127. Material.FrontProperties.Diffuse.Color = {8382023F8584043FB1B0303F6DE75B3F}
  128. Material.BlendingMode = bmTransparency
  129. Material.Texture.ImageAlpha = tiaAlphaFromIntensity
  130. Material.Texture.TextureMode = tmModulate
  131. Direction.Coordinates = {0000803F000000000000000000000000}
  132. Position.Coordinates = {CDCCCC3DCDCCCC3D666666BF0000803F}
  133. Scale.Coordinates = {CDCC4C3ECDCC4C3ECDCC4C3E00000000}
  134. end
  135. object Cube2: TGLCube
  136. Position.Coordinates = {CDCCCCBECDCCCC3E000000BF0000803F}
  137. CubeSize = {0000803E0000803E0000803E}
  138. end
  139. object DummyCube1: TGLDummyCube
  140. Position.Coordinates = {0000803F0000803F0000003F0000803F}
  141. CubeSize = 0.200000002980232200
  142. EdgeColor.Color = {DEDD5D3FDEDD5D3FE9E8683F0000803F}
  143. end
  144. object XArrow: TGLArrowLine
  145. Direction.Coordinates = {0000803F000000000000000000000000}
  146. Position.Coordinates = {CDCCCC3D000080BF000080BF0000803F}
  147. Up.Coordinates = {000000002EBD3BB30000803F00000000}
  148. BottomRadius = 0.009999999776482582
  149. Height = 2.200000047683716000
  150. TopRadius = 0.009999999776482582
  151. TopArrowHeadHeight = 0.200000002980232200
  152. TopArrowHeadRadius = 0.050000000745058060
  153. BottomArrowHeadHeight = 0.500000000000000000
  154. BottomArrowHeadRadius = 0.050000000745058060
  155. end
  156. object YArrow: TGLArrowLine
  157. Direction.Coordinates = {24DE4C320000803F2CBD3B3300000000}
  158. Position.Coordinates = {000080BFCDCCCC3D000080BF0000803F}
  159. Up.Coordinates = {2EBD3BB32CBD3BB30000803F00000000}
  160. BottomRadius = 0.009999999776482582
  161. Height = 2.200000047683716000
  162. TopRadius = 0.009999999776482582
  163. TopArrowHeadHeight = 0.200000002980232200
  164. TopArrowHeadRadius = 0.050000000745058060
  165. BottomArrowHeadHeight = 0.500000000000000000
  166. BottomArrowHeadRadius = 0.200000002980232200
  167. end
  168. object ZArrow: TGLArrowLine
  169. Position.Coordinates = {000080BF000080BF000000BF0000803F}
  170. BottomRadius = 0.009999999776482582
  171. Height = 1.000000000000000000
  172. TopRadius = 0.009999999776482582
  173. TopArrowHeadHeight = 0.200000002980232200
  174. TopArrowHeadRadius = 0.050000000745058060
  175. BottomArrowHeadHeight = 0.500000000000000000
  176. BottomArrowHeadRadius = 0.050000000745058060
  177. end
  178. object TxtX: TGLSpaceText
  179. Direction.Coordinates = {F30435BFF30435BF0000000000000000}
  180. Position.Coordinates = {CDCCCC3F000080BF000080BF0000803F}
  181. Scale.Coordinates = {9A99993E9A99993E9A99993E00000000}
  182. Up.Coordinates = {00000000000000000000803F00000000}
  183. Extrusion = 0.300000011920929000
  184. Font.Charset = DEFAULT_CHARSET
  185. Font.Color = clWindowText
  186. Font.Height = -11
  187. Font.Name = 'Arial'
  188. Font.Style = []
  189. Lines.Strings = (
  190. 'X')
  191. CharacterRange = stcrAlphaNum
  192. end
  193. object TxtY: TGLSpaceText
  194. Direction.Coordinates = {F40435BFF20435BF0000000000000000}
  195. Position.Coordinates = {000080BF9A99D93F000080BF0000803F}
  196. Scale.Coordinates = {9A99993E9A99993E9A99993E00000000}
  197. Up.Coordinates = {00000000000000000000803F00000000}
  198. Extrusion = 0.300000011920929000
  199. Font.Charset = DEFAULT_CHARSET
  200. Font.Color = clWindowText
  201. Font.Height = -11
  202. Font.Name = 'Arial'
  203. Font.Style = []
  204. Lines.Strings = (
  205. 'Y')
  206. CharacterRange = stcrAlphaNum
  207. end
  208. object TxtZ: TGLSpaceText
  209. Direction.Coordinates = {F304353FF304353F0000000000000000}
  210. Position.Coordinates = {9A99193ECDCCCCBD0000803F0000803F}
  211. Scale.Coordinates = {9A99993E9A99993E9A99993E00000000}
  212. Up.Coordinates = {00000080000000000000803F00000000}
  213. Extrusion = 0.200000002980232200
  214. Font.Charset = DEFAULT_CHARSET
  215. Font.Color = clWindowText
  216. Font.Height = -11
  217. Font.Name = 'Arial'
  218. Font.Style = []
  219. Lines.Strings = (
  220. 'Z')
  221. CharacterRange = stcrAlphaNum
  222. end
  223. object GLCamera1: TGLCamera
  224. DepthOfView = 1000.000000000000000000
  225. FocalLength = 400.000000000000000000
  226. NearPlaneBias = 0.001000000047497451
  227. TargetObject = DummyCube1
  228. Position.Coordinates = {0000B8410000A041000080410000803F}
  229. Direction.Coordinates = {2EF964BF2EF9E43E0000000000000000}
  230. Up.Coordinates = {00000000000000000000803F00000000}
  231. end
  232. object HUDText: TGLHUDText
  233. Position.Coordinates = {0000A0400000A040000000000000803F}
  234. BitmapFont = GLWindowsBitmapFont1
  235. Text = 'TopText'
  236. Rotation = 0.000000000000000000
  237. end
  238. object HUDTextObj: TGLHUDText
  239. Position.Coordinates = {0000C0400000A841000000000000803F}
  240. BitmapFont = GLWindowsBitmapFont1
  241. Text = 'ObjText'
  242. Rotation = 0.000000000000000000
  243. end
  244. end
  245. object GLWindowsBitmapFont1: TGLWindowsBitmapFont
  246. Font.Charset = DEFAULT_CHARSET
  247. Font.Color = clWhite
  248. Font.Height = -11
  249. Font.Name = 'Tahoma'
  250. Font.Style = []
  251. Left = 400
  252. Top = 8
  253. end
  254. end