fTreeD.dfm 9.5 KB

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