fTreeC.dfm 8.8 KB

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