fTreeC.dfm 8.8 KB

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