fObjmoveD.dfm 8.4 KB

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