Unit1.dfm 9.2 KB

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