fTreeD.dfm 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566
  1. object FormTree: TFormTree
  2. Left = 192
  3. Top = 106
  4. Margins.Left = 5
  5. Margins.Top = 5
  6. Margins.Right = 5
  7. Margins.Bottom = 5
  8. Caption = 'Tree Editor'
  9. ClientHeight = 880
  10. ClientWidth = 1288
  11. Color = clBtnFace
  12. Font.Charset = DEFAULT_CHARSET
  13. Font.Color = clWindowText
  14. Font.Height = -19
  15. Font.Name = 'MS Sans Serif'
  16. Font.Style = []
  17. Menu = MainMenu1
  18. Position = poScreenCenter
  19. OnCreate = FormCreate
  20. PixelsPerInch = 168
  21. TextHeight = 24
  22. object GLSceneViewer1: TGLSceneViewer
  23. Left = 268
  24. Top = 0
  25. Width = 1020
  26. Height = 880
  27. Margins.Left = 5
  28. Margins.Top = 5
  29. Margins.Right = 5
  30. Margins.Bottom = 5
  31. Camera = GLCamera1
  32. FieldOfView = 167.033859252929700000
  33. PenAsTouch = False
  34. Align = alClient
  35. OnMouseDown = GLSceneViewer1MouseDown
  36. OnMouseMove = GLSceneViewer1MouseMove
  37. TabOrder = 0
  38. end
  39. object Panel1: TPanel
  40. Left = 0
  41. Top = 0
  42. Width = 268
  43. Height = 880
  44. Margins.Left = 5
  45. Margins.Top = 5
  46. Margins.Right = 5
  47. Margins.Bottom = 5
  48. Align = alLeft
  49. TabOrder = 1
  50. object Label1: TLabel
  51. Left = 14
  52. Top = 175
  53. Width = 108
  54. Height = 24
  55. Margins.Left = 5
  56. Margins.Top = 5
  57. Margins.Right = 5
  58. Margins.Bottom = 5
  59. Caption = 'Branch Twist'
  60. end
  61. object Label2: TLabel
  62. Left = 14
  63. Top = 42
  64. Width = 50
  65. Height = 24
  66. Margins.Left = 5
  67. Margins.Top = 5
  68. Margins.Right = 5
  69. Margins.Bottom = 5
  70. Caption = 'Depth'
  71. end
  72. object Label3: TLabel
  73. Left = 14
  74. Top = 242
  75. Width = 115
  76. Height = 24
  77. Margins.Left = 5
  78. Margins.Top = 5
  79. Margins.Right = 5
  80. Margins.Bottom = 5
  81. Caption = 'Branch Angle'
  82. end
  83. object Label4: TLabel
  84. Left = 14
  85. Top = 308
  86. Width = 155
  87. Height = 24
  88. Margins.Left = 5
  89. Margins.Top = 5
  90. Margins.Right = 5
  91. Margins.Bottom = 5
  92. Caption = 'Branch Angle Bias'
  93. end
  94. object Label5: TLabel
  95. Left = 14
  96. Top = 375
  97. Width = 101
  98. Height = 24
  99. Margins.Left = 5
  100. Margins.Top = 5
  101. Margins.Right = 5
  102. Margins.Bottom = 5
  103. Caption = 'Branch Size'
  104. end
  105. object Label6: TLabel
  106. Left = 14
  107. Top = 438
  108. Width = 123
  109. Height = 24
  110. Margins.Left = 5
  111. Margins.Top = 5
  112. Margins.Right = 5
  113. Margins.Bottom = 5
  114. Caption = 'Branch Radius'
  115. end
  116. object Label7: TLabel
  117. Left = 14
  118. Top = 630
  119. Width = 114
  120. Height = 24
  121. Margins.Left = 5
  122. Margins.Top = 5
  123. Margins.Right = 5
  124. Margins.Bottom = 5
  125. Caption = 'Branch Noise'
  126. end
  127. object Label8: TLabel
  128. Left = 14
  129. Top = 770
  130. Width = 76
  131. Height = 24
  132. Margins.Left = 5
  133. Margins.Top = 5
  134. Margins.Right = 5
  135. Margins.Bottom = 5
  136. Caption = 'Leaf Size'
  137. end
  138. object Label9: TLabel
  139. Left = 14
  140. Top = 840
  141. Width = 126
  142. Height = 24
  143. Margins.Left = 5
  144. Margins.Top = 5
  145. Margins.Right = 5
  146. Margins.Bottom = 5
  147. Caption = 'Leaf Threshold'
  148. end
  149. object Label10: TLabel
  150. Left = 14
  151. Top = 109
  152. Width = 121
  153. Height = 24
  154. Margins.Left = 5
  155. Margins.Top = 5
  156. Margins.Right = 5
  157. Margins.Bottom = 5
  158. Caption = 'Branch Facets'
  159. FocusControl = GLSceneViewer1
  160. end
  161. object Label11: TLabel
  162. Left = 25
  163. Top = 4
  164. Width = 197
  165. Height = 28
  166. Margins.Left = 5
  167. Margins.Top = 5
  168. Margins.Right = 5
  169. Margins.Bottom = 5
  170. Caption = 'Tree properties'
  171. Font.Charset = ANSI_CHARSET
  172. Font.Color = clWindowText
  173. Font.Height = -23
  174. Font.Name = 'Verdana'
  175. Font.Style = [fsBold]
  176. ParentFont = False
  177. end
  178. object Label12: TLabel
  179. Left = 14
  180. Top = 560
  181. Width = 122
  182. Height = 24
  183. Margins.Left = 5
  184. Margins.Top = 5
  185. Margins.Right = 5
  186. Margins.Bottom = 5
  187. Caption = 'Random Seed'
  188. end
  189. object Label13: TLabel
  190. Left = 14
  191. Top = 497
  192. Width = 199
  193. Height = 24
  194. Margins.Left = 5
  195. Margins.Top = 5
  196. Margins.Right = 5
  197. Margins.Bottom = 5
  198. Caption = 'Center Branch Constant'
  199. end
  200. object TrackBar1: TTrackBar
  201. Left = 14
  202. Top = 67
  203. Width = 240
  204. Height = 29
  205. Margins.Left = 5
  206. Margins.Top = 5
  207. Margins.Right = 5
  208. Margins.Bottom = 5
  209. Max = 11
  210. Position = 5
  211. TabOrder = 0
  212. ThumbLength = 18
  213. OnChange = TrackBar1Change
  214. end
  215. object TrackBar2: TTrackBar
  216. Left = 14
  217. Top = 200
  218. Width = 240
  219. Height = 29
  220. Margins.Left = 5
  221. Margins.Top = 5
  222. Margins.Right = 5
  223. Margins.Bottom = 5
  224. Max = 180
  225. Position = 45
  226. TabOrder = 1
  227. ThumbLength = 18
  228. TickStyle = tsManual
  229. OnChange = TrackBar2Change
  230. end
  231. object TrackBar3: TTrackBar
  232. Left = 14
  233. Top = 266
  234. Width = 240
  235. Height = 30
  236. Margins.Left = 5
  237. Margins.Top = 5
  238. Margins.Right = 5
  239. Margins.Bottom = 5
  240. Max = 100
  241. Position = 40
  242. TabOrder = 2
  243. ThumbLength = 18
  244. TickStyle = tsManual
  245. OnChange = TrackBar3Change
  246. end
  247. object TrackBar4: TTrackBar
  248. Left = 14
  249. Top = 333
  250. Width = 240
  251. Height = 29
  252. Margins.Left = 5
  253. Margins.Top = 5
  254. Margins.Right = 5
  255. Margins.Bottom = 5
  256. Max = 100
  257. Position = 60
  258. TabOrder = 3
  259. ThumbLength = 18
  260. TickStyle = tsManual
  261. OnChange = TrackBar4Change
  262. end
  263. object TrackBar5: TTrackBar
  264. Left = 14
  265. Top = 399
  266. Width = 240
  267. Height = 30
  268. Margins.Left = 5
  269. Margins.Top = 5
  270. Margins.Right = 5
  271. Margins.Bottom = 5
  272. Max = 100
  273. Position = 10
  274. TabOrder = 4
  275. ThumbLength = 18
  276. TickStyle = tsManual
  277. OnChange = TrackBar5Change
  278. end
  279. object TrackBar6: TTrackBar
  280. Left = 14
  281. Top = 462
  282. Width = 240
  283. Height = 30
  284. Margins.Left = 5
  285. Margins.Top = 5
  286. Margins.Right = 5
  287. Margins.Bottom = 5
  288. Max = 25
  289. Position = 3
  290. TabOrder = 5
  291. ThumbLength = 18
  292. TickStyle = tsManual
  293. OnChange = TrackBar6Change
  294. end
  295. object TrackBar7: TTrackBar
  296. Left = 14
  297. Top = 658
  298. Width = 240
  299. Height = 30
  300. Margins.Left = 5
  301. Margins.Top = 5
  302. Margins.Right = 5
  303. Margins.Bottom = 5
  304. Max = 100
  305. Position = 70
  306. TabOrder = 6
  307. ThumbLength = 18
  308. TickStyle = tsManual
  309. OnChange = TrackBar7Change
  310. end
  311. object TrackBar8: TTrackBar
  312. Left = 14
  313. Top = 798
  314. Width = 240
  315. Height = 30
  316. Margins.Left = 5
  317. Margins.Top = 5
  318. Margins.Right = 5
  319. Margins.Bottom = 5
  320. Max = 100
  321. Position = 20
  322. TabOrder = 7
  323. ThumbLength = 18
  324. TickStyle = tsManual
  325. OnChange = TrackBar8Change
  326. end
  327. object TrackBar9: TTrackBar
  328. Left = 14
  329. Top = 868
  330. Width = 240
  331. Height = 30
  332. Margins.Left = 5
  333. Margins.Top = 5
  334. Margins.Right = 5
  335. Margins.Bottom = 5
  336. Max = 100
  337. Position = 20
  338. TabOrder = 8
  339. ThumbLength = 18
  340. TickStyle = tsManual
  341. OnChange = TrackBar9Change
  342. end
  343. object TrackBar10: TTrackBar
  344. Left = 14
  345. Top = 133
  346. Width = 240
  347. Height = 30
  348. Margins.Left = 5
  349. Margins.Top = 5
  350. Margins.Right = 5
  351. Margins.Bottom = 5
  352. Min = 3
  353. Position = 6
  354. TabOrder = 9
  355. ThumbLength = 18
  356. OnChange = TrackBar10Change
  357. end
  358. object Edit1: TEdit
  359. Left = 14
  360. Top = 588
  361. Width = 184
  362. Height = 32
  363. Margins.Left = 5
  364. Margins.Top = 5
  365. Margins.Right = 5
  366. Margins.Bottom = 5
  367. TabOrder = 10
  368. end
  369. object Button1: TButton
  370. Left = 205
  371. Top = 588
  372. Width = 37
  373. Height = 37
  374. Margins.Left = 5
  375. Margins.Top = 5
  376. Margins.Right = 5
  377. Margins.Bottom = 5
  378. Caption = 'S'
  379. TabOrder = 11
  380. OnClick = Button1Click
  381. end
  382. object CheckBox1: TCheckBox
  383. Left = 14
  384. Top = 700
  385. Width = 170
  386. Height = 30
  387. Margins.Left = 5
  388. Margins.Top = 5
  389. Margins.Right = 5
  390. Margins.Bottom = 5
  391. Alignment = taLeftJustify
  392. Caption = 'Central Leader'
  393. TabOrder = 12
  394. OnClick = CheckBox1Click
  395. end
  396. object TrackBar11: TTrackBar
  397. Left = 14
  398. Top = 728
  399. Width = 240
  400. Height = 30
  401. Margins.Left = 5
  402. Margins.Top = 5
  403. Margins.Right = 5
  404. Margins.Bottom = 5
  405. Max = 100
  406. Position = 50
  407. TabOrder = 13
  408. ThumbLength = 18
  409. TickStyle = tsManual
  410. OnChange = TrackBar11Change
  411. end
  412. object TrackBar12: TTrackBar
  413. Left = 14
  414. Top = 522
  415. Width = 240
  416. Height = 29
  417. Margins.Left = 5
  418. Margins.Top = 5
  419. Margins.Right = 5
  420. Margins.Bottom = 5
  421. Max = 100
  422. Position = 50
  423. TabOrder = 14
  424. ThumbLength = 18
  425. TickStyle = tsManual
  426. OnChange = TrackBar12Change
  427. end
  428. end
  429. object GLScene1: TGLScene
  430. Left = 168
  431. Top = 8
  432. object GLDummyCube1: TGLDummyCube
  433. Position.Coordinates = {0000000000000000000020400000803F}
  434. CubeSize = 1.000000000000000000
  435. object GLCamera1: TGLCamera
  436. DepthOfView = 100.000000000000000000
  437. FocalLength = 50.000000000000000000
  438. TargetObject = GLDummyCube1
  439. Position.Coordinates = {000000000000A040000000000000803F}
  440. Direction.Coordinates = {00000000000080BF0000000000000000}
  441. Up.Coordinates = {00000000000000000000803F00000000}
  442. object GLLightSource1: TGLLightSource
  443. Ambient.Color = {0000003F0000003F0000003F0000803F}
  444. ConstAttenuation = 1.000000000000000000
  445. SpotCutOff = 180.000000000000000000
  446. end
  447. end
  448. end
  449. object GLFreeForm1: TGLFreeForm
  450. MaterialLibrary = GLMaterialLibrary1
  451. end
  452. object GLPlane1: TGLPlane
  453. Material.FrontProperties.Diffuse.Color = {000000000000003F000000000000803F}
  454. Height = 10.000000000000000000
  455. Width = 10.000000000000000000
  456. end
  457. end
  458. object GLMaterialLibrary1: TGLMaterialLibrary
  459. Materials = <
  460. item
  461. Name = 'LibMaterial'
  462. Tag = 0
  463. end>
  464. Left = 312
  465. Top = 8
  466. end
  467. object MainMenu1: TMainMenu
  468. Left = 416
  469. Top = 8
  470. object File1: TMenuItem
  471. Caption = '&File'
  472. object NewTree1: TMenuItem
  473. Caption = '&New Tree'
  474. OnClick = NewTree1Click
  475. end
  476. object LoadTree1: TMenuItem
  477. Caption = '&Load Tree ...'
  478. OnClick = LoadTree1Click
  479. end
  480. object SaveTree1: TMenuItem
  481. Caption = '&Save Tree ...'
  482. OnClick = SaveTree1Click
  483. end
  484. object N2: TMenuItem
  485. Caption = '-'
  486. end
  487. object ExportMesh1: TMenuItem
  488. Caption = 'Export &Mesh ...'
  489. OnClick = ExportMesh1Click
  490. end
  491. object ExportMaterialLibrary1: TMenuItem
  492. Caption = 'Export M&aterial Library ...'
  493. OnClick = ExportMaterialLibrary1Click
  494. end
  495. object N1: TMenuItem
  496. Caption = '-'
  497. end
  498. object Exit1: TMenuItem
  499. Caption = 'E&xit'
  500. OnClick = Exit1Click
  501. end
  502. end
  503. object Material1: TMenuItem
  504. Caption = 'Material'
  505. object LeafFrontTexture1: TMenuItem
  506. Caption = 'Leaf &Front Texture ...'
  507. OnClick = LeafFrontTexture1Click
  508. end
  509. object LeafBackTexture1: TMenuItem
  510. Caption = 'Leaf &Back Texture ...'
  511. OnClick = LeafBackTexture1Click
  512. end
  513. object BranchTexture1: TMenuItem
  514. Caption = 'B&ranch Texture ...'
  515. OnClick = BranchTexture1Click
  516. end
  517. end
  518. object miFPS: TMenuItem
  519. Caption = 'FPS'
  520. end
  521. end
  522. object OpenDialog1: TOpenDialog
  523. Filter = 'GLTree files (*.gltr)|*.gltr'
  524. FilterIndex = 0
  525. Left = 504
  526. Top = 8
  527. end
  528. object SaveDialog1: TSaveDialog
  529. Filter = 'GLTree files (*.gltr)|*.gltr'
  530. FilterIndex = 0
  531. Left = 416
  532. Top = 64
  533. end
  534. object SaveDialog2: TSaveDialog
  535. Filter = 'GLScene Mesh files (*.glsm)|*.glsm'
  536. FilterIndex = 0
  537. Title = 'Export Mesh'
  538. Left = 504
  539. Top = 64
  540. end
  541. object SaveDialog3: TSaveDialog
  542. Filter = 'GLScene Material Library files (*.glml)|*.glml'
  543. FilterIndex = 0
  544. Title = 'Export Material Library'
  545. Left = 504
  546. Top = 120
  547. end
  548. object OpenPictureDialog1: TOpenPictureDialog
  549. Left = 416
  550. Top = 120
  551. end
  552. object AsyncTimer1: TGLAsyncTimer
  553. Enabled = True
  554. OnTimer = AsyncTimer1Timer
  555. ThreadPriority = tpNormal
  556. Left = 232
  557. Top = 72
  558. end
  559. object GLCadencer1: TGLCadencer
  560. Scene = GLScene1
  561. Mode = cmApplicationIdle
  562. OnProgress = GLCadencer1Progress
  563. Left = 232
  564. Top = 8
  565. end
  566. end