fTreeC.dfm 11 KB

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