fCameraControllerD.dfm 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791
  1. object Form1: TForm1
  2. Left = 138
  3. Top = 176
  4. Caption = 'Camera Controller'
  5. ClientHeight = 591
  6. ClientWidth = 1005
  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. OnClose = FormClose
  15. OnCreate = FormCreate
  16. OnMouseWheel = FormMouseWheel
  17. TextHeight = 13
  18. object Panel1: TPanel
  19. Left = 559
  20. Top = 0
  21. Width = 446
  22. Height = 556
  23. Align = alRight
  24. TabOrder = 0
  25. object Panel2: TPanel
  26. Left = 6
  27. Top = 9
  28. Width = 155
  29. Height = 201
  30. TabOrder = 0
  31. object Label1: TLabel
  32. Left = 6
  33. Top = 57
  34. Width = 63
  35. Height = 13
  36. Caption = 'Destination X'
  37. end
  38. object Label2: TLabel
  39. Left = 6
  40. Top = 105
  41. Width = 63
  42. Height = 13
  43. Caption = 'Destination Y'
  44. end
  45. object Label3: TLabel
  46. Left = 6
  47. Top = 153
  48. Width = 63
  49. Height = 13
  50. Caption = 'Destination Z'
  51. end
  52. object Label5: TLabel
  53. Left = 4
  54. Top = 2
  55. Width = 141
  56. Height = 47
  57. AutoSize = False
  58. Caption = 'Data for MoveToPos, OrbitToPos and SafeOrbitAndZoomToPos'
  59. Font.Charset = DEFAULT_CHARSET
  60. Font.Color = clWindowText
  61. Font.Height = -11
  62. Font.Name = 'Tahoma'
  63. Font.Style = [fsBold]
  64. ParentFont = False
  65. WordWrap = True
  66. end
  67. object eDestX: TEdit
  68. Left = 6
  69. Top = 72
  70. Width = 121
  71. Height = 21
  72. TabOrder = 0
  73. Text = '0'
  74. end
  75. object eDestY: TEdit
  76. Left = 6
  77. Top = 122
  78. Width = 121
  79. Height = 21
  80. TabOrder = 1
  81. Text = '5.79'
  82. end
  83. object eDestZ: TEdit
  84. Left = 6
  85. Top = 168
  86. Width = 121
  87. Height = 21
  88. TabOrder = 2
  89. Text = '-3.34'
  90. end
  91. end
  92. object Panel3: TPanel
  93. Left = 166
  94. Top = 241
  95. Width = 155
  96. Height = 72
  97. TabOrder = 1
  98. object Label6: TLabel
  99. Left = 6
  100. Top = 25
  101. Width = 41
  102. Height = 13
  103. Caption = 'Distance'
  104. end
  105. object Label9: TLabel
  106. Left = 4
  107. Top = 2
  108. Width = 129
  109. Height = 15
  110. AutoSize = False
  111. Caption = 'Data for ZoomToDistance'
  112. Font.Charset = DEFAULT_CHARSET
  113. Font.Color = clWindowText
  114. Font.Height = -11
  115. Font.Name = 'Tahoma'
  116. Font.Style = [fsBold]
  117. ParentFont = False
  118. WordWrap = True
  119. end
  120. object eDistance: TEdit
  121. Left = 6
  122. Top = 40
  123. Width = 121
  124. Height = 21
  125. TabOrder = 0
  126. Text = '4'
  127. end
  128. end
  129. object Panel4: TPanel
  130. Left = 166
  131. Top = 9
  132. Width = 155
  133. Height = 224
  134. TabOrder = 2
  135. object Label7: TLabel
  136. Left = 6
  137. Top = 41
  138. Width = 74
  139. Height = 13
  140. Caption = 'soSafeDistance'
  141. end
  142. object Label8: TLabel
  143. Left = 6
  144. Top = 137
  145. Width = 69
  146. Height = 13
  147. Caption = 'soTimeToOrbit'
  148. end
  149. object Label10: TLabel
  150. Left = 6
  151. Top = 89
  152. Width = 116
  153. Height = 13
  154. Caption = 'soTimeToSafePlacement'
  155. end
  156. object Label11: TLabel
  157. Left = 4
  158. Top = 2
  159. Width = 141
  160. Height = 31
  161. AutoSize = False
  162. Caption = 'Data for SafeOrbitAndZoomToPos'
  163. Font.Charset = DEFAULT_CHARSET
  164. Font.Color = clWindowText
  165. Font.Height = -11
  166. Font.Name = 'Tahoma'
  167. Font.Style = [fsBold]
  168. ParentFont = False
  169. WordWrap = True
  170. end
  171. object Label12: TLabel
  172. Left = 6
  173. Top = 177
  174. Width = 103
  175. Height = 13
  176. Caption = 'soTimeToZoomBackIn'
  177. end
  178. object eSafeDistance: TEdit
  179. Left = 6
  180. Top = 56
  181. Width = 121
  182. Height = 21
  183. TabOrder = 0
  184. Text = '9'
  185. end
  186. object eTimeToSafePlacement: TEdit
  187. Left = 6
  188. Top = 106
  189. Width = 121
  190. Height = 21
  191. TabOrder = 1
  192. Text = '1'
  193. end
  194. object eTimeToOrbit: TEdit
  195. Left = 6
  196. Top = 152
  197. Width = 121
  198. Height = 21
  199. TabOrder = 2
  200. Text = '2'
  201. end
  202. object eTimeToZoomBackIn: TEdit
  203. Left = 6
  204. Top = 192
  205. Width = 121
  206. Height = 21
  207. TabOrder = 3
  208. Text = '1'
  209. end
  210. end
  211. object Panel5: TPanel
  212. Left = 6
  213. Top = 217
  214. Width = 155
  215. Height = 96
  216. TabOrder = 3
  217. object Label13: TLabel
  218. Left = 6
  219. Top = 49
  220. Width = 22
  221. Height = 13
  222. Caption = 'Time'
  223. end
  224. object Label14: TLabel
  225. Left = 4
  226. Top = 2
  227. Width = 129
  228. Height = 47
  229. AutoSize = False
  230. Caption = 'Data for MoveToPos, OrbitToPos and ZoomToDistance'
  231. Font.Charset = DEFAULT_CHARSET
  232. Font.Color = clWindowText
  233. Font.Height = -11
  234. Font.Name = 'Tahoma'
  235. Font.Style = [fsBold]
  236. ParentFont = False
  237. WordWrap = True
  238. end
  239. object eTime: TEdit
  240. Left = 6
  241. Top = 64
  242. Width = 121
  243. Height = 21
  244. TabOrder = 0
  245. Text = '2'
  246. end
  247. end
  248. object btnMoveToPos: TButton
  249. Left = 25
  250. Top = 336
  251. Width = 224
  252. Height = 33
  253. Caption = 'MoveToPos (linear interpolation)'
  254. TabOrder = 4
  255. OnClick = btnMoveToPosClick
  256. end
  257. object btnZoomToDistance: TButton
  258. Left = 25
  259. Top = 375
  260. Width = 224
  261. Height = 34
  262. Caption = 'ZoomToDistance'
  263. TabOrder = 5
  264. OnClick = btnZoomToDistanceClick
  265. end
  266. object btnOrbitToPos: TButton
  267. Left = 25
  268. Top = 415
  269. Width = 224
  270. Height = 34
  271. Caption = 'OrbitToPos (will not zoom in to pos)'
  272. TabOrder = 6
  273. OnClick = btnOrbitToPosClick
  274. end
  275. object btnSafeOrbitAndZoomToPos: TButton
  276. Left = 25
  277. Top = 455
  278. Width = 224
  279. Height = 34
  280. Caption = 'SafeOrbitAndZoomToPos'
  281. Font.Charset = DEFAULT_CHARSET
  282. Font.Color = clWindowText
  283. Font.Height = -11
  284. Font.Name = 'Tahoma'
  285. Font.Style = []
  286. ParentFont = False
  287. TabOrder = 7
  288. OnClick = btnSafeOrbitAndZoomToPosClick
  289. end
  290. object btnOrbitToPosAdv: TButton
  291. Left = 255
  292. Top = 455
  293. Width = 186
  294. Height = 34
  295. Caption = 'OrbitToPosAdv (will not zoom in to pos)'
  296. TabOrder = 8
  297. WordWrap = True
  298. OnClick = btnOrbitToPosAdvClick
  299. end
  300. object Panel8: TPanel
  301. Left = 327
  302. Top = 9
  303. Width = 114
  304. Height = 320
  305. TabOrder = 9
  306. object Label20: TLabel
  307. Left = 4
  308. Top = 2
  309. Width = 44
  310. Height = 13
  311. Caption = 'Camera'
  312. Font.Charset = DEFAULT_CHARSET
  313. Font.Color = clWindowText
  314. Font.Height = -11
  315. Font.Name = 'Tahoma'
  316. Font.Style = [fsBold]
  317. ParentFont = False
  318. WordWrap = True
  319. end
  320. object Panel7: TPanel
  321. Left = 8
  322. Top = 19
  323. Width = 97
  324. Height = 118
  325. BevelOuter = bvLowered
  326. Caption = ' '
  327. TabOrder = 0
  328. object Label16: TLabel
  329. Left = 8
  330. Top = 34
  331. Width = 6
  332. Height = 13
  333. Caption = 'X'
  334. end
  335. object Label17: TLabel
  336. Left = 8
  337. Top = 61
  338. Width = 6
  339. Height = 13
  340. Caption = 'Y'
  341. end
  342. object Label18: TLabel
  343. Left = 8
  344. Top = 88
  345. Width = 6
  346. Height = 13
  347. Caption = 'Z'
  348. end
  349. object Label19: TLabel
  350. Left = 4
  351. Top = 2
  352. Width = 51
  353. Height = 13
  354. Caption = 'Direction'
  355. Font.Charset = DEFAULT_CHARSET
  356. Font.Color = clWindowText
  357. Font.Height = -11
  358. Font.Name = 'Tahoma'
  359. Font.Style = [fsBold]
  360. ParentFont = False
  361. WordWrap = True
  362. end
  363. object camDirX: TEdit
  364. Left = 20
  365. Top = 31
  366. Width = 68
  367. Height = 21
  368. TabOrder = 0
  369. Text = '0.0'
  370. end
  371. object camDirY: TEdit
  372. Left = 20
  373. Top = 58
  374. Width = 68
  375. Height = 21
  376. TabOrder = 1
  377. Text = '0.0'
  378. end
  379. object camDirZ: TEdit
  380. Left = 20
  381. Top = 85
  382. Width = 68
  383. Height = 21
  384. TabOrder = 2
  385. Text = '0.0'
  386. end
  387. end
  388. object Panel9: TPanel
  389. Left = 8
  390. Top = 143
  391. Width = 97
  392. Height = 118
  393. BevelOuter = bvLowered
  394. Caption = ' '
  395. TabOrder = 1
  396. object Label21: TLabel
  397. Left = 8
  398. Top = 34
  399. Width = 6
  400. Height = 13
  401. Caption = 'X'
  402. end
  403. object Label22: TLabel
  404. Left = 8
  405. Top = 61
  406. Width = 6
  407. Height = 13
  408. Caption = 'Y'
  409. end
  410. object Label23: TLabel
  411. Left = 8
  412. Top = 88
  413. Width = 6
  414. Height = 13
  415. Caption = 'Z'
  416. end
  417. object Label24: TLabel
  418. Left = 4
  419. Top = 2
  420. Width = 15
  421. Height = 13
  422. Caption = 'Up'
  423. Font.Charset = DEFAULT_CHARSET
  424. Font.Color = clWindowText
  425. Font.Height = -11
  426. Font.Name = 'Tahoma'
  427. Font.Style = [fsBold]
  428. ParentFont = False
  429. WordWrap = True
  430. end
  431. object camUpX: TEdit
  432. Left = 20
  433. Top = 31
  434. Width = 68
  435. Height = 21
  436. TabOrder = 0
  437. Text = '0.0'
  438. end
  439. object camUpY: TEdit
  440. Left = 20
  441. Top = 58
  442. Width = 68
  443. Height = 21
  444. TabOrder = 1
  445. Text = '0.0'
  446. end
  447. object camUpZ: TEdit
  448. Left = 20
  449. Top = 85
  450. Width = 68
  451. Height = 21
  452. TabOrder = 2
  453. Text = '0.0'
  454. end
  455. end
  456. object UpAxis: TCheckBox
  457. Left = 9
  458. Top = 271
  459. Width = 97
  460. Height = 17
  461. Caption = 'Prefer up axis'
  462. TabOrder = 2
  463. end
  464. object cbMoveParent: TCheckBox
  465. Left = 9
  466. Top = 295
  467. Width = 97
  468. Height = 17
  469. Caption = 'Move Parent'
  470. TabOrder = 3
  471. end
  472. end
  473. object btSmoothOrbit: TButton
  474. Left = 255
  475. Top = 375
  476. Width = 184
  477. Height = 34
  478. Caption = 'Smooth Orbit'
  479. Font.Charset = DEFAULT_CHARSET
  480. Font.Color = clWindowText
  481. Font.Height = -11
  482. Font.Name = 'Tahoma'
  483. Font.Style = []
  484. ParentFont = False
  485. TabOrder = 10
  486. OnClick = btSmoothOrbitClick
  487. end
  488. object btSmoothOrbitAndZoom: TButton
  489. Left = 255
  490. Top = 335
  491. Width = 184
  492. Height = 34
  493. Caption = 'Smooth OrbitToPos and Zoom'
  494. Font.Charset = DEFAULT_CHARSET
  495. Font.Color = clWindowText
  496. Font.Height = -11
  497. Font.Name = 'Tahoma'
  498. Font.Style = []
  499. ParentFont = False
  500. TabOrder = 12
  501. OnClick = btSmoothOrbitAndZoomClick
  502. end
  503. object btSmoothOrbitToPosAdv: TButton
  504. Left = 255
  505. Top = 415
  506. Width = 184
  507. Height = 34
  508. Caption = 'Smooth OrbitToPos'
  509. Font.Charset = DEFAULT_CHARSET
  510. Font.Color = clWindowText
  511. Font.Height = -11
  512. Font.Name = 'Tahoma'
  513. Font.Style = []
  514. ParentFont = False
  515. TabOrder = 11
  516. OnClick = btSmoothOrbitToPosAdvClick
  517. end
  518. end
  519. object GLSceneViewer1: TGLSceneViewer
  520. Left = 0
  521. Top = 0
  522. Width = 559
  523. Height = 556
  524. Camera = GLCamera
  525. VSync = vsmSync
  526. FieldOfView = 133.304656982421900000
  527. PenAsTouch = False
  528. Align = alClient
  529. OnMouseDown = GLSceneViewer1MouseDown
  530. OnMouseMove = GLSceneViewer1MouseMove
  531. OnMouseUp = GLSceneViewer1MouseUp
  532. TabOrder = 1
  533. end
  534. object pImg: TPanel
  535. Left = 4
  536. Top = 4
  537. Width = 157
  538. Height = 24
  539. BevelOuter = bvNone
  540. TabOrder = 2
  541. object Image1: TImage
  542. Left = 0
  543. Top = 0
  544. Width = 24
  545. Height = 24
  546. Picture.Data = {
  547. 07544269746D6170F6060000424DF60600000000000036000000280000001800
  548. 0000180000000100180000000000C0060000C30E0000C30E0000000000000000
  549. 000082C9F77FC8F786CBF78CCEF792D0F898D3F89FD6F8A5D8F9AADBF9B1DDFA
  550. B7E0FABCE3FBC2E5FBC7E7FBCDE9FCD2ECFCD7EEFCDCF0FDE1F3FDE6F5FDE9F7
  551. FEEDF8FEF2F9FEF5FBFE70C3F5C0C0C0C0C0C0C0C0C0C0C0C08BCDF792D0F898
  552. D3F89ED6F9A6D9F9ACDBFAB2DEFAB8E1FBBFE3FBC4E6FBCAE9FCCFEBFCD5EDFC
  553. 808080808080808080E8F6FEEDF7FEF2F9FE6DC1F60000000000000000000000
  554. 00C0C0C08CCEF891D0F899D3F89FD6F9A6D9F9ACDCFAB3DEFAB8E1FABFE3FBC4
  555. E6FBCAE9FC808080D5EDFCDAF0FDDFF2FD808080E8F6FEEEF8FE67BEF563BDF5
  556. 000000000000000000000000C0C0C0C0C0C092D0F798D3F89FD6F9A6D9F9ACDC
  557. FAB2DEFAB9E1FABFE4FB808080CAE8FCCFEBFCD5EDFCDAF0FDDFF2FD808080EA
  558. F7FE60BBF55EBAF464BDF56BC0F571C2F60000000000000000008CCEF792D1F8
  559. 98D3F89FD6F9A5D9F9ABDCFAB3DEFAB9E1FB808080C4E6FB8080808080808080
  560. 80DAEFFD808080E6F5FD5BB9F557B7F45EBAF464BDF56AC0F571C3F678C6F600
  561. 000085CBF78CCEF792D1F799D4F89FD6F9A6D9F9ACDCFAB3DEFA808080BFE3FB
  562. C4E6FBCAE9FCD0EAFCD5EDFC808080E2F3FD56B7F451B5F458B8F45EBAF564BD
  563. F56BC0F572C3F678C5F67EC8F785CBF78CCEF793D1F899D4F89FD6F9A6D9F9AC
  564. DCFAB2DEFA808080BFE4FBC4E6FBCAE9FC808080D6EEFCDDF1FD50B5F44AB2F3
  565. 51B5F457B7F400000064BDF56BC0F571C3F60000000000000000000000000000
  566. 00000000000000000000000000000000808080808080808080CAE9FCCFEBFCD8
  567. EFFC49B2F344B0F34BB2F352B5F400000000000064BDF5000000000000000000
  568. 000000000000000000000000000000000000000000000000000000B9E1FBBFE4
  569. FBC5E6FBCAE9FCD3ECFC45AFF33FADF346AFF34CB2F300000000000000000000
  570. 0000000000000000000000000000000000000000000000000000000000000000
  571. 000000B3DFFAB9E1FBBFE4FBC5E6FBCEE9FC3FADF339AAF240ADF346B0F30000
  572. 0000000000000000000000000000000000000000000000000000000000000000
  573. 0000000000000000000000ACDBFAB3DEFAB9E1FBBFE4FBC8E7FB3AABF234A8F2
  574. 39ABF23FADF20000000000000000000000000000000000000000000000000000
  575. 00000000000000000000000000000000000000A6D9F9ADDCFAB3DFFABAE1FBC4
  576. E6FB36A8F22EA6F134A8F23AAAF20000000000004CB2F3000000000000000000
  577. 000000000000000000000000000000000000000000000000000000A0D6F9A7D9
  578. F9ADDCFAB4DFFABEE3FB30A7F229A3F12FA6F134A9F200000040ADF346B0F34C
  579. B2F3000000000000000000000000000000000000000000000000000000000000
  580. 93D1F899D4F8A0D7F9A6D9F9ADDCFAB8E1FA2CA6F124A2F029A4F12FA6F134A8
  581. F23AABF240AEF245B0F34BB3F300000000000000000066BEF56CC0F500000000
  582. 000000000086CCF78DCEF894D1F89AD4F8A1D7F9A7DAF9B3DEFA28A3F11F9FF0
  583. 24A1F129A3F12FA5F134A9F239ABF240ADF20000000000000000000000000000
  584. 0000000000000000000000000000000086CCF78DCEF894D1F89AD4F9A1D7F9AC
  585. DBF924A1F11A9DF01FA0F0FFFFFFFFFFFFFFFFFF34A8F23AABF2000000000000
  586. 00000000000000000000000000000000000000000000000080C9F786CBF78DCE
  587. F893D1F89AD4F8A7D9F920A0F0169BF0FFFFFF1FA0F024A2F12AA3F1FFFFFF34
  588. A9F23AABF200000000000000000053B5F459B8F400000000000000000072C3F6
  589. 7AC6F6C0C0C0C0C0C08DCFF893D1F8A1D7F81C9DF0FFFFFF169CF01A9EF0FFFF
  590. FF24A2F129A4F1FFFFFF35A9F23BABF240ADF247B0F34DB3F352B5F459B8F460
  591. BBF566BEF56CC0F673C3F6000000000000C0C0C08DCFF89AD4F8189CF0FFFFFF
  592. 1299EFFFFFFFFFFFFFFFFFFF25A1F1FFFFFF2FA6F134A8F23AABF241AEF347B0
  593. F34CB2F352B5F459B8F45FBBF566BEF56DC1F673C3F6000000000000C0C0C094
  594. D1F8159BF0FFFFFF0E98EF129AEFFFFFFF1B9EF01FA0F0FFFFFF2AA4F12FA7F1
  595. 35A9F23BABF240AEF247B0F34DB3F353B6F459B8F460BBF466BEF56CC0F573C3
  596. F60000000000008ECFF71299EF0695EFFFFFFF0E99EF1299EF169CF0FFFFFF1F
  597. A0F025A1F12AA4F12FA6F134A8F23BABF241AEF347B0F34DB3F353B6F459B8F4
  598. 5FBBF566BDF56DC1F600000000000088CCF70C97EF0394EE0795EFFFFFFFFFFF
  599. FFFFFFFF169CF01B9DF0209FF025A1F12AA4F12FA7F135A9F23AABF240AEF347
  600. B0F34CB3F352B6F459B8F460BBF566BEF56DC1F500000080C8F61E9FF01098EF
  601. 129AEF159BF0189DF01C9EF020A1F024A1F128A3F12DA6F132A7F237A9F23BAB
  602. F241AEF346B0F34CB3F452B5F457B7F45DBAF563BCF569BFF66FC2F676C5F683
  603. CBF7}
  604. end
  605. object Label4: TLabel
  606. Left = 32
  607. Top = 6
  608. Width = 102
  609. Height = 13
  610. Caption = 'TGLCameraController'
  611. end
  612. end
  613. object Panel6: TPanel
  614. Left = 0
  615. Top = 556
  616. Width = 1005
  617. Height = 35
  618. Align = alBottom
  619. BevelOuter = bvNone
  620. TabOrder = 3
  621. object Label15: TLabel
  622. Left = 4
  623. Top = 6
  624. Width = 853
  625. Height = 31
  626. Alignment = taCenter
  627. AutoSize = False
  628. Caption =
  629. 'The main method, SafeOrbitAndZoomToPos, resambles the Google Ear' +
  630. 'th "Fly to..." motion. It was developed and used it to fly to di' +
  631. 'fferent views of a car (hood, trunk etc) in 3DCar(TM), which pro' +
  632. 'bably was/is the first interactive 3D car configurator, released' +
  633. ' by Bluemind Software.'
  634. Font.Charset = DEFAULT_CHARSET
  635. Font.Color = clWindowText
  636. Font.Height = -11
  637. Font.Name = 'Tahoma'
  638. Font.Style = []
  639. ParentFont = False
  640. WordWrap = True
  641. end
  642. end
  643. object GLScene1: TGLScene
  644. Left = 40
  645. Top = 32
  646. object dcMovingParent: TGLDummyCube
  647. CubeSize = 1.000000000000000000
  648. object GLCamera: TGLCamera
  649. DepthOfView = 500.000000000000000000
  650. FocalLength = 120.000000000000000000
  651. NearPlaneBias = 0.100000001490116100
  652. TargetObject = dcSphere
  653. Position.Coordinates = {0000204100002041000020410000803F}
  654. object GLLightSource1: TGLLightSource
  655. ConstAttenuation = 1.000000000000000000
  656. SpotCutOff = 180.000000000000000000
  657. end
  658. end
  659. object dcSphere: TGLDummyCube
  660. ObjectsSorting = osRenderBlendedLast
  661. ShowAxes = True
  662. CubeSize = 4.000000000000000000
  663. object GLSphere1: TGLSphere
  664. Material.MaterialLibrary = GLMaterialLibrary1
  665. Material.LibMaterialName = 'transparent blue'
  666. Radius = 2.000000000000000000
  667. Slices = 32
  668. Stacks = 32
  669. end
  670. object GLCylinder1: TGLCylinder
  671. Material.MaterialLibrary = GLMaterialLibrary1
  672. Material.LibMaterialName = 'opaque green'
  673. ObjectsSorting = osNone
  674. Direction.Coordinates = {00000000FFFFFF3ED7B35D3F00000000}
  675. PitchAngle = 30.000000000000000000
  676. Up.Coordinates = {00000000D7B35D3FFFFFFFBE00000000}
  677. BottomRadius = 0.200000002980232200
  678. Height = 4.199999809265137000
  679. TopRadius = 0.050000000745058060
  680. end
  681. object GLSphere2: TGLSphere
  682. Material.MaterialLibrary = GLMaterialLibrary1
  683. Material.LibMaterialName = 'opaque green'
  684. Position.Coordinates = {6666E63F00000000000000000000803F}
  685. Radius = 0.300000011920929000
  686. end
  687. object GLSphere3: TGLSphere
  688. Material.MaterialLibrary = GLMaterialLibrary1
  689. Material.LibMaterialName = 'opaque red'
  690. Position.Coordinates = {000000006666E63F000000000000803F}
  691. Radius = 0.300000011920929000
  692. end
  693. end
  694. end
  695. object dcDebugGUI: TGLDummyCube
  696. Scale.Coordinates = {0000003F0000003F0000003F00000000}
  697. CubeSize = 1.000000000000000000
  698. object ArrowLine: TGLArrowLine
  699. Direction.Coordinates = {000000000000803F0000000000000000}
  700. Position.Coordinates = {0000000000004843000000000000803F}
  701. Scale.Coordinates = {0000C0400000C0400000004100000000}
  702. Up.Coordinates = {00000000000000000000803F00000000}
  703. BottomRadius = 0.100000001490116100
  704. Height = 1.000000000000000000
  705. TopRadius = 0.100000001490116100
  706. TopArrowHeadHeight = 0.500000000000000000
  707. TopArrowHeadRadius = 0.200000002980232200
  708. BottomArrowHeadHeight = 0.500000000000000000
  709. BottomArrowHeadRadius = 0.200000002980232200
  710. end
  711. object XYZGrid: TGLXYZGrid
  712. Position.Coordinates = {000000000000F0C1000000000000803F}
  713. LineColor.Color = {E9E8683E8786063FD2D1513F0000803F}
  714. XSamplingScale.Min = -150.000000000000000000
  715. XSamplingScale.Max = 150.000000000000000000
  716. XSamplingScale.Step = 5.000000000000000000
  717. YSamplingScale.Step = 0.100000001490116100
  718. ZSamplingScale.Min = -150.000000000000000000
  719. ZSamplingScale.Max = 150.000000000000000000
  720. ZSamplingScale.Step = 5.000000000000000000
  721. Parts = [gpX, gpZ]
  722. end
  723. object GLPlane1: TGLPlane
  724. Material.FrontProperties.Ambient.Color = {FBFAFA3EBBBA3A3FEEED6D3F0000803F}
  725. Material.FrontProperties.Diffuse.Color = {CFCECE3ECDCC4C3FE7E6E63E0000803F}
  726. Material.FrontProperties.Emission.Color = {0000000000000000BBBABA3E0000803F}
  727. Direction.Coordinates = {000000800000803F0000000000000000}
  728. Position.Coordinates = {00000000CDCCF4C1000000000000803F}
  729. Scale.Coordinates = {00009643000096430000803F00000000}
  730. Up.Coordinates = {0000803F000000000000000000000000}
  731. Height = 1.000000000000000000
  732. Width = 1.000000000000000000
  733. end
  734. end
  735. end
  736. object GLMaterialLibrary1: TGLMaterialLibrary
  737. Materials = <
  738. item
  739. Name = 'transparent blue'
  740. Tag = 0
  741. Material.FrontProperties.Diffuse.Color = {FBFAFA3EF7F6F63E0000803F9A99193F}
  742. Material.BlendingMode = bmTransparency
  743. end
  744. item
  745. Name = 'opaque green'
  746. Tag = 0
  747. Material.FrontProperties.Diffuse.Color = {000000000000803FF3F2F23E0000803F}
  748. end
  749. item
  750. Name = 'opaque red'
  751. Tag = 0
  752. Material.FrontProperties.Ambient.Color = {0000803F0000803F0000803F0000803F}
  753. Material.FrontProperties.Diffuse.Color = {0000803F00000000000000000000803F}
  754. end>
  755. Left = 128
  756. Top = 32
  757. end
  758. object GLCadencer1: TGLCadencer
  759. Scene = GLScene1
  760. FixedDeltaTime = 0.010000000000000000
  761. SleepLength = 0
  762. OnProgress = GLCadencer1Progress
  763. Left = 40
  764. Top = 80
  765. end
  766. object Timer1: TTimer
  767. Interval = 100
  768. OnTimer = Timer1Timer
  769. Left = 224
  770. Top = 88
  771. end
  772. object GLCameraController1: TGLCameraController
  773. Camera = GLCamera
  774. CameraTarget = GLCamera
  775. soSafeDistance = 10.000000000000000000
  776. soTimeToSafePlacement = 1.000000000000000000
  777. soTimeToOrbit = 2.000000000000000000
  778. soTimeToZoomBackIn = 1.000000000000000000
  779. Left = 128
  780. Top = 80
  781. end
  782. object GLSmoothNavigator: TGLSmoothNavigator
  783. MoveAroundParams.Inertia = 0.500000000000000000
  784. MoveAroundParams.MaxAngle = 0.500000000000000000
  785. MoveAroundParams.PitchSpeed = 50.000000000000000000
  786. MoveAroundParams.TurnSpeed = 50.000000000000000000
  787. AdjustDistanceParams.Inertia = 1000.000000000000000000
  788. Left = 224
  789. Top = 32
  790. end
  791. end