fObjmoveD.dfm 8.0 KB

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