fCameraControllerC.dfm 22 KB

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